/* ================= Social Jen landing =================
   Brand: violet #BA5DED (J mark), deep navy #041A34 (wordmark).
   Feel: feminine futuristic - soft lilac light, confident navy dark,
   violet-to-pink gradients, rounded geometry echoing the logo. */

:root {
  --violet: #BA5DED;
  --violet-deep: #8A3BC4;
  --pink: #F45FBD;
  --navy: #041A34;
  --navy-soft: #16304E;
  --ink: #101C33;
  --body: #3C4A61;
  --bg: #FBF8FE;
  --lilac: #F4EBFC;
  --lilac-deep: #E9D9F9;
  --card: #FFFFFF;
  --border: #E8DDF5;
  --grad: linear-gradient(100deg, var(--violet-deep), var(--violet) 45%, var(--pink));
  /* Same sweep, stops deepened so white text passes WCAG AA (>=4.5:1) at
     every point. The full-brightness --grad stays for decorative fills and
     large gradient-clipped display text, where AA large-text applies. */
  --grad-on-white-text: linear-gradient(100deg, var(--violet-deep), #A24BD6 45%, #C2308F);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px -18px rgba(74, 27, 118, 0.25);
  --font-display: "Fredoka", "DM Sans", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, .step-num, .nav-wordmark, dt {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.3px; }
h3 { font-size: 1.18rem; font-weight: 500; }
p  { max-width: 62ch; }

img { max-width: 100%; height: auto; }
a { color: var(--violet-deep); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-warm {
  background: linear-gradient(100deg, var(--pink), #F0A84B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 150ms ease;
}
.skip-link:focus { top: 12px; }

.section-inner { max-width: 1120px; margin: 0 auto; padding: 96px 24px; }
.section-inner.narrow { max-width: 880px; }
.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--violet-deep);
  margin-bottom: 10px;
}
.section-sub { margin: 18px 0 8px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 28px; min-height: 48px;
  text-decoration: none; white-space: nowrap;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.btn-primary {
  background: var(--grad-on-white-text); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(186, 93, 237, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(186, 93, 237, 0.75); }
.btn-light { background: #fff; color: var(--violet-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(4, 26, 52, 0.55); }
.btn-small { padding: 10px 20px; min-height: 42px; font-size: 0.94rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 254, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 221, 245, 0.8);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-wordmark { font-size: 1.3rem; color: var(--navy); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--body); font-weight: 500; font-size: 0.95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.nav-links a:hover { color: var(--violet-deep); border-color: var(--violet); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login { text-decoration: none; font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.nav-login:hover { color: var(--violet-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero-glow-a {
  width: 560px; height: 560px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(186, 93, 237, 0.35), transparent 65%);
}
.hero-glow-b {
  width: 480px; height: 480px; bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(244, 95, 189, 0.22), transparent 65%);
}
.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 84px 24px 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lilac); border: 1px solid var(--border);
  color: var(--violet-deep); font-weight: 500; font-size: 0.88rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--grad);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }
.access { padding: 56px 0 8px; }
.access-inner { max-width: 780px; }
.access-inner h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.access-inner p { margin: 0 0 14px; line-height: 1.65; }
.access-inner a { color: var(--violet-deep); }

.hero-lede { margin: 22px 0 0; font-size: 1.05rem; line-height: 1.6; }
.hero-lede strong { color: var(--ink); }
.hero-sub { margin: 14px 0 30px; font-size: 1.12rem; }

/* Waitlist form */
.waitlist-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.waitlist-form input[type="email"] {
  flex: 1 1 260px; min-height: 48px; padding: 12px 20px;
  font: inherit; color: var(--ink);
  border: 2px solid var(--border); border-radius: 999px; background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.waitlist-form input[type="email"]:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(186, 93, 237, 0.18);
}
.waitlist-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { flex-basis: 100%; font-size: 0.85rem; color: #7A87A0; margin-top: 2px; }
.form-note.ok { color: #1B7F4D; font-weight: 500; }
.form-note.err { color: #C42348; font-weight: 500; }

/* Platform strip */
.platform-strip { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.platform-label {
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--ink);
  white-space: nowrap;
}
.platform-icons { display: flex; gap: 9px; list-style: none; flex-wrap: wrap; }
.platform-icons li {
  width: 38px; height: 38px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.platform-icons li:hover { transform: translateY(-3px) rotate(-3deg); box-shadow: var(--shadow-soft); }
.platform-icons img { width: 20px; height: 20px; }

/* Chat card */
.hero-chat { position: relative; }
.chat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px; max-width: 430px; margin-left: auto;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--lilac-deep); margin-bottom: 16px;
}
.chat-head strong { font-family: var(--font-display); font-weight: 500; color: var(--ink); display: block; }
.chat-status { font-size: 0.8rem; color: #7A87A0; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; }
.chat-body { display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.msg {
  max-width: 85%; padding: 11px 16px; font-size: 0.95rem; line-height: 1.45;
  opacity: 0; transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.msg.shown { opacity: 1; transform: none; }
.msg.jen {
  align-self: flex-start; background: var(--lilac); color: var(--ink);
  border-radius: 18px 18px 18px 6px;
}
.msg.you {
  align-self: flex-end; background: var(--grad-on-white-text); color: #fff;
  border-radius: 18px 18px 6px 18px;
}
.chat-typing {
  display: none; gap: 5px; padding: 12px 16px 2px;
}
.chat-typing.on { display: inline-flex; }
.chat-typing span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--violet);
  animation: bounce 1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-5px); opacity: 1; } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow-soft);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip img { width: 16px; height: 16px; }
.chip-a { top: -18px; left: 4px; animation-delay: 0s; }
.chip-b { bottom: 46px; left: -26px; animation-delay: 1.4s; }
.chip-c { bottom: -16px; right: 30px; animation-delay: 2.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); }
.stats-inner {
  max-width: 1120px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stats-inner div { text-align: center; }
.stats-inner dt {
  font-size: 2rem; color: #fff;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-inner dd { color: #B9C6DB; font-size: 0.92rem; margin-top: 2px; }

/* ---------- Meet Jen ---------- */
.meet { background: var(--bg); }
.meet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.meet-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.meet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.meet-icon, .feature-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--lilac); color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.meet-icon svg, .feature-icon svg { width: 26px; height: 26px; }
.meet-card p, .feature-card p { margin-top: 8px; font-size: 0.97rem; }

/* ---------- Features ---------- */
.features { background: linear-gradient(180deg, var(--bg), var(--lilac) 140%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(186,93,237,0.12), transparent 45%);
  opacity: 0; transition: opacity 220ms ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.feature-card:hover::after { opacity: 1; }

/* ---------- Shop ---------- */
.shop { background: var(--navy); color: #C7D2E4; }
.shop .kicker { color: var(--pink); }
.shop h2 { color: #fff; }
.shop .section-sub { color: #C7D2E4; }
.shop-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.shop-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.shop-list li {
  padding-left: 34px; position: relative; font-size: 0.99rem;
}
.shop-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 7px; background: var(--grad);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}
.shop-list strong { color: #fff; }
.shop-visual { display: flex; justify-content: center; }
.listing-card {
  background: #fff; border-radius: var(--radius-lg); padding: 20px;
  width: min(360px, 100%); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.55);
  transform: rotate(2deg);
}
.listing-photo { position: relative; }
.listing-grade {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-on-white-text); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(186, 93, 237, 0.8);
}
.listing-photo svg { width: 100%; border-radius: 14px; display: block; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag {
  background: var(--lilac); color: var(--violet-deep);
  font-size: 0.78rem; font-weight: 500; padding: 4px 12px; border-radius: 999px;
}
.listing-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--body); padding: 8px 0; border-top: 1px dashed var(--border);
}
.listing-row img { width: 18px; height: 18px; }

/* ---------- How ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 44px; counter-reset: step;
}
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; margin-bottom: 16px;
  background: var(--grad-on-white-text); color: #fff; font-size: 1.2rem;
}
.step p { margin-top: 8px; font-size: 0.97rem; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy); overflow: hidden; }
.cta-glow {
  position: absolute; inset: -40% -20%; pointer-events: none;
  background:
    radial-gradient(38% 45% at 30% 60%, rgba(186, 93, 237, 0.4), transparent 70%),
    radial-gradient(30% 40% at 75% 30%, rgba(244, 95, 189, 0.3), transparent 70%);
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-logo {
  width: 210px; height: auto; margin-bottom: 26px;
  background: #fff; border-radius: 36px; padding: 20px;
  box-shadow: 0 12px 44px rgba(186, 93, 237, 0.45);
}
.cta h2 { color: #fff; }
.cta p { color: #C7D2E4; margin-top: 12px; }
.cta-form { justify-content: center; margin-top: 28px; }
.cta .form-note { color: #93A5C1; text-align: center; }
.cta .form-note.ok { color: #7BE0AC; }
.cta .form-note.err { color: #FF9DB8; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0 22px;
  transition: box-shadow 200ms ease;
}
.faq-list details[open] { box-shadow: var(--shadow-soft); border-color: var(--lilac-deep); }
.faq-list summary {
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink);
  padding: 18px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.5rem; color: var(--violet);
  transition: transform 200ms ease; line-height: 1;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; font-size: 0.97rem; }

/* ---------- Footer ---------- */
.footer { background: #02101F; color: #93A5C1; }
.footer-inner { padding: 56px 24px 44px; display: flex; flex-direction: column; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { font-family: var(--font-display); font-weight: 500; color: #fff; display: block; font-size: 1.15rem; }
.footer-brand span { font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { color: #C7D2E4; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { font-size: 0.8rem; max-width: none; }

/* ---------- Reveal on scroll ----------
   Content is visible by default; only when the script confirms it is running
   (html.js) does anything start hidden. Blank sections for anyone whose
   JavaScript failed to load is too high a price for an entrance animation. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 550ms ease, transform 550ms ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .chat-card { margin: 0 auto; }
  .shop-inner { grid-template-columns: 1fr; }
  .meet-grid, .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .meet-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .section-inner { padding: 72px 20px; }
  .nav-login { display: none; }
  .float-chip { display: none; }
  .chat-body { min-height: 340px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg { opacity: 1; transform: none; transition: none; }
  .float-chip, .eyebrow-dot, .chat-typing span { animation: none; }
  .btn, .meet-card, .feature-card, .platform-icons li { transition: none; }
}
