/* Being Lonely Sucks landing (was Wingman) — brand kit v0
   Colors: Live Green #71DF0C, Neon Blue #1F6BFF, Boss Orange #FF6A13,
   Ink #141414, Paper #FAFAF7, Button Grey #E2E2DC / #3A3A36.
   Type: Space Grotesk for UI copy only. Logo marks are live text in
   Instrument Serif (Google Fonts, SIL OFL 1.1). PLACEHOLDER until the
   final pack; see .wordmark rules below.
   Button rule: I'm in = green + ink; Around = orange + white (caution /
   yellow-light); Interested and Get on the list = neon blue + white.
   Selected Into / platform chips stay ink on paper for contrast. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #71DF0C;
  --blue: #1F6BFF;
  --orange: #FF6A13;
  --ink: #141414;
  --paper: #FAFAF7;
  --white: #ffffff;
  --muted: #5C5C57;
  --line: #E6E6E0;
  --chip-line: #D4D4CC;
  --grey: #E2E2DC;
  --grey-ink: #3A3A36;
  --red: #E5242B;
  --font: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 68rem;
  --gutter: 1.25rem;
  --radius: 1.25rem;
  --pill: 999px;
  --header: 4rem;
  --shadow: 0 16px 48px rgba(20, 20, 20, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover .wordmark {
  opacity: 0.8;
}

.logo:active .wordmark {
  opacity: 0.7;
}

/* BLS brand pack v1 (WING-CX, Instrument Serif outlines, OFL 1.1).
   Header: BLS mark. Footer: beinglonely,sucks wordmark. */
.wordmark {
  display: block;
  width: auto;
  max-width: 100%;
}

.wordmark-bls {
  height: 1.95rem;
}

.wordmark-full {
  height: 1.9rem;
}

.footer-wordmark {
  margin: 0 0 0.5rem;
}

.header-cta {
  flex: 0 0 auto;
}

/* Buttons and chips
   ------------------------------------------------------------------ */
.btn {
  appearance: none;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--pill);
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.btn-cta {
  background: var(--blue);
  color: var(--white);
}

.btn-cta:hover {
  filter: brightness(0.96);
  color: var(--white);
}

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

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.95rem 1.45rem;
}

.btn-enter {
  background: var(--green);
  color: var(--ink);
}

.btn-enter:hover {
  filter: brightness(0.96);
  color: var(--ink);
}

.btn-enter:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

.btn-waitlist {
  background: var(--orange);
  color: var(--white);
}

.btn-waitlist:hover {
  filter: brightness(0.96);
  color: var(--white);
}

.btn-waitlist:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

/* Hero
   ------------------------------------------------------------------ */
.hero {
  padding: 3.5rem 0 4.25rem;
}

.hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.6rem, 11vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero .lede {
  margin: 1.25rem 0 0;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 22em;
}

.hero .btn-lg {
  margin-top: 2rem;
}

.hero-locale {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Events
   ------------------------------------------------------------------ */
.events {
  padding: 1rem 0 4.5rem;
}

.events h2,
.how h2,
.faq h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.places {
  display: block;
}

.event-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.event-list .empty,
.event-list .error {
  color: var(--muted);
  margin: 0;
}

.event {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}

.event-media {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.event-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.event-body {
  padding: 1.15rem 1.2rem 0.2rem;
}

.event h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.event-meta,
.event-when {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.event-meta .sep {
  margin: 0 0.35em;
}

.event-counts {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.event-link {
  margin: 0.55rem 0 0;
  font-size: 0.9375rem;
}

.event-link a {
  font-weight: 500;
}

.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.95rem 1.15rem 1.2rem;
}

.flag {
  appearance: none;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: var(--pill);
  padding: 0.62rem 0.9rem;
  cursor: pointer;
  color: var(--white);
  flex: 1 1 auto;
  text-align: center;
  min-width: 5.6rem;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.flag:hover {
  filter: brightness(1.06);
}

.flag:active {
  transform: translateY(1px);
}

.flag-in {
  background: var(--green);
  color: var(--ink);
}

.flag-interested {
  background: var(--blue);
  color: var(--white);
}

.flag-around {
  background: var(--orange);
  color: var(--white);
}

.flags:has(.flag[aria-pressed="true"]) .flag[aria-pressed="false"] {
  background: var(--grey);
  color: var(--grey-ink);
}

.flag[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink);
}

/* How it works
   ------------------------------------------------------------------ */
.how {
  padding: 1rem 0 4.5rem;
}

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 0.15rem;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0;
}

.steps h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 36em;
}

/* FAQ
   ------------------------------------------------------------------ */
.faq {
  padding: 1rem 0 5rem;
}

.faq-list {
  margin-top: 1.25rem;
  max-width: 42rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  padding: 1.15rem 2rem 1.15rem 0;
  list-style: none;
  position: relative;
}

.faq-list summary:active {
  opacity: 0.8;
}

.faq-list summary::-webkit-details-marker,
.faq-list summary::marker {
  display: none;
  content: "";
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list details p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

/* Footer
   ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  gap: 1.15rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-nav a.footer-investors {
  color: var(--red);
  font-weight: 700;
}

.footer-nav a.footer-investors:hover,
.footer-nav a.footer-investors:focus-visible {
  color: color-mix(in srgb, var(--red) 82%, var(--ink));
  text-decoration: underline;
}

/* Signup dialog
   ------------------------------------------------------------------ */
.signup {
  width: min(28.5rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  overflow: auto;
  border: 0;
  border-radius: 1.35rem;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.signup::backdrop {
  background: rgba(20, 20, 20, 0.52);
}

.signup-panel {
  padding: 1.5rem 1.35rem 1.6rem;
}

.signup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.signup h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.signup-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  margin: -0.25rem -0.35rem 0 0;
}

.signup-close:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.signup-lead,
.signup-context {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.signup-context {
  display: none;
  margin-top: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--ink);
  font-weight: 500;
}

.signup-context.is-on {
  display: block;
}

.signup form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.25rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.legend {
  font-weight: 500;
  font-size: 0.875rem;
}

.field input[type="text"],
.field input[type="email"],
.field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--chip-line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-height: 2.85rem;
}

.field input:hover,
.field select:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--chip-line));
}

.field input:focus,
.field select:focus {
  border-color: var(--ink);
  outline: 2px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 1px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.choice input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--ink);
  flex: 0 0 auto;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  appearance: none;
  border: 1px solid var(--chip-line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: var(--pill);
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  max-width: 100%;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--ink);
}

.chip:active {
  transform: translateY(1px);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.form-error {
  margin: 0;
  color: #9B2C00;
  font-size: 0.875rem;
  display: none;
}

.form-error.is-on {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup .btn-cta {
  width: 100%;
  margin-top: 0.25rem;
}

.success {
  display: none;
  padding: 2.25rem 1.35rem 2.4rem;
  text-align: center;
}

.success.is-on {
  display: block;
}

.success-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--green);
  margin: 0 auto 1.1rem;
}

.success h2 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}

.success p {
  margin: 0.6rem 0 1.5rem;
  color: var(--muted);
}

/* Legal pages
   ------------------------------------------------------------------ */
.legal {
  padding: 2.5rem 0 5rem;
}

.legal h1,
.legal h2,
.legal p,
.legal ul,
.legal .draft-banner {
  max-width: 40rem;
}

.draft-banner {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--orange);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--orange) 10%, var(--paper));
  font-weight: 500;
  font-size: 0.9375rem;
}

.legal h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.legal h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}

.legal ul {
  padding-left: 1.2rem;
}

/* Desktop
   ------------------------------------------------------------------ */
@media (min-width: 720px) {
  :root {
    --gutter: 2rem;
    --header: 4.5rem;
  }

  .wordmark-bls {
    height: 2.3rem;
  }

  .header-cta {
    font-size: 0.9375rem;
    padding: 0.7rem 1.1rem;
  }

  .places {
    display: inline;
  }

  .hero {
    padding: 5.5rem 0 6.5rem;
  }

  .event-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .event-body {
    padding: 1.25rem 1.35rem 0.25rem;
  }

  .flags {
    padding: 1rem 1.25rem 1.3rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .signup-panel,
  .success {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .hero h1 {
    letter-spacing: -0.055em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .flag,
  .faq-list summary::after {
    transition: none;
  }
}


/* Holding / coming soon
   ------------------------------------------------------------------ */
body.holding .site-header {
  position: static;
  border-bottom: 0;
}

body.holding .site-header .wrap,
body.holding .site-footer .wrap {
  width: min(36rem, calc(100% - var(--gutter) * 2));
}

.holding-main {
  padding: 0.25rem 0 4.5rem;
}

.holding-panel {
  width: min(36rem, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.holding-hero {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 1200 / 896;
}

.holding-hero img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.holding-hero img.is-on {
  opacity: 1;
  z-index: 1;
}

.holding-hero {
  margin-bottom: 0.7rem;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0 0 1.6rem;
}

.hero-dot {
  appearance: none;
  border: 0;
  background: transparent;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.hero-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.38;
  transform: translate(-50%, -50%);
}

.hero-dot.is-past::after {
  background: var(--orange);
  opacity: 0.38;
}

.hero-dot[aria-current="true"]::after {
  background: var(--blue);
  opacity: 1;
}

.hero-dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 50%;
}

.btn-enter,
.btn-waitlist {
  min-height: 2.85rem;
  padding-inline: 1.25rem;
}

.beta-form input[type="password"]::placeholder {
  color: var(--muted);
  opacity: 1;
}

.waitlist-panel {
  margin-top: 1.35rem;
}

.waitlist-panel[hidden],
.waitlist-success[hidden] {
  display: none;
}

.waitlist-panel form {
  display: grid;
  gap: 0.95rem;
}

.waitlist-panel .field input[type="text"],
.waitlist-panel .field input[type="email"] {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--chip-line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-height: 2.85rem;
}

.waitlist-panel .field label {
  font-weight: 500;
  font-size: 0.875rem;
}

.waitlist-success h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.waitlist-success p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .holding-hero img {
    transition: none;
  }
}

.holding-copy h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.65rem, 6.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.holding-copy .lede {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.4;
}

.preview-beta {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.preview-beta h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.beta-form input[type="password"] {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--chip-line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-height: 2.85rem;
}

.beta-form input[type="password"]:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--chip-line));
}

.beta-form input[type="password"]:focus {
  border-color: var(--ink);
  outline: 2px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 1px;
}

.beta-form .btn {
  min-height: 2.85rem;
}

.beta-error {
  margin: 0.85rem 0 0;
  color: #9B2C00;
  font-size: 0.875rem;
}

.beta-error[hidden] {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .holding-main {
    padding-top: 0.5rem;
    padding-bottom: 5.5rem;
  }

  .holding-panel,
  body.holding .site-header .wrap,
  body.holding .site-footer .wrap {
    width: min(40rem, calc(100% - var(--gutter) * 2));
  }

  .holding-hero {
    margin-bottom: 0.85rem;
  }

  .hero-dots {
    margin-bottom: 1.85rem;
  }

  .beta-form {
    flex-direction: row;
    align-items: center;
  }

  .beta-form input[type="password"] {
    flex: 1 1 auto;
  }

  .beta-form .btn {
    flex: 0 0 auto;
    padding-inline: 1.4rem;
  }
}


/* Investor dialog
   ------------------------------------------------------------------ */
.investor {
  width: min(32rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  overflow: auto;
  border: 0;
  border-radius: 1.35rem;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  color-scheme: dark;
}

.investor::backdrop {
  background: rgba(20, 20, 20, 0.72);
}

.investor-panel {
  padding: 1.35rem 1.35rem 1.6rem;
}

.investor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.investor-step {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

.investor-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--paper);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  margin: -0.25rem -0.35rem 0 0;
}

.investor-close:hover,
.investor-close:focus-visible {
  background: color-mix(in srgb, var(--paper) 12%, transparent);
  outline: none;
}

.investor h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.investor-lead,
.investor-fact {
  margin: 0.55rem 0 0;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.investor-fact {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--paper) 58%, transparent);
}

.investor form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.15rem;
}

.investor [data-step] {
  display: grid;
  gap: 0.95rem;
}

.investor .field label,
.investor .legend,
.investor fieldset.field legend {
  color: var(--paper);
}

.investor .field input[type="text"],
.investor .field input[type="email"],
.investor .field select,
.investor .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
  min-height: 2.85rem;
}

.investor .field textarea {
  min-height: 5.5rem;
  resize: vertical;
  line-height: 1.4;
}

.investor .field input:focus,
.investor .field select:focus,
.investor .field textarea:focus {
  border-color: var(--red);
  outline: 2px solid color-mix(in srgb, var(--red) 45%, transparent);
  outline-offset: 1px;
}

.investor .chip {
  background: transparent;
  color: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 28%, transparent);
}

.investor .chip:hover {
  border-color: var(--paper);
}

.investor .chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.investor .hint {
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

.investor .form-error {
  color: #FFB4A2;
}

.investor .btn-cta {
  width: 100%;
  margin-top: 0.15rem;
  background: var(--paper);
  color: var(--ink);
  border: 0;
}

.investor .btn-cta:hover,
.investor .btn-cta:focus-visible {
  background: var(--white);
}

.investor-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: stretch;
}

.investor-actions .btn-cta {
  width: auto;
  margin-top: 0;
}

.investor .btn-back {
  appearance: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  border-radius: 0.7rem;
  min-height: 2.85rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.investor .btn-back:hover,
.investor .btn-back:focus-visible {
  border-color: var(--paper);
}

.investor .success {
  padding: 2.25rem 1.35rem 2.4rem;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.investor .success h2 {
  font-size: 1.5rem;
}

.investor .success p {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.investor .success .btn-cta {
  width: auto;
  min-width: 8rem;
}

/* Waitlist + For Investors pair */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.btn-investors {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.btn-investors:hover,
.btn-investors:focus-visible {
  color: color-mix(in srgb, var(--red) 82%, var(--ink));
}
.header-cta .btn {
  font-size: 0.9375rem;
  padding: 0.7rem 1.1rem;
}
@media (max-width: 420px) {
  .header-cta .btn { padding: 0.6rem 0.8rem; font-size: 0.875rem; }
}

/* Footer store badges (approved 2026-11-17) */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  order: 1;
}

.footer-right p {
  white-space: nowrap;
}

.footer-stores {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  order: 2;
  margin-left: auto;
}

.footer-stores img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 720px) {
  body.holding .site-footer .wrap {
    width: min(64rem, calc(100% - var(--gutter) * 2));
  }
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-stores {
    margin-left: 0;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

/* Pop-up forms on phones (2026-11-17) */
.investor fieldset.field { border:0; padding:0; margin:0; min-width:0; }
.investor fieldset.field legend { padding:0; margin-bottom:.45rem; font-weight:500; font-size:.875rem; }
.investor [hidden] { display:none !important; }

@media (max-width: 640px) {
  .signup, .investor { width:calc(100% - 2rem); max-height:calc(100% - 2rem); }
  .signup-panel, .investor-panel { padding:1.75rem 1.5rem 2rem; }
  .signup h2, .investor h2 { font-size:1.3rem; line-height:1.25; }
  .signup-lead, .signup-context { color:#2a2a2a; }
  .investor-lead { color:#f2f2ee; }
  .investor-fact { color:#d6d6d0; }
  .field label, .legend, .investor fieldset.field legend { font-size:.875rem; font-weight:500; }
  .signup form, .investor form, .investor [data-step] { gap:1.1rem; }
}

/* Beta hang tabs (2026-11-17) */
.event-tabs {
  display: flex;
  gap: 0.35rem;
  margin: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.event-tabs::-webkit-scrollbar { display: none; }

.event-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 0.6rem 0.85rem 0.65rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.event-tab:hover { color: var(--ink); }

.event-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 700;
}

.event-tab.tab-in[aria-selected="true"] { border-bottom-color: #71DF0C; }
.event-tab.tab-interested[aria-selected="true"] { border-bottom-color: #1F6BFF; }
.event-tab.tab-around[aria-selected="true"] { border-bottom-color: #FF6A13; }

.tab-count {
  display: inline-block;
  min-width: 1.35rem;
  margin-left: 0.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  font-size: 0.75rem;
  line-height: 1.35rem;
  text-align: center;
}

.tab-count:empty { display: none; }

.event-list .event[data-state] { display: none; }
.event-list[data-view="active"] .event[data-state="active"],
.event-list[data-view="in"] .event[data-state="in"],
.event-list[data-view="interested"] .event[data-state="interested"],
.event-list[data-view="around"] .event[data-state="around"] { display: flex; }

.tab-empty {
  margin: 0.5rem 0 2rem;
  color: var(--muted);
}

.tab-empty[hidden] { display: none; }

@media (max-width: 640px) {
  .event-tabs { gap: 0; justify-content: space-between; }
  .event-tab { padding: 0.55rem 0.4rem 0.6rem; font-size: 0.875rem; }
  .tab-count { min-width: 1.2rem; line-height: 1.2rem; font-size: 0.6875rem; }
}

/* Sponsor host on hang cards (2026-11-17) */
.event-sponsor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.sponsor-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-sponsor img {
  height: 24px;
  width: auto;
  display: block;
}

/* Card dismiss menu, interest chip, distance (2026-11-17) */
.event { position: relative; }
.event[data-hidden] { display: none !important; }

.card-x {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(250, 250, 247, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.card-x:hover, .card-x[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

.card-menu {
  position: absolute;
  top: 3rem;
  right: 0.6rem;
  z-index: 4;
  min-width: 13rem;
  padding: 0.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.16);
  display: flex;
  flex-direction: column;
}

.card-menu[hidden] { display: none; }

.card-menu button {
  appearance: none;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.card-menu button:hover { background: rgba(20, 20, 20, 0.06); }

.event-distance { white-space: nowrap; }

.event-chips { margin: 0.55rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }

.event-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(20, 20, 20, 0.04);
}

.hang-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 150%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.hang-toast.is-on { transform: translate(-50%, 0); }

.hang-toast button {
  appearance: none;
  border: 0;
  background: none;
  color: #71DF0C;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hang-toast span { white-space: nowrap; }

/* Preview tools: location link + reset (beta) */
.preview-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 0.5rem; }
.preview-tools button { background: none; border: 0; padding: 0.5rem 0; font: inherit; font-size: 10pt; font-weight: 500; cursor: pointer; }
.loc-link { color: var(--blue, #1F6BFF); }
.loc-link:disabled { color: #9a9a94; cursor: default; }
.reset-preview { color: #b4b4ae; margin-left: auto; transition: color 0.15s; }
.reset-preview:hover, .reset-preview:focus-visible, .reset-preview:active { color: #E0201B; }
.hero.hero-tight { padding-bottom: 1.5rem; }
@media (min-width: 768px) { .hero.hero-tight { padding-bottom: 2.5rem; } }

/* Chips inline on the location line */
.event-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0; row-gap: 0.4rem; }
.event-meta .event-chip { margin-left: 0.4rem; }
.event-meta .event-distance { margin-right: 0.1rem; }
.event-meta .event-distance { margin-left: 0.3em; }

/* Around tab map (plain Google embed, San Francisco) */
.around-map { margin: 0 0 1.5rem; }
.around-map[hidden] { display: none; }
.around-frame { border: 1px solid var(--line); border-top: 2px solid #FF6A13; border-radius: 1rem; overflow: hidden; background: #ecece6; aspect-ratio: 16 / 9; }
.around-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.around-map figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 640px) { .around-frame { aspect-ratio: 4 / 5; } }

/* Tabs row: tools sit right on the tab line on desktop (2026-11-17) */
.tabs-row { display: flex; flex-direction: column; margin: 1.25rem 0 1.5rem; }
.tabs-row .event-tabs { margin: 0; }
.tabs-row .preview-tools { order: -1; margin: 0; justify-content: flex-end; }
@media (max-width: 719px) { .tabs-row .loc-link { display: none; } }
@media (min-width: 720px) {
  .tabs-row { flex-direction: row; align-items: flex-end; border-bottom: 1px solid var(--line); }
  .tabs-row .event-tabs { flex: 1; border-bottom: 0; }
  .tabs-row .preview-tools { order: 0; gap: 1.25rem; padding-bottom: 0.65rem; }
  .tabs-row .event-tab { margin-bottom: -1px; }
}
/* FAQ open/close all (2026-11-17) */
.faq-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: 42rem;
}

.faq-tools {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.faq-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.faq-toggle:hover,
.faq-toggle:focus-visible {
  color: var(--ink);
}

/* Chips: hover + hit state, My interests (two tiers), card detail wireframe (2026-11-17) */
button.event-chip { appearance: none; font: inherit; font-size: 0.75rem; font-weight: 500; line-height: inherit; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s; }
button.event-chip:focus-visible { border-color: var(--ink); }
@media (hover: hover) {
  button.event-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
  .interest-toggle:hover { border-color: var(--ink); }
  .event[data-event-id] .event-media, .event[data-event-id] .event-body { cursor: pointer; }
}
button.event-chip:active { transform: scale(0.97); background: #ecece6; }
.tier-row { display: flex; gap: 1.25rem; margin: 1rem 0 0; }
.tier { margin: 0; font-size: 0.875rem; color: #6B6B66; display: flex; align-items: center; gap: 0.4rem; }
.tier b { color: var(--ink); }
.tier-swatch { width: 0.85rem; height: 0.85rem; border-radius: 999px; display: inline-block; }
.tier-swatch.tier-into { background: var(--ink); }
.tier-swatch.tier-also { border: 1.5px solid var(--ink); }
.tier-note { margin: 0.4rem 0 0; font-size: 0.8125rem; color: #6B6B66; }
.interest-group-label { margin: 1.1rem 0 0.5rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6B66; }
.interest-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.interest-toggle { appearance: none; font: inherit; font-size: 0.9375rem; font-weight: 500; padding: 0.42rem 0.85rem; border: 1.5px solid #6B6B66; border-radius: 999px; background: transparent; color: #6B6B66; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s; }
.interest-toggle:active { transform: scale(0.97); }
.interest-toggle[data-state="also"] { border-color: var(--ink); color: var(--ink); }
.interest-toggle[data-state="into"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
.interest-toggle[data-state="into"]::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #71DF0C; }
.preview-only { margin: 1.4rem 0 0; font-size: 0.75rem; color: #6B6B66; text-align: center; }
/* card detail wireframe */
.detail-dialog { width: min(34rem, calc(100% - 1.5rem)); }
.detail-media { position: relative; }
.detail-media img { display: block; width: 100%; aspect-ratio: 1200 / 896; object-fit: cover; }
.detail-close { position: absolute; top: 10px; right: 10px; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid #6B6B66; background: var(--paper); color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.detail-panel { margin: 0.75rem; border: 1px solid #6B6B66; border-radius: 0.75rem; background: #fff; padding: 0.25rem 1rem; }
.wf-sec { padding: 0.8rem 0; border-bottom: 1px dashed #c9c9c3; }
.wf-sec:last-child { border-bottom: 0; }
.wf-label { margin: 0 0 0.35rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6B66; }
.wf-note { font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
.wf-title { margin: 0; font-size: 1.35rem; letter-spacing: -0.03em; }
.wf-text { margin: 0; font-size: 0.9375rem; }
.wf-muted { color: #6B6B66; }
.wf-counts { margin-bottom: 0.65rem; color: #6B6B66; }
.wf-box { position: relative; height: 7rem; margin-top: 0.6rem; border: 1px solid #b4b4ae; background-color: #f1f1ec; background-image: linear-gradient(to top right, transparent calc(50% - 0.5px), #b4b4ae, transparent calc(50% + 0.5px)), linear-gradient(to bottom right, transparent calc(50% - 0.5px), #b4b4ae, transparent calc(50% + 0.5px)); }
.wf-box:not(.wf-map) { margin: 0; aspect-ratio: 1200 / 896; height: auto; }
.wf-chat { display: grid; gap: 0.35rem; padding: 0.7rem; border-radius: 0.6rem; background: #f1f1ec; color: #9a9a94; font-size: 0.8125rem; }
.wf-chat p { margin: 0; }
.detail-panel .flags { padding: 0; border: 0; }
@media (max-width: 639px) {
  dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 1.35rem 1.35rem 0 0; max-height: 92dvh; }
  dialog.detail-dialog { max-height: 100dvh; height: 100dvh; border-radius: 0; }
}
.wf-avatar { display: inline-block; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #e2e2dc; border: 1px solid #b4b4ae; vertical-align: middle; margin-right: 0.5rem; }
.faq-toggle[data-faq-all] { color: #6B6B66; }
/* Sponsor badge C (2026-11-17) */
.event-media, .detail-media { position: relative; }
.sponsor-badge { position: absolute; top: 10px; left: 10px; z-index: 2; box-sizing: border-box; width: 96px; height: 44px; padding: 5px 12px 6px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.92); border: 1px solid #E5E5E0; border-radius: 999px; cursor: default; }
.sponsor-badge-label { font-family: "Space Grotesk", system-ui, sans-serif; font-size: 9px; line-height: 1; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6B6B66; }
.sponsor-badge-logo { width: 72px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.sponsor-badge-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 479px) {
  .sponsor-badge { width: 84px; height: 40px; padding: 4px 10px 5px; }
  .sponsor-badge-logo { width: 64px; height: 18px; }
}
