/* Marketing-page sections (home, venues, contact, 404). Requires styles.css. */

/* ---------- Section scaffolding ---------- */

.section {
  position: relative;
  padding: 104px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.h-display,
.section h2 {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.section h2 {
  font-size: clamp(38px, 5.4vw, 64px);
}

.h-display,
.section h2,
.step h3 {
  text-wrap: balance;
}

.lede {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(244, 240, 232, 0.055), rgba(244, 240, 232, 0.015));
}

/* ---------- Hero ---------- */

.hero {
  padding: 152px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px);
}

.hero h1 .accent {
  letter-spacing: -0.01em;
}

.hero .lede {
  max-width: 540px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 14px;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

/* Soft halo behind the phones */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 220, 111, 0.35), transparent 65%);
  filter: blur(30px);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 128px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
}

/* ---------- Phone mockup ---------- */

.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 1206 / 2622;
  padding: 9px;
  border-radius: 50px;
  background: linear-gradient(145deg, #2a2d2b, #0c0d0c 40%, #1b1d1c);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(61, 220, 111, 0.5);
}

.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #000;
}

.phone .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}

/* Dynamic Island */
.phone .screen::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 31%;
  height: 26px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.hero-visual .phone-front {
  z-index: 2;
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}

.hero-visual .phone-back {
  position: absolute;
  z-index: 1;
  width: 250px;
  transform: translate(140px, 30px) rotate(8deg);
  opacity: 0.55;
  filter: saturate(0.8) brightness(0.8);
}

@keyframes float {
  50% { transform: rotate(-3deg) translateY(-12px); }
}

/* Floating glass status cards around the hero phone */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(16, 22, 18, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

.float-card strong {
  display: block;
  font-size: 15px;
}

/* Caption only; avatar and check-badge spans keep their dark ink */
.float-card strong + span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.float-card.one {
  top: 31%;
  left: -4%;
}

.float-card.two {
  bottom: 14%;
  right: -4%;
}

.check-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--grad);
  color: #04140a;
}

.check-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-progress {
  width: 150px;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-2);
}

.mini-progress i {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

.avatars {
  display: flex;
}

.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 2px solid #101612;
  border-radius: 50%;
  color: #08110b;
  font-size: 12px;
  font-weight: 700;
}

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

.av-1 { background: linear-gradient(135deg, #c4f21d, #5fe04a); }
.av-2 { background: linear-gradient(135deg, #f6a945, #f4d35e); }
.av-3 { background: linear-gradient(135deg, #8fd3ff, #5fa8f5); }
.av-4 { background: linear-gradient(135deg, #f59ac8, #e66fa6); }

@media (max-width: 960px) {
  .hero-visual {
    min-height: 600px;
  }

  .float-card.one {
    left: 2%;
  }

  .float-card.two {
    right: 2%;
  }
}

@media (max-width: 520px) {
  .phone {
    width: 250px;
  }

  .hero-visual .phone-back {
    display: none;
  }

  .float-card {
    padding: 10px 12px;
    font-size: 13px;
  }

  .float-card.one {
    top: 8%;
    left: 0;
  }

  .float-card.two {
    bottom: 6%;
    right: 0;
  }

  .mini-progress {
    width: 110px;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--border);
  background: rgba(244, 240, 232, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  color: var(--muted);
  font-family: var(--head-font);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee li::after {
  content: "✦";
  color: var(--green);
  font-size: 16px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Problem: the group chat ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.chat {
  max-width: 420px;
  padding: 28px 24px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.chat-meta strong {
  display: block;
  font-size: 15px;
}

/* Scoped to the caption so avatar initials keep their dark ink */
.chat-meta span {
  color: var(--faint);
  font-size: 13px;
}

.chat-day {
  margin: 18px 0 10px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.chat-head + .chat-day {
  margin-top: 0;
}

/* Collapsed run of messages, to show how long the thread drags on */
.chat-skip {
  margin: 14px 0;
  padding: 6px 0;
  border-block: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.bubble {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin-bottom: 10px;
}

.bubble small {
  margin: 0 0 4px 12px;
  color: var(--faint);
  font-size: 12px;
}

.bubble p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #262a27;
  font-size: 15px;
  line-height: 1.4;
}

.bubble.me {
  margin-left: auto;
  align-items: flex-end;
}

.bubble.me p {
  border-radius: 18px 18px 6px 18px;
  background: #2e7d4f;
}

.tally {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 0;
}

.tally div {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.tally dt {
  color: var(--faint);
  font-size: 13px;
}

.tally dd {
  margin: 2px 0 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tally .is-zero {
  border-color: rgba(246, 169, 69, 0.35);
  background: rgba(246, 169, 69, 0.08);
}

.tally .is-zero dd {
  color: var(--amber);
}

@media (max-width: 520px) {
  .tally div {
    padding: 12px;
  }

  .tally dd {
    font-size: 28px;
  }
}

.problem-copy h2 .warn {
  color: var(--amber);
}

.pain-list {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.pain-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
}

.pain-list li b {
  color: var(--text);
  font-weight: 600;
}

.pain-list .x {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(246, 169, 69, 0.14);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .chat {
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------- How it works: sticky phone + scrolling steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.steps-phone {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  place-items: center;
  height: calc(100vh - 160px);
  max-height: 720px;
}

.steps-phone .phone {
  height: min(100%, 640px);
  width: auto;
}

.steps-phone .screen img {
  opacity: 0;
  transform: scale(1.04);
}

.steps-phone .screen img.is-active {
  opacity: 1;
  transform: none;
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78vh;
  opacity: 0.32;
  transition: opacity 0.4s ease;
}

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

.step-num {
  margin-bottom: 18px;
  color: var(--green);
  font-family: var(--head-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0;
  font-family: var(--head-font);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.step p {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.step .phone {
  display: none;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps-phone {
    display: none;
  }

  .step {
    min-height: 0;
    padding: 40px 0;
    opacity: 1;
    text-align: center;
  }

  .step p {
    margin-left: auto;
    margin-right: auto;
  }

  .step .phone {
    display: block;
    width: 240px;
    margin: 36px auto 0;
  }
}

/* ---------- Group confirmation demo ---------- */

.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.feature-points {
  display: grid;
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.feature-points h3 {
  margin: 2px 0 4px;
  font-size: 17px;
  font-weight: 600;
}

.feature-points p {
  margin: 0;
  color: var(--muted);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(61, 220, 111, 0.25);
  border-radius: 13px;
  background: rgba(61, 220, 111, 0.08);
  color: var(--green);
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}

.demo {
  padding: 26px;
  overflow: hidden;
}

.demo::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 300px;
  background: radial-gradient(closest-side, rgba(61, 220, 111, 0.18), transparent);
  pointer-events: none;
}

/* Mirrors the app's Group Confirmation page */
.demo-deadline {
  position: relative;
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
}

.demo-count {
  position: relative;
  margin: 0 0 12px;
  font-weight: 600;
  text-align: center;
}

.invitees {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Photo tile on the left, status-colored gradient to the right */
.invitee {
  --tint: 255, 174, 66;
  display: grid;
  grid-template-columns: 68px 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #000 linear-gradient(90deg, rgba(var(--tint), 0.2), rgba(var(--tint), 0.65) 60%, rgba(var(--tint), 0.95));
  transition: background 0.5s ease;
}

.invitee.is-in {
  --tint: 61, 220, 111;
}

.invitee-photo {
  display: grid;
  place-items: center;
  color: #08110b;
  font-size: 22px;
  font-weight: 700;
}

.invitee-body {
  display: grid;
  padding: 10px 16px;
}

.invitee-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.invitee[data-creator] .invitee-name {
  color: #b8ffd9;
}

.crown {
  width: 16px;
  height: 16px;
  fill: #ffd60a;
}

.invitee-price {
  font-size: 16px;
  font-weight: 700;
}

/* Hourglass ring while pending, check once going */
.status-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgb(var(--tint));
  border-radius: 50%;
  background: #fff;
  color: rgb(var(--tint));
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
}

.status-icon::before {
  content: "⧗";
}

.invitee.is-in .status-icon::before {
  content: "✓";
}

.demo-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 15px;
}

.demo-line svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-line em {
  color: var(--faint);
  font-style: normal;
}

.demo-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(246, 169, 69, 0.08);
  color: var(--muted);
  font-size: 14px;
  transition: background 0.5s ease, color 0.5s ease;
}

.demo-foot b {
  color: var(--text);
}

.demo.is-locked .demo-foot {
  background: var(--grad);
  color: #04140a;
}

.demo.is-locked .demo-foot b {
  color: #04140a;
}

.replay {
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: 600 13px var(--body-font);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo.is-locked .replay {
  opacity: 1;
}

@media (max-width: 900px) {
  .confirm-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tile {
  grid-column: span 2;
  padding: 30px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.tile:hover {
  border-color: rgba(61, 220, 111, 0.3);
  transform: translateY(-3px);
}

.tile.wide {
  grid-column: span 3;
}

.tile.hero-tile {
  grid-column: span 4;
  grid-row: span 2;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  padding: 40px 40px 0;
}

.tile h3 {
  margin: 18px 0 8px;
  font-family: var(--head-font);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.tile.hero-tile h3 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.tile-shot {
  align-self: end;
  width: 220px;
  height: 440px;
  overflow: hidden;
  border: 6px solid #141615;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
}

.tile-shot img {
  width: 100%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
}

.chip.on {
  border-color: transparent;
  background: var(--green-deep);
  color: #04140a;
  font-weight: 600;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--head-font);
}

.price-row b {
  font-size: 34px;
  letter-spacing: -0.02em;
}

.price-row span {
  color: var(--faint);
  font-size: 14px;
}

@media (max-width: 1000px) {
  .tile,
  .tile.wide {
    grid-column: span 3;
  }

  .tile.hero-tile {
    grid-column: span 6;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile.wide,
  .tile.hero-tile {
    grid-column: auto;
  }

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

  .tile-shot {
    margin: 0 auto;
  }
}

/* ---------- Gradient-bordered callout (venue teaser, final CTA) ---------- */

.callout {
  position: relative;
  padding: 64px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(196, 242, 29, 0.14), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(18, 192, 102, 0.2), transparent 60%),
    var(--bg-raise);
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(196, 242, 29, 0.6), rgba(244, 240, 232, 0.08) 40%, rgba(18, 192, 102, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.callout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
}

.callout h2 {
  font-size: clamp(34px, 4.4vw, 54px);
}

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

.stat-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(6, 11, 8, 0.5);
}

.stat-list b {
  display: block;
}

.stat-list span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .callout {
    padding: 40px 28px;
  }

  .callout-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--head-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--green);
  font: 400 22px/1 var(--body-font);
  transition: transform 0.3s var(--ease-out);
}

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

.faq details p {
  max-width: 680px;
  margin: -6px 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.faq details a {
  color: var(--green);
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(48px, 8vw, 110px);
}

.final-cta .lede {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 44px;
}

.qr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  line-height: 1.35;
}

.qr img {
  width: 76px;
  height: 76px;
  padding: 7px;
  border-radius: 12px;
  background: var(--text);
}

@media (max-width: 760px) {
  .qr {
    display: none;
  }
}

/* ---------- Venues page ---------- */

.dash {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  padding: 24px;
}

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

.dash-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash h3 {
  margin: 6px 0 2px;
  font-family: var(--head-font);
  font-size: 22px;
}

.dash .muted {
  color: var(--muted);
  font-size: 14px;
}

.pill-ok {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 220, 111, 0.15);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.dash-stats div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(6, 11, 8, 0.45);
}

.dash-stats b {
  display: block;
  font-family: var(--head-font);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.dash-stats span {
  color: var(--faint);
  font-size: 12px;
}

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

.guest-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.guest-list li .avatar {
  width: 30px;
  height: 30px;
  border: 0;
  font-size: 11px;
}

.guest-list li em {
  margin-left: auto;
  color: var(--green);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.dash-payout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--grad);
  color: #04140a;
  font-size: 14px;
  font-weight: 600;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-card {
  padding: 30px;
}

.info-card h3 {
  margin: 18px 0 8px;
  font-family: var(--head-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card .step-num {
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
}

@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .dash {
    margin: 0 auto;
  }
}

/* ---------- Simple pages (contact, 404) ---------- */

.simple {
  position: relative;
  min-height: calc(100vh - 260px);
  padding: 160px 0 80px;
}

.simple h1 {
  font-size: clamp(46px, 7vw, 84px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 56px auto 0;
}

.contact-grid .info-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Forms (Formspree) ---------- */

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 44px auto 0;
  padding: 28px;
  text-align: left;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: 400 16px/1 var(--body-font);
}

.lead-form select {
  appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7a89f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}

.lead-form select:invalid {
  color: var(--faint);
}

.lead-form option {
  background: var(--bg-raise);
  color: var(--text);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.lead-form textarea {
  height: auto;
  padding: 12px 16px;
  line-height: 1.5;
  resize: vertical;
}

.lead-form ::placeholder {
  color: var(--faint);
}

/* Checkbox row for multi-select answers */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.lead-form .choice-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.lead-form .choice-group input {
  height: auto;
  margin: 0;
  accent-color: var(--green);
}

.lead-form .choice-group label:has(:checked) {
  border-color: var(--green);
}

.lead-form .btn,
.lead-form .form-status,
.lead-form .full,
.lead-form .choice-group {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--amber);
}

.form-alt {
  margin-top: 24px;
}

.form-alt a {
  color: var(--muted);
}

/* Honeypot: hidden from people, filled by bots */
.hp {
  position: absolute;
  left: -9999px;
}

.android-note {
  max-width: 440px;
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.android-note a {
  color: var(--text);
}

@media (max-width: 560px) {
  .lead-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* Closing glow behind the final CTA */
.final-cta::before {
  content: "";
  position: absolute;
  inset: 10% 0 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 60%, rgba(18, 192, 102, 0.18), transparent 70%);
  pointer-events: none;
}

/* Keep decorative glows from widening the mobile layout viewport (clip keeps sticky working) */
main {
  overflow-x: clip;
}
