/* =========================================================
   VenturaX waitlist — demo page (demo.html).
   Requires base.css and shell.css.
   ========================================================= */

/* ---------- Backdrop: the night field, fixed behind the page ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  isolation: isolate;
}
.backdrop-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(5, 4, 14, 0.35), transparent 75%),
    linear-gradient(180deg, rgba(5, 4, 14, 0) 55%, rgba(5, 4, 14, 0.35));
}

main { position: relative; }

/* ---------- Welcome ---------- */

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(118px, 17vh, 170px) 16px 0;
  text-align: center;
}

.on-list {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(185, 164, 255, 0.3);
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.14);
  font-size: 13.5px;
  font-weight: 500;
  color: #e4dcff;
  animation: rise 0.9s 0.1s var(--ease-out) both;
}
.on-list-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9d7bff, #6236f0);
}
.on-list-check svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-title {
  margin-top: 20px;
  font-size: clamp(30px, 5.2vw, 72px);
  animation: rise 1.1s 0.2s var(--ease-out) both;
}

.intro-lede {
  max-width: 500px;
  margin-top: 18px;
  font-size: 15.5px;
  animation: rise 1.1s 0.35s var(--ease-out) both;
}
.intro-lede b { color: #fff; font-weight: 600; }

/* ---------- Tour ---------- */

.tour {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 44px 16px 0;
  animation: rise 1.1s 0.5s var(--ease-out) both;
}

.view-as {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.view-as-options {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 10, 30, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.view-as-options button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background-color 0.25s;
}
.view-as-options button:hover { color: #fff; }
.view-as-options button[aria-checked="true"] {
  background: #fff;
  color: #0d0a22;
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  margin-top: 40px;
}

/* Steps */

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  width: 100%;
  padding: 18px 22px 20px 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 22px;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.step:hover { background: rgba(255, 255, 255, 0.03); }
.step[aria-selected="true"] {
  border-color: var(--line);
  background: rgba(14, 11, 34, 0.66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step-num {
  padding-top: 3px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(185, 164, 255, 0.5);
  transition: color 0.3s;
}
.step[aria-selected="true"] .step-num { color: var(--lav); }

.step-body b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  text-shadow: 0 1px 14px rgba(5, 4, 14, 0.9);
  transition: color 0.3s;
}
.step:hover .step-body b,
.step[aria-selected="true"] .step-body b { color: #fff; }

/* The description opens under the active step */
.step-desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.step-desc > span {
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.step[aria-selected="true"] .step-desc { grid-template-rows: 1fr; }
.step[aria-selected="true"] .step-desc > span { padding-top: 8px; }

/* Auto-advance progress (the bar's animation ending moves the tour on) */
.step-bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 9px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.step-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #7c4dff, #b9a4ff);
  transform: scaleX(0);
  transform-origin: left;
}
.tour.is-auto .step[aria-selected="true"] .step-bar { opacity: 1; }
.tour.is-auto .step[aria-selected="true"] .step-bar i { animation: step-fill var(--step-time, 7s) linear forwards; }
.tour.is-paused .step-bar i { animation-play-state: paused !important; }
.motion-off .tour .step-bar { display: none; }
@keyframes step-fill {
  to { transform: scaleX(1); }
}

/* ---------- Phone ---------- */

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  position: relative;
  width: 310px;
  height: 640px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 48px;
  background: linear-gradient(160deg, #2b2650, #110e26 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 40px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 140px -20px rgba(124, 77, 255, 0.6);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: #08071a;
  font-size: 12px;
}
.phone svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.phone-caption {
  max-width: 300px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-muted);
}

.status {
  position: relative;
  z-index: 3;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 6px;
  font-size: 12px;
  font-weight: 600;
}
.island {
  width: 86px;
  height: 25px;
  border-radius: 999px;
  background: #000;
}
.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.signal i {
  width: 3px;
  border-radius: 1px;
  background: #fff;
}
.signal i:nth-child(1) { height: 4px; }
.signal i:nth-child(2) { height: 6px; }
.signal i:nth-child(3) { height: 8px; }
.signal i:nth-child(4) { height: 10px; }

.screens {
  position: relative;
  flex: 1;
  min-height: 0;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out), visibility 0s 0.45s;
}
.screen.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out), visibility 0s;
}

.app-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  color: var(--ink-soft);
}
.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #fff;
}
.bell { position: relative; display: inline-flex; }
.bell i {
  position: absolute;
  top: 0;
  right: 1px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #08071a;
  border-radius: 50%;
  background: var(--danger);
}
.screen-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.sample-tag {
  padding: 3px 8px;
  border: 1px dashed rgba(185, 164, 255, 0.45);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--lav);
}

.pills {
  display: flex;
  flex: none;
  gap: 6px;
  padding: 4px 16px 10px;
}
.pills span {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
}
.pills .is-on { background: rgba(255, 255, 255, 0.1); color: #fff; }

.av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(145deg, #ffb38a, #e0607e);
}

.bar {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.bar span {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4dff, #b9a4ff);
}

/* 1. Feed */

.feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px 14px;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }

.post + .post {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.who { min-width: 0; }
.who b { display: block; font-size: 13px; font-weight: 600; }
.who small { font-size: 11px; color: var(--ink-muted); }
.dots {
  display: inline-flex;
  gap: 3px;
  margin-left: auto;
}
.dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-muted);
}

.post-media {
  position: relative;
  height: 186px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #3b2f55, #a5776a);
  cursor: pointer;
  user-select: none;
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.burst {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.phone .burst svg {
  width: 72px;
  height: 72px;
  fill: #fff;
  stroke: none;
  filter: drop-shadow(0 6px 20px rgba(255, 92, 138, 0.8));
}
.burst.is-on { animation: burst 0.8s var(--ease-out); }
@keyframes burst {
  0% { opacity: 0; transform: scale(0.4); }
  25% { opacity: 1; transform: scale(1.1); }
  60% { opacity: 1; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1); }
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 2px 2px;
  color: #fff;
}
.post-actions svg { width: 21px; height: 21px; }
.post-actions .save { margin-left: auto; }
.like svg,
.save svg { transition: transform 0.25s var(--ease-out), fill 0.2s, stroke 0.2s; }
.like:active svg { transform: scale(0.85); }
.like[aria-pressed="true"] svg {
  fill: #ff5c8a;
  stroke: #ff5c8a;
  animation: pop-heart 0.35s var(--ease-out);
}
.save[aria-pressed="true"] svg { fill: #fff; }
@keyframes pop-heart {
  50% { transform: scale(1.25); }
}

.likes {
  margin-top: 4px;
  font-size: 12px;
}
.likes b { font-weight: 600; }
.caption {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.caption b { color: #fff; font-weight: 600; }
.caption span { color: var(--lav); }

.raise-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.raise-chip span { display: inline-flex; align-items: center; gap: 6px; }
.raise-chip svg { width: 15px; height: 15px; color: var(--lav); }
.raise-chip em { font-style: normal; font-weight: 500; color: var(--lav); }

/* 2. Reel */

.screen-reel { color: #fff; }
.reel-media {
  position: absolute;
  inset: -40px 0 0;
  overflow: hidden;
  background: #1a1430;
}
.reel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-reel.is-active .reel-media img { animation: ken-burns 14s ease-out both; }
@keyframes ken-burns {
  from { transform: scale(1.14) translateY(8px); }
}
.reel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 14, 0.55), transparent 22%),
    linear-gradient(0deg, rgba(5, 4, 14, 0.95) 6%, rgba(5, 4, 14, 0.6) 34%, transparent 58%);
}

.reel-top {
  position: relative;
  padding: 2px 14px 0;
}
.reel-segs {
  display: flex;
  gap: 4px;
}
.reel-segs i {
  flex: 1;
  height: 2.5px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}
.reel-segs b {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.screen-reel.is-active .reel-segs .is-playing b { animation: step-fill 8s linear forwards; }
.reel-title {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

.reel-rail {
  position: absolute;
  right: 10px;
  bottom: 186px;
  display: grid;
  justify-items: center;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.reel-rail > * {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #fff;
  font: inherit;
}
.reel-rail svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.reel-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 14px 14px;
}
.reel-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.reel-who .av { width: 30px; height: 30px; border: 1.5px solid #fff; }
.follow {
  padding: 4px 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 8px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.follow[aria-pressed="true"] {
  border-color: transparent !important;
  background: rgba(255, 255, 255, 0.18) !important;
}
.reel-info > p {
  max-width: 220px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}
.reel-raise {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
}
.reel-raise em { font-style: normal; color: var(--lav); }
.invest-btn {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0d0a22;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
}
.invest-btn:hover { box-shadow: 0 10px 30px -10px rgba(185, 164, 255, 0.9); }
.invest-btn:active { transform: scale(0.98); }

.invest-sent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(126, 224, 181, 0.35);
  border-radius: 14px;
  background: rgba(126, 224, 181, 0.12);
  font-size: 11.5px;
  line-height: 1.4;
  animation: rise 0.4s var(--ease-out);
}
.invest-sent svg { width: 16px; height: 16px; color: var(--success); stroke-width: 2.4; }

.invest-sheet {
  position: absolute;
  z-index: 4;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  gap: 10px;
  padding: 16px 14px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(16, 13, 40, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, 0.7);
  animation: sheet-up 0.4s var(--ease-out);
}
@keyframes sheet-up {
  from { opacity: 0; transform: translateY(30px); }
}
.invest-sheet b { font-size: 14px; }
.invest-sheet p {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.amounts button {
  height: 36px;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}
.amounts button[aria-checked="true"] {
  border-color: var(--lav) !important;
  background: rgba(124, 77, 255, 0.25) !important;
}
.invest-send {
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9d7bff, #6236f0) !important;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.invest-cancel {
  height: 28px;
  color: var(--ink-muted);
  font-size: 12px;
}

/* 3. Group chat */

.chat-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
}
.chev { width: 18px !important; height: 18px !important; color: var(--ink-muted); }
.stack { display: inline-flex; }
.stack img {
  width: 26px;
  height: 26px;
  border: 2px solid #08071a;
  border-radius: 50%;
  object-fit: cover;
  background: #2b2650;
}
.stack img + img { margin-left: -9px; }
.chat-title b { display: block; font-size: 13px; }
.chat-title small { font-size: 11px; color: var(--ink-muted); }

.chat-log {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  padding: 4px 12px 10px;
  overflow-y: auto;
  scrollbar-width: none;
}
.chat-log::-webkit-scrollbar { display: none; }
.chat-day {
  align-self: center;
  margin-bottom: 2px;
  font-size: 10.5px;
  color: var(--ink-muted);
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  max-width: 88%;
  animation: msg-in 0.35s var(--ease-out);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
}
.msg img {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #2b2650;
}
.bubble {
  padding: 7px 10px 8px;
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.4;
}
.bubble small {
  display: block;
  margin-bottom: 1px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--lav);
}
.msg.me {
  align-self: flex-end;
}
.msg.me .bubble {
  border-radius: 15px 15px 5px 15px;
  background: linear-gradient(135deg, #8b5cf6, #6236f0);
}
.typing {
  display: inline-flex;
  gap: 3px;
  padding: 11px 12px;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: typing 1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-compose {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin: 0 10px 10px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}
.chat-compose:focus-within { border-color: rgba(185, 164, 255, 0.6); }
.chat-compose input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  background: none;
  outline: none;
  font-size: 12px;
}
.chat-compose input::placeholder { color: var(--ink-muted); }
.chat-compose button {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #9d7bff, #6236f0) !important;
  color: #fff;
}
.chat-compose button svg { width: 15px; height: 15px; }

/* 4. Investments and Your raise */

.screen-money {
  overflow-y: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.screen-money::-webkit-scrollbar { display: none; }

.pf-card,
.raise-card {
  flex: none;
  margin: 4px 14px 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(124, 77, 255, 0.28), transparent 70%),
    rgba(255, 255, 255, 0.04);
}
.pf-card small,
.raise-copy small {
  font-size: 11px;
  color: var(--ink-muted);
}
.pf-card strong {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pf-change {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--success);
}
.phone .pf-chart {
  display: block;
  width: 100%;
  height: 84px;
  margin-top: 8px;
}
.pf-line {
  fill: none;
  stroke: #b9a4ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pf-area { stroke: none; }
.screen-money.is-active .pf-line {
  stroke-dasharray: var(--len, 400);
  animation: draw-line 1.4s 0.2s var(--ease-out) both;
}
.screen-money.is-active .pf-area { animation: fade-in 1s 0.7s ease both; }
@keyframes draw-line {
  from { stroke-dashoffset: var(--len, 400); }
  to { stroke-dashoffset: 0; }
}
@keyframes fade-in {
  from { opacity: 0; }
}
.pf-months {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--ink-muted);
}

.list-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 16px 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--violet);
  font-size: 10.5px;
  letter-spacing: 0;
  color: #fff;
}

.holdings,
.requests {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 0 8px;
  padding: 0;
  list-style: none;
}
.holdings li,
.requests li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 14px;
  transition: opacity 0.3s, background-color 0.3s;
}
.holdings li:hover { background: rgba(255, 255, 255, 0.04); }
.holdings img,
.requests img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #2b2650;
}
.requests img { border-radius: 50%; }
.h-name,
.r-name {
  flex: 1;
  min-width: 0;
}
.h-name b,
.r-name b { display: block; font-size: 12.5px; font-weight: 600; }
.h-name small,
.r-name small {
  display: block;
  overflow: hidden;
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-muted);
}
.h-val { text-align: right; }
.h-val b { display: block; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.h-val small { font-size: 10.5px; font-weight: 600; }
.up { color: var(--success); }
.down { color: var(--danger); }

.update {
  display: flex;
  gap: 9px;
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(124, 77, 255, 0.12);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.update b { display: block; color: #fff; }
.update-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--lav);
  box-shadow: 0 0 0 3px rgba(185, 164, 255, 0.2);
}

.raise-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}
.phone .ring {
  width: 74px;
  height: 74px;
  transform: rotate(-90deg);
}
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; }
.ring-fill {
  fill: none;
  stroke: #9d7bff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 207.3;
  stroke-dashoffset: calc(207.3 * (1 - var(--p)));
}
.screen-money.is-active .ring-fill { animation: ring-in 1.3s 0.2s var(--ease-out) both; }
@keyframes ring-in {
  from { stroke-dashoffset: 207.3; }
}
.ring-pct {
  position: absolute;
  left: 14px;
  width: 74px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.raise-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.raise-copy strong span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}
.raise-meta { font-size: 11px; color: var(--ink-soft); }

.r-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.r-yes {
  height: 28px;
  padding: 0 11px !important;
  border-radius: 999px;
  background: #fff !important;
  color: #0d0a22;
  font-size: 11.5px;
  font-weight: 600;
}
.r-yes:disabled { opacity: 0.35; cursor: not-allowed; }
.r-no {
  display: grid !important;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line) !important;
  border-radius: 50%;
  color: var(--ink-muted);
}
.r-no svg { width: 14px; height: 14px; }
.r-done {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.r-done.is-yes { color: var(--success); }
.r-done.is-no { color: var(--ink-muted); }
.requests li.is-declined { opacity: 0.5; }

.seats {
  margin: 10px 16px 0;
  font-size: 11px;
  color: var(--ink-muted);
}
.seats.is-full { color: var(--lav); }

/* Tab bar */

.tabbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  padding: 10px 10px 16px;
  border-top: 1px solid var(--line);
  background: #08071a;
  color: var(--ink-muted);
}
.tabbar button {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 10px;
  color: inherit;
  transition: color 0.2s;
}
.tabbar button:hover { color: #fff; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar .is-on { color: #fff; }
.tab-me .avatar {
  width: 24px;
  height: 24px;
  font-size: 10.5px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

/* ---------- Help shape VenturaX: a comment section for everyone on the list ---------- */

.talk {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 110px 16px 0;
}
.talk-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}
.talk-lede {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-soft);
}

/* The outlined box: header, writing a comment, then the comments, all inside one border */
.talk-box {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(185, 164, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(124, 77, 255, 0.14), transparent 70%),
    rgba(12, 10, 30, 0.76);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 4px rgba(124, 77, 255, 0.06),
    0 30px 80px -40px rgba(124, 77, 255, 0.55);
}

.talk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.talk-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.talk-count {
  min-width: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.25);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #ddd3ff;
}
.talk-count:empty { display: none; }
.talk-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.talk-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* Writing a comment */
.composer {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.composer-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.composer-row .avatar {
  flex: none;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  font-size: 15px;
}
.comment-box {
  position: relative;
  flex: 1;
  min-width: 0;
}
.comment-box textarea,
.reply-form textarea {
  display: block;
  width: 100%;
  min-height: 96px;
  padding: 14px 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.comment-box textarea::placeholder,
.reply-form textarea::placeholder { color: rgba(149, 146, 189, 0.85); }
.comment-box textarea:hover,
.reply-form textarea:hover { border-color: rgba(255, 255, 255, 0.2); }
.comment-box textarea:focus,
.reply-form textarea:focus {
  border-color: var(--lav);
  background: rgba(124, 77, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.22);
}
.comment-box.is-invalid textarea { border-color: var(--danger); }
.comment-count {
  position: absolute;
  right: 14px;
  bottom: 9px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  pointer-events: none;
}
.comment-count.is-near { color: var(--peach); }

.comment-error {
  margin: 8px 0 0 54px;
  font-size: 13px;
  color: var(--danger);
}
.comment-error:empty { display: none; }

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0 54px;
}
.tag-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.tag-pick svg,
.tag-badge svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--lav);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tag-pick:hover { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.tag-pick[aria-pressed="true"] {
  border-color: var(--lav);
  background: rgba(124, 77, 255, 0.25);
  color: #fff;
}

.post-btn,
.reply-send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0d0a22;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, opacity 0.2s;
}
.post-btn:hover,
.reply-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -10px rgba(185, 164, 255, 0.9);
}
.post-btn:disabled,
.reply-send:disabled { opacity: 0.6; cursor: progress; transform: none; }
.post-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer-note {
  margin: 12px 0 0 54px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.talk-status {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(124, 77, 255, 0.08);
  font-size: 13.5px;
  text-align: center;
  color: var(--ink-soft);
}
.talk-status:empty { display: none; }
.talk-status.is-error { color: var(--danger); }
.talk-status a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The conversation: scrolls inside the box once it's longer than the screen */
.talk-scroll {
  /* Tall enough for a good read, short enough that the whole box fits on screen */
  max-height: max(300px, min(560px, calc(100vh - 340px)));
  padding: 0 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 164, 255, 0.35) transparent;
}
.talk-scroll:focus-visible {
  outline: 2px solid var(--lav);
  outline-offset: -2px;
  border-radius: 0 0 26px 26px;
}
.threads {
  margin: 0;
  padding: 0;
  list-style: none;
}
.thread {
  padding: 18px 0;
  animation: rise 0.45s var(--ease-out);
}
.thread + .thread { border-top: 1px solid var(--line); }

.comment {
  display: flex;
  gap: 12px;
}
.comment > .avatar {
  flex: none;
  width: 36px;
  height: 36px;
  font-size: 14px;
  box-shadow: none;
}
.comment > .avatar.is-investor { background: linear-gradient(140deg, #8fb0ff, #7c4dff 55%, #4b2bd0); }
.comment > .avatar.is-gone { background: rgba(255, 255, 255, 0.08); }
.comment-main {
  flex: 1;
  min-width: 0;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.comment-head b {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.you-badge { font-weight: 600; color: var(--lav); }
.role-badge {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px 2px 7px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.2);
  font-size: 11.5px;
  font-weight: 600;
  color: #ddd3ff;
}
.tag-badge svg { width: 13px; height: 13px; }
.comment-head time::before {
  content: "·";
  margin-right: 8px;
}
.comment-text {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.comment.is-deleted .comment-text {
  font-style: italic;
  color: var(--ink-muted);
}

/* Reply on every comment; Delete on your own ideas and replies */
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 0 -8px;
}
.comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.comment-actions button svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comment-actions button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.comment-actions [data-action="delete"]:hover {
  color: var(--danger);
  background: rgba(255, 122, 154, 0.1);
}
.comment-actions .is-confirming,
.comment-actions .is-confirming:hover {
  color: #fff;
  background: rgba(255, 122, 154, 0.28);
}
.comment-actions button:disabled { opacity: 0.6; cursor: progress; }

/* Replies sit under the comment, one level deep */
.replies {
  display: grid;
  gap: 14px;
  margin: 14px 0 0 48px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--line);
  list-style: none;
}
.replies:empty { display: none; }
.replies .comment > .avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.reply-form { margin: 12px 0 0 48px; }
.reply-form textarea { min-height: 72px; padding-bottom: 14px; }
.reply-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.reply-error {
  flex: 1;
  font-size: 13px;
  color: var(--danger);
}
.reply-cancel {
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}
.reply-cancel:hover { color: #fff; }
.reply-send { height: 38px; padding: 0 16px; font-size: 13.5px; }

.threads-empty {
  padding: 34px 0;
  font-size: 14px;
  text-align: center;
  color: var(--ink-muted);
}
.older-btn {
  display: block;
  margin: 4px auto 18px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.older-btn:hover { color: #fff; border-color: var(--line-strong); }

/* ---------- What happens next ---------- */

.next {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 110px 16px 0;
}
.next-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.next-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 10, 30, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.next-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8f6bff, #4b2bd0);
}
.next-icon svg,
.copy-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.next-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
}
.next-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.next-card p b { color: #fff; font-weight: 600; word-break: break-word; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.next-card p + .copy-btn { margin-top: 16px; }
.copy-btn svg { width: 17px; height: 17px; }
.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  width: min(1080px, calc(100% - 32px));
  margin: 90px auto 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 7, 22, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 13px;
  color: var(--ink-muted);
}
.foot-brand { font-size: 16px; }
.foot p { flex: 1; min-width: 220px; line-height: 1.5; }
.foot-logout {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.foot-logout:hover { color: #fff; border-color: var(--line-strong); }

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phone-stage { order: -1; }
  .steps { max-width: 560px; margin: 0 auto; width: 100%; }
  .next-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .next,
  .talk { padding-top: 80px; }
}

@media (max-width: 480px) {
  .intro { padding-top: 112px; }
  .intro-title { font-size: clamp(26px, 8.4vw, 36px); }
  .intro-lede { font-size: 14.5px; }
  .tour { padding-top: 32px; }
  .phone { width: 296px; height: 612px; }
  .step { padding: 14px 16px 18px 12px; grid-template-columns: 28px 1fr; gap: 10px; }
  .step-body b { font-size: 16px; }
  .step-bar { left: 16px; right: 16px; }
  .talk-box { border-radius: 24px; }
  .talk-head { padding: 14px 16px; }
  .composer { padding: 16px; }
  .talk-status { padding: 10px 16px; }
  .talk-scroll { padding: 0 16px; max-height: max(280px, min(520px, calc(100vh - 400px))); }
  .composer-row .avatar { display: none; }
  .composer-actions,
  .composer-note,
  .comment-error { margin-left: 0; }
  .post-btn { width: 100%; justify-content: center; }
  .thread { padding: 16px 0; }
  .replies { margin-left: 12px; padding-left: 12px; }
  .reply-form { margin-left: 0; }
}
