/* ===== Design tokens ===== */
:root {
  --bg: #14121f;
  --surface: #1c1a2e;
  --surface-2: #232038;
  --card: #fbf7f4;
  --ink: #f3eefb;
  --ink-soft: #b8b2cc;
  --ink-dark: #2a2536;
  --ink-dark-soft: #6b6480;
  --brand: #f06292;
  --brand-strong: #d94a7c;
  --accent: #ffb27a;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 24px 50px -28px rgba(0, 0, 0, 0.45);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 16px 30px -14px var(--brand-strong);
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: #fff;
}
.btn-block {
  width: 100%;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 31, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.logo-mark svg {
  width: 18px;
  height: 18px;
}
.site-nav ul {
  display: flex;
  gap: 1.75rem;
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover {
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(240, 98, 146, 0.18), transparent 70%),
    radial-gradient(50% 50% at 10% 20%, rgba(255, 178, 122, 0.12), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.2rem;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--brand);
}
.lede {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 34ch;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.hero-stats dd {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.hero-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(20, 18, 31, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #57d38c;
  box-shadow: 0 0 0 0 rgba(87, 211, 140, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(87, 211, 140, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(87, 211, 140, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(87, 211, 140, 0);
  }
}

/* ===== Sections ===== */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-muted {
  background: var(--surface);
}
.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}
.section-sub {
  color: var(--ink-soft);
  margin-top: 0.9rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink-dark-soft);
  opacity: 0.5;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(240, 98, 146, 0.14);
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.step-icon svg {
  width: 22px;
  height: 22px;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ===== Profiles ===== */
.profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.profile-card {
  background: var(--card);
  color: var(--ink-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.profile-card:hover {
  transform: translateY(-4px);
}
.profile-photo {
  position: relative;
}
.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.verified {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.92);
  color: #2f9e5e;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
}
.verified svg {
  width: 12px;
  height: 12px;
}
.profile-body {
  padding: 1.1rem 1.15rem 1.4rem;
}
.profile-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.profile-body .city {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-dark-soft);
}
.profile-body p {
  color: var(--ink-dark-soft);
  font-size: 0.92rem;
  margin: 0.55rem 0 0.9rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tags li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(240, 98, 146, 0.1);
  color: var(--brand-strong);
}

/* ===== Stories ===== */
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.story {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.story blockquote p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.story blockquote p::before {
  content: "“";
  color: var(--brand);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 0.1em;
}
.story footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
}
.story-name {
  font-weight: 600;
}
.story-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ===== Join ===== */
.section-join {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(240, 98, 146, 0.16), transparent 70%),
    var(--surface);
}
.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.join-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.join-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.join-points svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.join-form {
  background: var(--card);
  color: var(--ink-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  border: 0;
  padding: 0;
}
.field label,
.field legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-dark);
}
.field input[type="text"],
.field input[type="number"],
.field input[type="email"] {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid #e4dcd6;
  background: #fff;
  color: var(--ink-dark);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder {
  color: #b6aba4;
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(240, 98, 146, 0.15);
}
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.choice span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #e4dcd6;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.choice input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.choice input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-dark-soft);
  margin: 0.5rem 0 1.4rem;
  cursor: pointer;
}
.consent input {
  margin-top: 0.2rem;
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
}
.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-dark-soft);
  margin-top: 1rem;
}
.form-note a {
  color: var(--brand-strong);
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand p {
  color: var(--ink-soft);
  margin-top: 0.9rem;
  max-width: 30ch;
  font-size: 0.95rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-nav h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.footer-nav ul {
  display: grid;
  gap: 0.6rem;
}
.footer-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-nav a:hover {
  color: var(--brand);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid,
  .join-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
  .steps,
  .stories {
    grid-template-columns: 1fr;
  }
  .profiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .profiles {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .header-cta {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
