/* ==========================================================================
   Fit Together — marketing site styles
   ========================================================================== */

:root {
  --navy-950: #05070d;
  --navy-900: #0b0f1a;
  --navy-800: #121a2c;
  --navy-700: #1c2740;
  --navy-600: #2a3652;

  --accent: #db1f52;
  --accent-2: #ff3d68;
  --accent-dark: #a81440;
  --accent-tint: rgba(219, 31, 82, 0.12);

  --green: #1fae6e;
  --green-tint: rgba(31, 174, 110, 0.12);

  --ink: #0b0f1a;
  --muted: #5b6472;
  --muted-invert: #a7afc0;
  --faint-invert: #6b7690;

  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --border-light: #e7e9f0;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 40px -20px rgba(11, 15, 26, 0.25);
  --shadow-hard: 0 30px 60px -25px rgba(11, 15, 26, 0.45);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow.on-dark { color: var(--accent-2); }

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head.on-dark p { color: var(--muted-invert); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(219, 31, 82, 0.55);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-dark:hover { border-color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-light);
}
.btn-ghost-light:hover { border-color: var(--ink); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: var(--muted-invert);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Step down spacing before the full mobile collapse so the full link set
   (including Sign In) never gets squeezed or clipped at in-between widths. */
@media (max-width: 1240px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13.5px; }
  .nav-cta { gap: 8px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn span.full { display: none; }
  .nav-signin { display: none; }
}

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

.hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(219, 31, 82, 0.35), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(219, 31, 82, 0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: 40px 0 24px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  color: #fff;
  margin-bottom: 14px;
}

.hero h1 span { color: var(--accent-2); }

.hero .lede {
  font-size: 18px;
  color: var(--muted-invert);
  max-width: 520px;
  margin-bottom: 10px;
}

.hero .lede-sub {
  font-size: 15px;
  color: var(--faint-invert);
  max-width: 500px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-note {
  font-size: 13px;
  color: var(--faint-invert);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 20px;
  max-width: 480px;
}

@media (max-width: 480px) {
  .hero-badges { grid-template-columns: 1fr; max-width: none; }
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(219, 31, 82, 0.16);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge strong { display: block; font-size: 14px; color: #fff; }
.hero-badge span { font-size: 12.5px; color: var(--faint-invert); }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-visual-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  max-width: 465px;
  height: 306px;
}

.hero-visual-media {
  position: relative;
  width: 100%;
  max-width: 372px;
}

.hero-photo-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-photo-card img {
  width: 100%;
  height: 304px;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(1.05);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0) 40%, rgba(5,7,13,0.85) 100%);
}

.hero-photo-caption {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 22px;
  color: #fff;
}

.hero-photo-caption strong { display: block; font-size: 19px; }
.hero-photo-caption span { font-size: 15.5px; color: var(--muted-invert); }

.hero-floater {
  position: absolute;
  width: 136px;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  border: 6px solid var(--navy-900);
  background: var(--navy-900);
  bottom: -17px;
  right: -17px;
  transform: rotate(4deg);
}

/* ---------- Hero "also here for Dating" vertical rail ---------- */

.hero-dating-v {
  width: 79px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-dating-v-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  flex-shrink: 0;
}

.dating-rail-v {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.dating-track-v {
  display: flex;
  flex-direction: column;
  height: max-content;
  animation: feedScrollV 24s linear infinite;
}
.dating-rail-v:hover .dating-track-v,
.dating-track-v.paused { animation-play-state: paused; }

.dating-group-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 12px 0;
}

.dating-chip-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.dating-avatar-v {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.dating-chip-v:hover .dating-avatar-v { transform: scale(1.06); border-color: #fff; }

.dating-name-v {
  font-size: 11px;
  color: var(--muted-invert);
  white-space: nowrap;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dating-v-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-2);
  text-align: center;
  flex-shrink: 0;
}
.hero-dating-v-link:hover { text-decoration: underline; }

@keyframes feedScrollV {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ---------- Hero "Latest Workouts" video square row ---------- */

.hero-video-row {
  width: 100%;
  max-width: 465px;
  padding: 17px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-video-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.hero-video-row-head strong {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.hero-video-row-head a {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  flex-shrink: 0;
}
.hero-video-row-head a:hover { text-decoration: underline; }

.hero-video-squares {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-video-square {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-video-square video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  transition: transform 0.15s ease;
  position: relative;
  z-index: 1;
}
.hero-video-square:hover .hero-video-play { transform: scale(1.1); }

.hero-video-dur {
  position: absolute;
  bottom: 6px;
  right: 7px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.55);
  color: #fff;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }
  .hero-floater { display: none; }
  .hero-visual-row, .hero-video-row { max-width: 340px; }
}

@media (max-width: 420px) {
  .hero-dating-v { width: 54px; }
  .dating-name-v { display: none; }
}

/* ---------- Logo strip ---------- */

.marquee-wrap {
  background: var(--navy-900);
  padding: 26px 0 46px;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint-invert);
  margin-bottom: 18px;
}

.activity-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.activity-chip {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted-invert);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Generic sections ---------- */

.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--navy-900); color: #fff; }
.section.navy-950 { background: var(--navy-950); color: #fff; }

/* ---------- Problem cards ---------- */

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

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

.info-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.info-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.info-card h4 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1040px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 26px 20px;
  position: relative;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Pillars ---------- */

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1040px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid-5 { grid-template-columns: 1fr; } }

.pillar-card {
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
}

.pillar-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(219, 31, 82, 0.16);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar-card h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.pillar-card p { color: var(--muted-invert); font-size: 13.5px; margin: 0; }
.pillar-card.featured { background: linear-gradient(160deg, var(--accent-dark), var(--navy-900)); border-color: transparent; }

/* ---------- Active Now spotlight ---------- */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .spotlight { grid-template-columns: 1fr; gap: 40px; } }

.phone-row {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 176px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  border: 1px solid var(--border-light);
}

.phone-frame:nth-child(2) { transform: translateY(-22px); }

.feature-list { margin-top: 28px; }

.feature-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.feature-row:last-child { border-bottom: none; }

.feature-row .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row h4 { font-size: 15px; margin: 0 0 3px; }
.feature-row p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Safety ---------- */

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }

.safety-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
}

.safety-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.safety-card h4 { color: #fff; font-size: 15.5px; margin-bottom: 6px; }
.safety-card p { color: var(--muted-invert); font-size: 13.5px; margin: 0; }

.safety-banner {
  margin-top: 40px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255,255,255,0.25);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--muted-invert);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.safety-banner .ico { color: var(--accent-2); flex-shrink: 0; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid var(--border-light);
  background: var(--paper);
}

.price-card.highlight {
  background: var(--navy-900);
  color: #fff;
  border-color: transparent;
  position: relative;
  box-shadow: var(--shadow-hard);
}

.price-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  position: absolute;
  top: -14px;
  right: 28px;
}

.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-card .price {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 40px;
  margin: 14px 0 4px;
}
.price-card .price span { font-size: 15px; font-weight: 500; opacity: 0.7; }
.price-card .price-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.price-card.highlight .price-note { color: var(--muted-invert); }

.price-list { margin-bottom: 26px; }
.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  padding: 7px 0;
  color: var(--muted);
}
.price-card.highlight .price-list li { color: var(--muted-invert); }
.price-list li .chk { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.price-card.highlight .price-list li .chk { color: var(--accent-2); }

.pricing-disclaimer {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Manifesto ---------- */

.manifesto {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.manifesto blockquote {
  margin: 0 0 28px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: #fff;
}

.manifesto .signoff {
  color: var(--muted-invert);
  font-size: 14.5px;
}

/* ---------- Waitlist ---------- */

.waitlist-box {
  background: linear-gradient(150deg, var(--accent-dark), var(--navy-900) 70%);
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .waitlist-box { grid-template-columns: 1fr; padding: 36px 26px; } }

.waitlist-box h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.waitlist-box p { color: rgba(255,255,255,0.82); font-size: 15.5px; }

.waitlist-perks { margin-top: 20px; }
.waitlist-perks li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
}
.waitlist-perks li .chk { color: #fff; flex-shrink: 0; }

.waitlist-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
}

.form-row { margin-bottom: 14px; }

.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.75);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(5,7,13,0.35);
  color: #fff;
  font-size: 14.5px;
  font-family: "Inter", sans-serif;
}
.form-row input::placeholder { color: rgba(255,255,255,0.45); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.form-check input { margin-top: 3px; }

.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: #fff;
}
.form-success h4 { color: #fff; margin-bottom: 6px; }
.form-success p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }

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

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

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: "Inter", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.2s ease;
  font-size: 16px;
}

.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a-inner { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; max-width: 680px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.contact-card a.email { font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: var(--muted-invert);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--faint-invert); max-width: 280px; }

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--faint-invert);
  padding: 6px 0;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--faint-invert);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--faint-invert);
  max-width: 820px;
  margin-top: 18px;
  line-height: 1.6;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 64px 0 44px;
}
.legal-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.legal-hero p { color: var(--muted-invert); margin: 0; }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-body h2 { font-size: 21px; margin-top: 40px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 15px; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal-body li { padding: 3px 0; }

.notice-box {
  background: var(--paper-2);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ---------- Utilities ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: "Poppins", sans-serif;
}
.mobile-menu .btn { margin-top: 28px; }
.mobile-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

svg { display: block; }

/* ==========================================================================
   Community feed — story-style rail + viewer
   ========================================================================== */

.feed-section { padding-top: 26px; padding-bottom: 64px; background: var(--paper-2); }
.feed-section .section-head { margin-bottom: 22px; }

.feed-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
}
.feed-subhead h3 {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
}
.feed-subhead-note { font-size: 12.5px; color: var(--muted); }

.feed-rail {
  overflow: hidden;
  padding: 6px 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
}

.feed-track {
  display: flex;
  width: max-content;
  animation: feedScroll 52s linear infinite;
}

.feed-rail:hover .feed-track,
.feed-track.paused {
  animation-play-state: paused;
}

@keyframes feedScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feed-group {
  display: flex;
  gap: 22px;
  flex-shrink: 0;
  padding: 0 11px 0 24px;
}

.story-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 84px;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.story-bubble:hover .story-ring { transform: scale(1.05); }
.story-ring.seen { background: var(--border-light); }
.story-ring.active-ring { background: linear-gradient(135deg, var(--green), #6ee7ac); }

.story-avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--paper-2);
  padding: 2.5px;
}

.story-avatar-gradient {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.story-play-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.story-play-badge svg { margin-left: 1px; }
.story-play-badge.active-badge { background: var(--green); }
.story-play-badge.active-badge .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulseDot 1.7s ease-in-out infinite;
}

.story-live-dot {
  position: absolute;
  top: -2px;
  right: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--paper-2);
  animation: pulseDot 1.7s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 174, 110, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(31, 174, 110, 0); }
}

.story-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-time { font-size: 11px; color: var(--muted); }
.story-time.live { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.story-add {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 26px;
  font-weight: 300;
  background: var(--paper);
}

/* gradient palette for placeholder avatars */
.g1 { background: linear-gradient(135deg, #db1f52, #ff7a93); }
.g2 { background: linear-gradient(140deg, #0b0f1a, #db1f52); }
.g3 { background: linear-gradient(135deg, #a81440, #2a3652); }
.g4 { background: linear-gradient(160deg, #ff3d68, #121a2c); }
.g5 { background: linear-gradient(135deg, #1fae6e, #0b0f1a); }
.g6 { background: linear-gradient(150deg, #db1f52, #121a2c); }

/* ---------- Video feed grid ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.video-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }

.video-thumb {
  position: relative;
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
}

.video-thumb .story-play { width: 46px; height: 46px; z-index: 1; }
.video-thumb .story-play svg { width: 17px; height: 17px; }

.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(5, 7, 13, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
}

.video-badge.active-now {
  background: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.video-badge.active-now::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.7s ease-in-out infinite;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.55);
  color: #fff;
  z-index: 1;
}

.video-info {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.video-member {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.video-member .story-avatar { width: 30px; height: 30px; font-size: 12px; flex-shrink: 0; }
.video-member-text { min-width: 0; }
.video-member-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-member-sub { font-size: 11.5px; color: var(--muted); display: block; }

.video-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}
.video-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.video-tag.reason { background: var(--accent-tint); color: var(--accent); border-color: transparent; }

.video-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 2px; }
.video-actions .btn { flex: 1; padding: 9px 8px; font-size: 12px; }

.btn-follow[data-following="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.feed-load-more { display: flex; justify-content: center; margin-top: 30px; }
.feed-load-more .btn[hidden] { display: none; }

/* ---------- Story viewer modal ---------- */

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.story-modal.open { display: flex; }

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(4px);
}

.story-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  color: #fff;
  z-index: 1;
}

.story-inner {
  background: var(--navy-900);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.story-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  margin: 12px 14px 0;
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}
.story-progress-fill.animate { transition: width linear; }

.story-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
}

.story-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.story-meta { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.story-meta strong { font-size: 14px; }
.story-meta span { font-size: 11.5px; color: var(--muted-invert); }

.story-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.75;
  padding: 4px;
  display: flex;
}
.story-close:hover { opacity: 1; }

.story-visual {
  margin: 0 14px;
  height: 360px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-left: 4px;
}

.story-stats {
  display: flex;
  gap: 20px;
  padding: 14px 16px 0;
  flex-wrap: wrap;
}
.story-stat { font-size: 12px; color: var(--muted-invert); }
.story-stat strong { display: block; color: #fff; font-size: 13.5px; margin-top: 2px; }

.story-caption { padding: 10px 16px 22px; font-size: 13.5px; color: var(--muted-invert); margin: 0; }

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-nav:hover { background: rgba(255, 255, 255, 0.2); }
.story-nav.prev { left: -54px; }
.story-nav.next { right: -54px; }

@media (max-width: 560px) {
  .story-nav { display: none; }
  .story-visual { height: 300px; }
}

/* ============ MARKETPLACE: REVIEWS, GEAR TAGS, APPROVED BADGE ============ */
.review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg, 18px);
  padding: 22px;
  box-shadow: var(--shadow-soft, 0 10px 30px rgba(20, 24, 40, 0.06));
  align-self: center;
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card-top > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin-right: auto;
}
.review-card-top strong { font-size: 14px; }
.review-card-top span { font-size: 11.5px; color: var(--muted); }
.review-stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
  flex-shrink: 0;
}
.review-stars svg { width: 14px; height: 14px; fill: #f5a623; }
.review-card-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 14px;
}
.review-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gear-used {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}
.gear-used-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.approved-badge {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 40px rgba(219, 31, 82, 0.25);
}
.approved-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approved-badge strong {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.approved-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.approved-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.approved-list li .chk {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
