/* ==========================================================================
   SHAYLA — Landing Page Stylesheet
   Design system adapted from the Flutter app
   ========================================================================== */

/* --------------------------------------------------------------------------
   @font-face
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Brand wordmark face — Unbounded (Rounded Pop direction). Used for the SHAYLA
   wordmark in the header and the in-app welcome lockup. */
@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/Unbounded-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Design Tokens (CSS custom properties)
   -------------------------------------------------------------------------- */

:root {
  /* Colors */
  --color-bg:             #0D0B10;
  --color-surface:        #1A161F;
  --color-text-primary:   #EDE8F2;
  --color-text-secondary: #B8B0C4;
  --color-accent:         #A855F7;
  --color-lime:           #A6EB38;

  /* Typography */
  --font-heading: 'Geist', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-s:   8px;
  --space-m:   16px;
  --space-l:   24px;
  --space-xl:  32px;
  --space-xxl: 48px;
  /* Section vertical padding — bigger breathing room for full-width bands. */
  --space-section: clamp(80px, 10vh, 140px);

  /* Border radius */
  --radius-sm:   12px;
  --radius-card: 36px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

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

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

html {
  /* Painted in the overscroll area so the rubber-band bounce at the top of
     the page shows the header color rather than a cream gap. */
  background-color: #3B2A40;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FAF4ED;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Layout — constrained center column
   -------------------------------------------------------------------------- */

main,
footer {
  width: 100%;
  max-width: 600px;
  padding-left: var(--space-l);
  padding-right: var(--space-l);
}

/* --------------------------------------------------------------------------
   Main
   -------------------------------------------------------------------------- */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Phone Frame
   -------------------------------------------------------------------------- */

.phone-frame {
  position: relative;
  height: min(70vh, 700px);
  width: auto;
  aspect-ratio: 9 / 19.5;
  background: #1a1a1a;
  border-radius: 44px;
  border: 3px solid #2a2a2a;
  padding: 3px;
  margin-bottom: 64px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 80px 30px rgba(168, 85, 247, 0.15),
    0 0 160px 60px rgba(168, 85, 247, 0.10),
    0 0 260px 100px rgba(166, 235, 56, 0.06),
    0 0 320px 140px rgba(255, 50, 120, 0.05);
}

.phone-dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: #050505;
  container-type: inline-size;
}

.phone-screen video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.screen-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 28px;
  /* Bottom scrim — keeps the pink SHAYLA wordmark legible over any video frame.
     Darkens only the lower area where the lockup sits; fully transparent up top
     so the imagery still reads. Plum-tinted to match the brand. */
  background: linear-gradient(to top,
    rgba(18, 8, 22, 0.62) 0%,
    rgba(18, 8, 22, 0.30) 42%,
    rgba(18, 8, 22, 0) 78%);
}

/* --------------------------------------------------------------------------
   Welcome Title (inside phone)
   -------------------------------------------------------------------------- */

.welcome-title {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  margin-bottom: 12px;
}

/* Escalating build-up: OOH (small) -> LA LA (medium) -> SHAYLA (largest/heaviest). */
.title-its {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(14px, 9.5cqi, 31px);
  color: rgba(255, 255, 255, 0.8); /* slightly softened so OH recedes; LA LA → SHAYLA lead */
}

.title-lala {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(19px, 13cqi, 45px); /* smaller than before, still > OH */
  white-space: nowrap;
  margin-top: 0.06em; /* tight stack; no accents to clear */
  color: #46D7D7; /* cyan — tri-colour contrast against the vivid-pink SHAYLA */
}

.title-shayla {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  /* Unbounded is a wide face, so the cqi value is reduced. Tuned
     to leave a small margin before the right frame edge (the 1.10 S-stretch
     widened the word), with OH/LA LA scaled down by the same ratio above. */
  font-size: clamp(22px, 14cqi, 47px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #FF2E93; /* vivid hot pink — matches the header wordmark, on the scrim */
}

.welcome-tagline {
  font-family: var(--font-body);
  font-size: clamp(10px, 4.5cqi, 13px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.welcome-btn {
  width: 100%;
  padding: clamp(10px, 4.5cqi, 14px);
  background: var(--color-lime);
  color: #050505;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(12px, 5.5cqi, 15px);
  letter-spacing: 0.5px;
  text-align: center;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Download Badges
   -------------------------------------------------------------------------- */

.download-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-m);
  margin-bottom: var(--space-s);
}

.download-badges a {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.download-badges a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.download-badges a:active {
  transform: scale(0.97);
}

.download-badges img {
  height: 44px;
  width: auto;
}

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

footer {
  padding-top: var(--space-xs);
  padding-bottom: var(--space-m);
  text-align: center;
}

footer p {
  font-size: 14px;
  color: #7a7284;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 379px) {
  .phone-frame {
    height: min(60vh, 500px);
  }

  .download-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .phone-frame {
    margin-bottom: var(--space-l);
  }

  .download-badges {
    margin-bottom: var(--space-m);
  }
}

@media (min-width: 768px) {
  .download-badges img {
    height: 48px;
  }
}

@media (min-height: 900px) {
  .phone-frame {
    height: min(72vh, 800px);
  }
}

/* ==========================================================================
   Issue #283 — Marketing site redesign
   ========================================================================== */

/* Relax the mobile-only constraint for desktop while preserving the narrow
   feel for the hero phone-frame component. */
.site-footer {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-l);
  padding-right: var(--space-l);
}

/* Header is a full-width band with its background color. Inner wrapper
   constrains content to 1100px and centers it. */
.site-header {
  width: 100%;
}
.site-header__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--space-l);
  padding-right: var(--space-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: 46px;
}

/* Sections span full viewport width so per-section backgrounds paint edge to
   edge. Inner content is constrained via max-width on the section's first
   child block. */
.section {
  width: 100%;
  padding-left: var(--space-l);
  padding-right: var(--space-l);
}
.section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* --------- Per-section solid pastel backgrounds with vertical spacing between ---------
   Each section is a full-width band with a solid pastel color. Vertical margin
   between sections shows the body's warm-peach backdrop in the gap, so each
   section reads as a distinct block. */
.hero                          { background-color: #FFF0E6; }
.section.whats-inside          { background-color: #EAF2FF; }
.section.try-on                { background-color: #DEEBC9; }
@media (max-width: 768px) {
  .section.try-on { display: none; }
}
.section.social-proof          { background-color: #FFFAE0; }
/* Account-deletion page: pale-blue hero (scoped to this page) + warm-peach
   content section, so the three bands stay distinct — blue hero, peach content,
   cream footer. */
.page-delete-account .support-hero { background-color: #EAF2FF; }
.section.delete-account            { background-color: #FFF0E6; }

/* Apple-style: thin sliver of body background between each section so they
   read as distinct tiles rather than one continuous wall of color. */
main > .section + .section { margin-top: 12px; }

/* --------- Site header --------- */
/* Softer plum band — quiet enough not to compete with the hero, dark enough
   for the hot-pink wordmark to clear WCAG AA. */
.site-header {
  background: #3B2A40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html { scroll-behavior: smooth; }
.site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
/* SHAYLA wordmark — Unbounded 800, -0.02em, uppercase, vivid pink. A bigger,
   bolder header presence (Rounded Pop direction). The header band is always the
   dark plum (#3B2A40), so the vivid variant (#FF2E93) is used here; the deeper
   variant (#D6477A) remains for the wordmark on light surfaces. */
.site-header__wordmark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #FF2E93; /* vivid hot pink — the wordmark colour */
}

/* Optical correction for the SHAYLA wordmark. Unbounded draws the round S
   narrower than the A (~0.87x its width), which reads as a weak start. Widen
   just the S a touch so the word looks evenly weighted. Applied wherever the
   Unbounded wordmark renders (header + welcome lockup) by wrapping its leading
   S: <span class="wm-s">S</span>HAYLA. transform-origin:left keeps the left edge
   anchored; margin-right reclaims the width scaleX adds so spacing stays right. */
.wm-s {
  display: inline-block;
  transform: scaleX(1.10); /* brings the S to ~0.97x the A (near-equal) */
  transform-origin: left center;
  margin-right: 0.08em;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  /* acidLimeGreen — frontend's primary "Sign Up" action color on the join
     screen. Reused here so "Get the App" maps to the same primary CTA. */
  background: #A6EB38;
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s ease;
}
.site-header__cta:hover { background: #92D628; }

/* --------- Section base --------- */
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  margin-bottom: var(--space-m);
  color: #1a1a1a;
}
.section__subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  color: #4a4452;
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

/* --------- Hero (responsive expansion) ---------
   .hero is the full-width band (its background paints edge to edge for the
   per-section gradient). .hero__inner constrains content to 1100px. */
.hero {
  width: 100%;
  padding: var(--space-l) 0;
}
.hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--space-l);
  padding-right: var(--space-l);
}
@media (min-width: 900px) {
  .hero { padding: var(--space-xxl) 0; }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-xxl);
    align-items: center;
  }
  .hero__inner .phone-frame { margin-bottom: 0; justify-self: end; }
  .hero__inner .hero__copy { justify-self: start; }
}
.hero__headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1.0;
  margin-bottom: var(--space-m);
  color: #1a1a1a;
}
.hero__tagline {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #4a4452;
  margin-bottom: var(--space-l);
  max-width: 480px;
}


/* --------- Feature sections (alternating) --------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  aspect-ratio: 9 / 16;
  max-width: 320px;
  width: 100%;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.feature__media--placeholder {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-l);
}
.feature__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: var(--space-m);
  color: #1a1a1a;
}
.feature__desc {
  color: #4a4452;
  margin-bottom: var(--space-m);
  max-width: 480px;
}
.feature__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature__bullets li {
  padding: var(--space-xs) 0;
  color: #1a1a1a;
}
.feature__bullets li::before {
  content: "✓ ";
  color: var(--color-accent);
  font-weight: 700;
}

/* --------- Social proof --------- */
.social-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
}
@media (min-width: 768px) {
  .social-proof__grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: var(--space-l);
  box-shadow: var(--shadow-card);
}
.testimonial__quote { color: #1a1a1a; margin-bottom: var(--space-s); }
.testimonial__author { font-weight: 600; color: #4a4452; font-size: 0.9rem; }

/* --------- Final CTA --------- */
.cta-final {
  /* Warm spotlight: a soft radial glow centered above the title, fading
     out to the page's peach. Reinforces the "stage / spotlight" metaphor
     so the closing CTA literally sits in a beam of light. */
  background: radial-gradient(ellipse at 50% 30%, #FFE0CC 0%, #FFF0E6 65%);
  color: #1a1a1a;
  text-align: center;
  padding: var(--space-section) var(--space-l);
  width: 100%;
}
.cta-final__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: var(--space-s);
  color: #1a1a1a;
}
.cta-final__title-styla { color: #ED5A8E; }
.cta-final__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #4a4452;
  margin-bottom: var(--space-l);
}
.cta-final .download-badges { margin-top: var(--space-l); margin-bottom: 0; }

/* --------- Footer expansion ---------
   Row 1: the action links — "Become a creator | Delete account" left-aligned,
   the utility links (Support/Privacy/Terms) right-aligned. Row 2: the legal
   line on its own. On narrow screens the groups wrap and stack. */
.site-footer {
  text-align: left;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-s);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
}
.site-footer__actions,
.site-footer__utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-l);
}
.site-footer__nav a,
.site-footer__delete {
  color: #4a4452;
  font-size: 0.9rem;
}
.site-footer__nav a:hover,
.site-footer__delete:hover { color: #1a1a1a; }
/* Vertical splitter between the creator invitation and "Delete account". */
.site-footer__sep {
  flex: none;
  align-self: center;
  width: 1px;
  height: 0.95em;
  background: rgba(74, 68, 82, 0.28);
}

/* Audience invitation, not fine print — the creator gold->pink gradient
   (same as the creator-avatar ring). */
.site-footer__creators {
  font-weight: 600;
  font-size: 0.9rem;
  color: #A8761F; /* fallback if background-clip:text is unsupported */
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .site-footer__creators {
    /* Creator pink->gold identity, deepened so the whole word stays legible
       on the light cream footer (the pale avatar gold washes out here). */
    background: linear-gradient(120deg, #FC5C7D 0%, #E8804F 55%, #C98A2E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .site-footer__creators:hover {
    background: linear-gradient(120deg, #E5466B 0%, #DC6B3E 55%, #B5781F 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.site-footer__creators:hover { color: #8C611A; }
.site-footer__legal { font-size: 0.9rem; color: #5f5868; margin: 0; }

/* --------- 404 / generic content pages --------- */
.error-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-l);
}
.error-page h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: var(--space-l);
}
.error-page p {
  margin-bottom: var(--space-m);
  color: #1a1a1a;
}

/* --------- Support page --------- */
.support-hero {
  background-color: #FFF0E6;
  padding-top: clamp(64px, 9vh, 120px);
  padding-bottom: clamp(64px, 9vh, 120px);
  text-align: center;
}
.support-hero__inner { max-width: 780px; }
.support-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6D28D9;
  background: rgba(168, 85, 247, 0.10);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-l);
}
.support-hero__headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-m);
  color: #1a1a1a;
}
.support-hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: #4a4452;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}
.support-hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}
.support-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.support-cta--primary {
  background: #1a1a1a;
  color: #FAF4ED;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.18);
}
.support-cta--primary:hover { background: #000; transform: translateY(-1px); }
.support-cta--ghost {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.2);
}
.support-cta--ghost:hover { background: rgba(26, 26, 26, 0.06); }

.support-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.support-faq {
  background-color: #EAF2FF;
  padding-top: clamp(64px, 8vh, 110px);
  padding-bottom: clamp(64px, 8vh, 110px);
}
.support-faq__inner { max-width: 760px; }
.support-faq__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto var(--space-xl);
}
.support-faq__chip-break {
  flex-basis: 100%;
  height: 0;
}
.support-faq__chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.2);
  text-decoration: none;
  transition: background 0.2s ease;
}
.support-faq__chip:hover { background: rgba(26, 26, 26, 0.06); }
.support-faq__group-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: var(--space-xl) 0 var(--space-m);
  scroll-margin-top: 80px;
}
.support-faq__group-title:first-of-type { margin-top: 0; }
.support-faq__item {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: var(--space-s);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.support-faq__item:hover { border-color: rgba(26, 26, 26, 0.12); }
.support-faq__item[open] {
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
  border-color: rgba(168, 85, 247, 0.35);
}
.support-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: #1a1a1a;
  position: relative;
  border-radius: var(--radius-sm);
}
.support-faq__item summary::-webkit-details-marker { display: none; }
.support-faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.support-faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.support-faq__item p {
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4452;
  margin: 0;
}
.support-faq__item p a {
  color: #8A4BD1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.support-faq__item p a:hover { color: #6b21a8; }

.support-contact {
  background-color: #FFFAE0;
  padding-top: clamp(64px, 8vh, 110px);
  padding-bottom: clamp(80px, 10vh, 130px);
}
.support-contact__inner { max-width: 760px; }
.support-contact__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: var(--shadow-card);
}
.support-contact__lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 var(--space-l);
  line-height: 1.4;
}
.support-contact__email {
  color: #8A4BD1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  word-break: break-word;
}
.support-contact__email:hover { color: #6b21a8; }
.support-contact__hint {
  font-size: 15px;
  font-weight: 600;
  color: #4a4452;
  margin: 0 0 var(--space-s);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.support-contact__checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-l);
}
.support-contact__checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
}
.support-contact__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 9px;
  border-left: 2px solid #A6EB38;
  border-bottom: 2px solid #A6EB38;
  transform: rotate(-45deg);
}
.support-contact__sla {
  font-size: 14px;
  color: #7a7284;
  margin: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding-top: var(--space-m);
}
.button-primary {
  display: inline-block;
  background: #FF9FF3;
  color: #1a1a1a;
  padding: var(--space-m) var(--space-l);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-body);
}
.button-primary:hover { background: #F37FE0; }

/* --------- Focus visibility (a11y baseline) --------- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------- Skip-to-content link (WCAG 2.4.1) --------- */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  z-index: 1000;
  transform: translateY(-200%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

main:focus { outline: none; }

/* --------- main override for new layout ---------
   The original CSS forces main to flex-center the phone-frame. For multi-section
   pages we want vertical flow instead. The .page-home class keeps the centered
   layout; everything else gets flow. */
body:not(.page-home):not(.page-default) main {
  justify-content: flex-start;
  max-width: none;
  padding: 0;
}
body.page-home main {
  max-width: none;
  padding: 0;
  display: block;
  justify-content: initial;
  align-items: stretch;
}

/* ==========================================================================
   Tile row — "what's inside"
   ========================================================================== */

.whats-inside__intro {
  text-align: center;
  padding: 0 var(--space-l) clamp(40px, 6vw, 72px);
}
.whats-inside__intro .section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 12px;
}
.whats-inside__intro .section__subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  color: #4a4452;
  max-width: 640px;
  margin: 0 auto;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  padding: 0 clamp(20px, 4vw, 60px);
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
/* Dark bezel for all three (matches the section-1 hero phone). Per-tile
   differentiation now lives in the screen content itself, not in halos. */
.tile--clips,
.tile--saved,
.tile--tryon {
  --bezel-face: #1a1a1a;
  --bezel-ring: #2a2a2a;
}

/* Outer phone bezel: same 9/19.5 aspect and chrome as the hero phone, but
   smaller cap (480px max instead of 620) — three phones at full hero size
   make a wall. Center phone offset down 24px for staggered rhythm. */
.tile__media {
  position: relative;
  z-index: 1;
  height: clamp(280px, 38vh, 480px);
  width: auto;
  aspect-ratio: 9 / 19.5;
  max-width: 100%;
  background: var(--bezel-face, #1a1a1a);
  border: 3px solid var(--bezel-ring, #2a2a2a);
  border-radius: 40px;
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.tile__media > * {
  border-radius: 34px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.tile__screen {
  display: block;
  object-fit: cover;
}

.tile__media--placeholder {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-l);
}

/* Auto-scrolling stylist feed for tile A. Two identical halves stacked
   vertically inside the track; track translates by exactly -50% over the
   full duration so the loop is seamless (the second half lands where the
   first started). */
.feed-scroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}
/* Mimics the app's vertical PageView snap: each card holds visible for ~2.5s
   then glides to the next. Track has 16 cards (8 unique, duplicated) and
   travels exactly -50% per cycle so the loop is seamless. */
.feed-scroll__track {
  display: flex;
  flex-direction: column;
  height: 1600%;
  animation: feed-snap 24s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  will-change: transform;
}
@keyframes feed-snap {
  0%,    10.5% { transform: translateY(0); }
  12.5%, 23%   { transform: translateY(-6.25%); }
  25%,   35.5% { transform: translateY(-12.5%); }
  37.5%, 48%   { transform: translateY(-18.75%); }
  50%,   60.5% { transform: translateY(-25%); }
  62.5%, 73%   { transform: translateY(-31.25%); }
  75%,   85.5% { transform: translateY(-37.5%); }
  87.5%, 98%   { transform: translateY(-43.75%); }
  100%         { transform: translateY(-50%); }
}
.feed-card {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
}
.feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Top-left user info — matches app's ImagePageItem: avatar + bold username,
   white text with a soft shadow for legibility on any image. */
.feed-card__user {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.feed-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: #1a1a1a;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.feed-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
@media (prefers-reduced-motion: reduce) {
  .feed-scroll__track { animation: none; }
}

/* ---- Tile B: saved looks board ---- */
.saved-board {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  box-sizing: border-box;
}
.saved-board__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #fff;
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.saved-board__title { font-weight: 700; font-size: 16px; letter-spacing: -0.2px; }
.saved-board__count { font-weight: 500; font-size: 12px; color: rgba(255,255,255,0.5); }
.saved-board__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
.saved-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
}
.saved-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.saved-thumb__heart {
  position: absolute;
  top: 6px; right: 8px;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ---- Tile C: AI try-on before/after slider ---- */
.tryon {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d0d0d;
}
.tryon__after,
.tryon__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tryon__before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  animation: tryon-sweep 6s ease-in-out infinite alternate;
}
.tryon__before-wrap .tryon__before {
  width: 200%;
  filter: grayscale(0.3) brightness(0.95);
}
.tryon__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  animation: tryon-handle 6s ease-in-out infinite alternate;
}
.tryon__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.tryon__labels {
  position: absolute;
  inset: auto 0 18px 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.tryon__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
@keyframes tryon-sweep {
  from { width: 30%; }
  to   { width: 70%; }
}
@keyframes tryon-handle {
  from { left: 30%; }
  to   { left: 70%; }
}
@media (prefers-reduced-motion: reduce) {
  .tryon__before-wrap, .tryon__handle { animation: none; }
}

.tile__body {
  padding: 24px 0 0;
  text-align: center;
  max-width: 100%;
}
.tile__num {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  color: #6b6470;
  margin-bottom: 10px;
}
.tile__label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.tile__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4a4452;
  margin: 0;
}

/* ==========================================================================
   Feed section — phone-frame + copy bridge between tiles and AI section
   ========================================================================== */

.section.feed { background-color: #FFF8F0; }

.feature__title-styla { color: #7FD8C7; }

/* Feed heading is the first-section hero moment — bigger than other features.
   The feed section's grid (below) gives the text column 55% so the headline
   can scale higher without wrapping. */
.feed__headline {
  font-size: clamp(56px, 8.5vw, 108px) !important;
  letter-spacing: -2px !important;
  line-height: 1.05 !important;
  margin-bottom: var(--space-l) !important;
}
/* Give the headline column slightly more horizontal room so the bigger
   slogan stays on its 2 lines. */
@media (min-width: 900px) {
  .section.feed .feature {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
.feed__subhead {
  font-size: clamp(18px, 1.8vw, 22px) !important;
  line-height: 1.45 !important;
  max-width: 520px !important;
  margin-bottom: 0 !important;
}
/* Two-line stacked headline: each line is a complete phrase, no wrapping. */
.feed__line { display: block; white-space: nowrap; }
.feed__verb {
  color: #ED5A8E;
  font-size: 1.1em;
}

/* When a feature__media holds the existing .phone-frame component, drop the
   surface background and placeholder text styling — let the phone speak. */
.feature__media--phone {
  background: transparent;
  aspect-ratio: auto;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-l) 0;
}
.feature__media--phone .phone-frame {
  height: clamp(420px, 60vh, 620px);
  margin-bottom: 0;
}

/* --------- Section 3: Studio canvas (your looks, their inspiration) --------- */
.studio {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 4.5vw, 72px) var(--space-l);
}
.studio__intro {
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.studio__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -2px;
  line-height: 1.05;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.studio__sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  color: #4a4452;
  max-width: 640px;
  margin: 0 auto;
}

.studio__canvas {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 2.8vw, 40px);
  position: relative;
}
.studio__panel--left  { transform: translateX(8px); }
.studio__panel--right { transform: translateX(-8px); }

.studio__panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.studio__stack {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  max-width: 220px;
}
.studio__panel--left .studio__stack { margin-right: auto; }
.studio__panel--right .studio__stack { margin-left: auto; }
.studio__chip {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
  rotate: -1.5deg;
  transition: rotate 380ms cubic-bezier(.2,.7,.2,1),
              scale 380ms cubic-bezier(.2,.7,.2,1),
              translate 380ms cubic-bezier(.2,.7,.2,1),
              box-shadow 380ms ease,
              outline-color 380ms ease;
}
.studio__chip:nth-child(2) { rotate: 1deg; }
.studio__chip:nth-child(3) { rotate: -0.5deg; }
.studio__panel--right .studio__chip { rotate: 1.5deg; }
.studio__panel--right .studio__chip:nth-child(2) { rotate: -1deg; }
.studio__panel--right .studio__chip:nth-child(3) { rotate: 0.5deg; }

/* Active chip: settle upright, scale up, and lean toward Mira. */
.studio__chip.is-active {
  rotate: 0deg;
  scale: 1.04;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  outline: 2px solid #ED5A8E;
  outline-offset: -2px;
  z-index: 2;
}
.studio__panel--left  .studio__chip.is-active { translate:  10px 0; }
.studio__panel--right .studio__chip.is-active { translate: -10px 0; }

.studio__chip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.studio__chip-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  z-index: 3;
}
.studio__chip-avatar-ring {
  display: inline-flex;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D8B4E2 0%, #A7C7E7 100%);
}
.studio__chip-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.studio__chip-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  z-index: 2;
}
.studio__chip-caption {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio__chip-hype {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.studio__chip-hype svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}
.studio__hero {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.studio__hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: #F2E8DB;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: -3px;
}
.studio__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 250ms ease;
}
.studio__hero-img.is-active {
  opacity: 1;
}
.studio__hero-caption {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(16px, 1.6vw, 20px);
  color: #1a1a1a;
  letter-spacing: -0.5px;
}


@media (max-width: 820px) {
  .studio__canvas {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero hero"
      "left right";
    gap: var(--space-l);
  }
  .studio__hero        { grid-area: hero; max-width: 360px; margin: 0 auto; width: 100%; }
  .studio__panel--left { grid-area: left; }
  .studio__panel--right { grid-area: right; }
  .studio__stack { flex-direction: row; }
  .studio__chip { flex: 1; }
}

/* --------- Creators page --------- */
.section.creators-hero {
  background-color: #FDF1E5;
  padding: 0;
}
.section.creators-hero > .creators-hero__inner {
  max-width: none;
  margin: 0;
}
.creators-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.creators-hero__media {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  position: relative;
}
.creators-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Desktop: wide 5x2 grid. The single portrait clip is mobile-only. */
.creators-hero__video--single { display: none; }
@media (max-width: 640px) {
  /* The grid collapses to ~70px cells at phone width and reads as noisy
     texture behind the headline — swap to one full-bleed portrait clip
     and give the hero real height instead of a 16:9 sliver. */
  .creators-hero__inner { aspect-ratio: 4 / 5; }
  .creators-hero__video--grid { display: none; }
  .creators-hero__video--single { display: block; }
}
.creators-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 75% at center,
    rgba(20, 14, 32, 0.58) 0%,
    rgba(20, 14, 32, 0.58) 38%,
    rgba(20, 14, 32, 0.44) 58%,
    rgba(20, 14, 32, 0.24) 78%,
    rgba(20, 14, 32, 0.06) 90%,
    rgba(20, 14, 32, 0) 100%
  );
  pointer-events: none;
}
.creators-hero__copy {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  z-index: 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: clamp(24px, 5vw, 64px);
  max-width: 760px;
}
.creators-hero__headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-m);
  color: #F4ECFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
}
.creators-hero__line {
  display: block;
  line-height: 1;
}
.creators-hero__brand {
  display: block;
  white-space: nowrap;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.15em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: #FF2E93; /* vivid hot pink — matches the home phone-lockup SHAYLA; sits on the hero vignette */
}
.creators-hero__connector {
  display: inline;
  font-size: 0.58em;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  vertical-align: baseline;
}
.creators-hero__subtitle {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
  color: #EDE6F8;
  font-weight: 600;
  max-width: 560px;
  margin: 0 auto var(--space-l);
}
.creators-hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}
.creators-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.creators-cta--primary {
  background: #1a1a1a;
  color: #FAF4ED;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.18);
}
.creators-cta--primary:hover { background: #000; transform: translateY(-1px); }
.creators-cta--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.creators-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: #1a1a1a;
  margin-bottom: var(--space-xl);
  text-align: center;
}


.creators-about {
  background-color: #F4ECFF;
  padding-top: clamp(56px, 8vh, 100px);
  padding-bottom: clamp(56px, 8vh, 100px);
}
.creators-about__inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .creators-about__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    text-align: left;
  }
}
.creators-about__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6D28D9;
  background: rgba(168, 85, 247, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-m);
}
.creators-about__headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #1a1a1a;
  margin: 0 0 var(--space-m);
  text-wrap: balance;
}
.creators-about__lead {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #4a4452;
  max-width: 520px;
}
@media (max-width: 899px) {
  .creators-about__lead { margin-left: auto; margin-right: auto; }
}
.creators-about__media {
  display: flex;
  justify-content: center;
}
.phone-frame--inline {
  height: clamp(380px, 50vw, 520px);
  margin-bottom: 0;
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.15);
  /* Be the query container for the feed chrome. The frame has a definite size
     (explicit height + aspect-ratio) in every layout, so cqw is reliable here
     — .phone-screen's container context fell back to the viewport at some
     breakpoints, throwing the cqw-sized chrome far off-slide. */
  container-type: inline-size;
}
/* Don't let the inner .phone-screen shadow the frame as the nearest container. */
.phone-frame--inline .phone-screen {
  container-type: normal;
}

/* Auto-cycling feed: 5 stacked slides (4 looks + a clone of feed-1 for a
   seamless wrap). Each slide owns its chrome so it scrolls WITH the post and
   cross-fades between posts, mirroring the app's PageView
   (calculatePageOpacities — chrome opaque only when a post is settled,
   fully faded out by mid-scroll). */
.feed-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500%;
  display: flex;
  flex-direction: column;
  animation: feedScroll 18s infinite;
  will-change: transform;
}
.feed-slide {
  position: relative;
  flex: none;
  width: 100%;
  height: 20%;               /* one screen per slide (1/5 of the track) */
  overflow: hidden;
}
.phone-screen .feed-slide img {
  position: absolute;        /* beat base .phone-screen img */
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Per-slide chrome fade, staggered so each is opaque only while its post is
   settled and cross-fades during the scroll (≈ overlayOpacity 1-2*offset). */
.feed-slide .feed-ui { animation: uiFade 18s infinite; }
.feed-slide:nth-child(2) .feed-ui { animation-delay: -14.4s; }
.feed-slide:nth-child(3) .feed-ui { animation-delay: -10.8s; }
.feed-slide:nth-child(4) .feed-ui { animation-delay: -7.2s; }
.feed-slide:nth-child(5) .feed-ui { animation: uiFadeWrap 18s infinite; }
@keyframes feedScroll {
  0%, 15%   { transform: translateY(0); }
  20%, 35%  { transform: translateY(-20%); }
  40%, 55%  { transform: translateY(-40%); }
  60%, 75%  { transform: translateY(-60%); }
  80%, 100% { transform: translateY(-80%); }   /* clone of slide 1 */
}
@keyframes uiFade {
  0%, 15%  { opacity: 1; }   /* this post settled */
  20%, 95% { opacity: 0; }   /* scrolled away */
  100%     { opacity: 1; }   /* fades back in as it settles next cycle */
}
@keyframes uiFadeWrap {        /* slide 5 (clone of 1): lit through the wrap */
  0%, 75%   { opacity: 0; }
  80%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .feed-track { animation: none; }
  .feed-slide .feed-ui { animation: none; opacity: 0; }
  .feed-slide:first-child .feed-ui { opacity: 1; }
}

/* Feed UI rendered as a real overlay (not baked into the photo) so it stays
   crisp and authentic. */
.feed-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Soft top scrim — the real app shows this chrome over user photos; our
   studio shot is bright, so a faint scrim keeps the white legible. */
.feed-ui::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 26cqw;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}
/* The shared faux dynamic-island is fixed-px (sized for the big hero/perk
   frames). Re-size it in cqw so it reads as a real Dynamic Island on this
   small frame — proportions sampled from the real app capture
   (~20% screen-width wide, ~5% tall, near the top edge). */
.phone-frame--inline .phone-dynamic-island {
  /* cqw is unreliable here (the .phone-screen container context isn't applying
     — cqw resolves against the viewport). Size deterministically: an
     absolutely-positioned element's % references .phone-screen. Proportions
     measured from the real perk capture's Dynamic Island (channel.webp:
     ~30.7% screen-width wide, ~3.2:1, top inset ~3.3% of width). */
  width: 31%;
  height: auto;
  aspect-ratio: 3.2 / 1;
  top: 1.5%;
  border-radius: 999px;
}
/* Feed chrome matched to the real Flutter app (lib/widgets/
   feed_action_buttons.dart + image_page_item.dart + ProfileAvatar);
   positions sampled from a real feed capture. */
.feed-ui__user {
  position: absolute;
  top: 13cqw;          /* just below the island, as in the app */
  left: 4cqw;
  display: flex;
  align-items: center;
  gap: 3cqw;
}
.feed-ui__avatar {
  display: inline-flex;
  padding: 0.7cqw;                       /* ProfileAvatar ring (radius<30 -> 2px) */
  border-radius: 50%;
  background: linear-gradient(135deg, #F0C27F, #FC5C7D); /* creatorGradientColors */
}
.phone-screen .feed-ui__avatar img {
  position: static;                      /* beat base .phone-screen img (later in source) */
  inset: auto;
  display: block;
  width: 10cqw;                          /* radius 20 -> 40px on a ~393pt screen */
  height: 10cqw;
  border-radius: 50%;
  object-fit: cover;
}
.feed-ui__handle {
  font-family: "Inter", var(--font-body);
  font-weight: 700;
  font-size: 4.1cqw;                     /* fontSize 16 */
  letter-spacing: -0.02em;               /* letterSpacing -0.2 */
  color: #fff;
  text-shadow: 0 0.3cqw 1cqw rgba(0, 0, 0, 0.4);
}
.feed-ui__rail {
  position: absolute;
  right: 4cqw;
  bottom: 24cqw;       /* anchored low, as in the app (not centered) */
  display: flex;
  flex-direction: column;
  gap: 4.5cqw;
}
.feed-ui__btn {
  width: 14cqw;                          /* 56px */
  height: 14cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 32, 48, 0.7);     /* darkSurfaceElevated @ 0.7 */
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #EDE8F2;                        /* darkText */
}
.feed-ui__btn svg {
  width: 6cqw;                           /* icon size 24 */
  height: 6cqw;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creators-perks {
  background-color: #FBF1D9;
  padding-top: clamp(64px, 8vh, 110px);
  padding-bottom: clamp(64px, 8vh, 110px);
}
.creators-perks__inner { max-width: 1080px; }
.creators-perks__intro {
  text-align: center;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #4a4452;
  max-width: 640px;
  margin: calc(-1 * var(--space-m)) auto var(--space-xl);
}

/* Zigzag feature rows: phone screenshot one side, copy the other,
   alternating left/right on desktop, stacked on mobile. */
.creators-features {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.2vh, 44px);
}
.creators-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 800px) {
  .creators-feature {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.5vw, 40px);
    max-width: 860px;          /* keep phone + text a tight pair */
    margin-inline: auto;
  }
  .creators-feature:nth-child(even) {
    flex-direction: row-reverse;
  }
}
/* "Peeking" device: a window slightly shorter than the phone, with a
   soft bottom fade that dissolves the device into the section bg
   instead of a hard crop. The solid (top ~76%) keeps each screen's key
   content visible — including the Try-on Fit/Pose action rail — while
   only the bottom nav / device chrome fades out. */
.creators-feature__media {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}
.phone-frame--perk {
  height: clamp(400px, 52vh, 540px);
  margin-bottom: 0;
  box-shadow: 0 22px 60px rgba(26, 26, 26, 0.22);
}
.creators-feature__text {
  flex: 1 1 auto;
  text-align: center;
}
@media (min-width: 800px) {
  .creators-feature__text { text-align: left; }
}
.creators-feature__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6D28D9;
  margin-bottom: var(--space-s);
}
.creators-feature__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 var(--space-m);
}
.creators-feature__body {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
  color: #4a4452;
  margin: 0;
}

.creators-how {
  background-color: #EAF2FF;
  padding-top: clamp(56px, 8vh, 100px);
  padding-bottom: clamp(56px, 8vh, 100px);
}
.creators-how__inner { max-width: 940px; }
.creators-how__intro {
  text-align: center;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #4a4452;
  max-width: 560px;
  margin: calc(-1 * var(--space-m)) auto var(--space-xl);
}
.creators-how__phases {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
}
@media (min-width: 760px) {
  .creators-how__phases {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .creators-how__phase--ours {
    border-left: 1px solid rgba(26, 26, 26, 0.10);
    padding-left: clamp(28px, 5vw, 64px);
  }
}
.creators-how__phase-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6D28D9;
  margin-bottom: var(--space-l);
}
.creators-how__phase--ours .creators-how__phase-label { color: #8a8597; }
.creators-how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}
.creators-how__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-m);
}
.creators-how__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6D28D9;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.creators-how__num--ours {
  background: transparent;
  border: 2px solid rgba(109, 40, 217, 0.45);
  color: #6D28D9;
}
/* Invited variant (/creators/invited) only: pastel step badges to match
   the page's pale palette (public /creators keeps the solid purple). */
.creators-how__steps--invited .creators-how__num {
  background: #DDD6FE;
  color: #6D28D9;
}
.creators-how__step-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.creators-how__step-body {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.55;
  color: #4a4452;
  margin: 0;
}

.creators-faq {
  background-color: #FFF0E6;
  padding-top: clamp(56px, 8vh, 100px);
  padding-bottom: clamp(56px, 8vh, 100px);
}
.creators-faq__inner { max-width: 760px; }
.creators-faq__item {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: var(--space-s);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.creators-faq__item:hover { border-color: rgba(26, 26, 26, 0.12); }
.creators-faq__item[open] {
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
  border-color: rgba(168, 85, 247, 0.35);
}
.creators-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: #1a1a1a;
  position: relative;
  border-radius: var(--radius-sm);
}
.creators-faq__item summary::-webkit-details-marker { display: none; }
.creators-faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.creators-faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.creators-faq__item p {
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4452;
  margin: 0;
}
.creators-faq__item p a {
  color: #8A4BD1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.creators-faq__item p a:hover { color: #6b21a8; }

.creators-apply {
  background-color: #EAF2FF;
  padding-top: clamp(64px, 9vh, 120px);
  padding-bottom: clamp(80px, 10vh, 130px);
  text-align: center;
}
.creators-apply__inner { max-width: 760px; }
.creators-apply__lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #4a4452;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}
.creators-apply .download-badges { justify-content: center; }

/* ── Delete-account page ───────────────────────────────────────── */
.delete-account__inner {
  max-width: 780px;
  margin: 0 auto;
}
.delete-account .support-section-title {
  margin-top: var(--space-xxl);
  text-align: left;
}
.delete-account .support-section-title:first-of-type {
  margin-top: 0;
}
.delete-account__steps,
.delete-account__list {
  margin: var(--space-m) 0 0;
  padding-left: var(--space-l);
  /* Body copy on the light section background — matches .support-faq__item p
     (#4a4452, ~8.4:1). NOT --color-text-secondary, which is a dark-theme token
     and drops to ~1.9:1 here. */
  color: #4a4452;
  line-height: 1.6;
}
.delete-account__steps li,
.delete-account__list li {
  margin-bottom: var(--space-s);
}
.delete-account__body {
  margin-top: var(--space-m);
  color: #4a4452;
  line-height: 1.6;
}

