/* ============================================================================
   Pride Wallpaper — site vitrine
   Design tokens alignés sur src/theme/variables.scss
   ========================================================================== */

:root {
  --accent: #ff3d8b;
  --accent-dark: #e0276f;
  --surface: #fbf7f4;
  --surface-2: #ffffff;
  --ink: #1a1322;
  --ink-2: #6b5e76;
  --stroke: #efe7df;
  --stroke-soft: #e5ddd3;

  --radius-card: 18px;
  --radius-lg: 22px;
  --radius-pill: 28px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --pride: linear-gradient(
    90deg,
    #e40303 0%,
    #ff8c00 20%,
    #ffed00 40%,
    #008026 60%,
    #004cff 80%,
    #732982 100%
  );

  --shadow-sm: 0 1px 2px rgba(26, 19, 34, 0.04), 0 4px 12px rgba(26, 19, 34, 0.05);
  --shadow-md: 0 8px 28px rgba(26, 19, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 19, 34, 0.14);

  --maxw: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

/* ----- layout helpers ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(56px, 9vw, 110px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
}

.gradient-text {
  background: var(--pride);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- buttons ----------------------------------------------------------- */
.btn {
  --bg: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--bg);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: 0 6px 18px rgba(255, 61, 139, 0.28);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 61, 139, 0.34); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--stroke);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--stroke-soft); }

.btn svg { width: 18px; height: 18px; }

/* ----- header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 244, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-size: 1.05rem;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.header-spacer { flex: 1; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(26, 19, 34, 0.04); }

/* Language selector — a segmented control showing BOTH languages, with the
   active one highlighted (so it never reads as "switch to the other one"). */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-opt:hover { color: var(--ink); background: rgba(26, 19, 34, 0.05); }
.lang-opt--active {
  background: var(--ink);
  color: #fff;
  cursor: default;
}
.lang-opt--active:hover { background: var(--ink); }
.lang-flag {
  width: 19px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .site-header__inner { gap: 10px; }
  .nav-links a { padding: 7px 9px; }
  .lang-opt { padding: 5px 9px; gap: 6px; }
}
@media (max-width: 420px) {
  .site-header__inner { padding-inline: 14px; }
}
/* Genuinely tiny screens: drop the wordmark to the icon so the brand and the
   language toggle still fit without overflowing. */
@media (max-width: 359px) {
  .brand__name { display: none; }
}

/* ----- hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 540px;
  background:
    radial-gradient(60% 60% at 18% 12%, rgba(255, 61, 139, 0.16), transparent 70%),
    radial-gradient(50% 50% at 88% 6%, rgba(0, 76, 255, 0.12), transparent 70%),
    radial-gradient(55% 55% at 60% 0%, rgba(255, 140, 0, 0.10), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero__copy { max-width: 36ch; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.pill .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pride); }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-2); }

.hero__beta-note { margin: 0; font-size: 0.84rem; color: var(--ink-2); max-width: 440px; }

.hero__beta-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero__beta-steps li { display: flex; flex-direction: column; gap: 6px; }

.btn--secondary {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--stroke);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { background: var(--surface-2); border-color: var(--stroke-soft); transform: translateY(-2px); }

.hero__alt-link { font-size: 0.8rem; color: var(--ink-2); text-decoration: underline; padding-left: 4px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 61, 139, 0.08);
  border: 1px solid rgba(255, 61, 139, 0.18);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero__badge strong { color: var(--accent-dark); font-weight: 700; }
.hero__badge svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* phone mockup */
.phone {
  position: relative;
  justify-self: center;
  width: clamp(220px, 30vw, 300px);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2333, #14101b);
  box-shadow: var(--shadow-lg);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    conic-gradient(from 210deg at 30% 20%, #732982, #004cff, #008026, #ffed00, #ff8c00, #e40303, #732982);
}
.phone__screen::after {
  /* subtle pattern overlay to evoke the generative motifs */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  mix-blend-mode: soft-light;
  opacity: 0.7;
}
.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 22px;
  background: #14101b;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__clock {
  position: absolute;
  inset: 50px 0 auto 0;             /* near the top, clear of the notch */
  display: flex;
  flex-direction: column-reverse;   /* date above the big time (lock-screen style) */
  gap: 2px;
  text-align: center;
  z-index: 3;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45), 0 0 14px rgba(0, 0, 0, 0.35);
}
.phone__clock .t { font-size: 2.9rem; font-weight: 700; letter-spacing: -0.02em; }
.phone__clock .d { font-size: 0.82rem; opacity: 0.92; font-weight: 500; }
/* Real wallpaper export at assets/shots/hero.webp; covers the gradient fallback. */
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phone__screen:has(img)::after { content: none; } /* drop the placeholder dot overlay */

/* ----- features ---------------------------------------------------------- */
.features { background: var(--surface-2); border-block: 1px solid var(--stroke); }
.section-head { max-width: 46ch; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; margin: 14px 0 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stroke-soft); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(255, 61, 139, 0.10);
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ----- showcase — tilted, endless flag marquee --------------------------- */
/* Three rows of every flag scroll horizontally; the whole band is tilted and
   masked at the edges so the stream feels infinite. No labels — pure colour. */
.flag-marquee {
  position: relative;
  margin-top: 44px;
  overflow: hidden;                 /* hide the off-screen ends of each row */
  /* horizontal fade — the flags melt away at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.flag-marquee__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 0;
  /* translateZ(0) promotes the whole tilted band to ONE composited layer that
     is rotated as a single texture — keeps edges & stripes anti-aliased. */
  transform: rotate(-4deg) scale(1.06) translateZ(0);
  transform-origin: center;
}
.flag-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: flag-scroll 80s linear infinite;   /* loops on a duplicated set */
}
.flag-track--rev  { animation-direction: reverse; }
.flag-track--slow { animation-duration: 104s; }
.flag-track--fast { animation-duration: 64s; }
@keyframes flag-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one of the two copies */
}
.fl {
  flex: 0 0 auto;
  position: relative;
  width: 116px;
  height: 76px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-sm);
  background-position: center;
  background-size: cover;        /* shaped flags (SVG) fill the tile */
  background-repeat: no-repeat;
  /* springy easing so the hovered flag reacts with a little bounce */
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}
/* The animation never stops — instead the pointed-at flag "wakes up":
   it straightens (cancels the band's tilt), grows and glows above its peers. */
.fl:hover {
  transform: rotate(4deg) scale(1.22);
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(26, 19, 34, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.7);
}
@media (prefers-reduced-motion: reduce) {
  .flag-track { animation: none; }
}
@media (max-width: 640px) {
  .flag-marquee__rows { gap: 10px; padding: 18px 0; }
  .flag-track { gap: 10px; }
  .fl { width: 88px; height: 58px; border-radius: 8px; }
}

/* Per-flag palettes (generated from src/app/flags/flags.data.ts) */
/* 27 stripe flags use a feathered gradient (~1px blend so the bands stay
   anti-aliased under the tilt); 8 non-stripe flags embed their real SVG. */
.fl-rainbow { background-image: linear-gradient(180deg, #E40303 0% 15.817%, #FF8C00 17.517% 32.483%, #FFED00 34.183% 49.15%, #008026 50.85% 65.817%, #004CFF 67.517% 82.483%, #732982 84.183% 100%); }
.fl-gilbert { background-image: linear-gradient(180deg, #FF7BAC 0% 11.65%, #E40303 13.35% 24.15%, #FF8C00 25.85% 36.65%, #FFED00 38.35% 49.15%, #008026 50.85% 61.65%, #00C0C0 63.35% 74.15%, #004CFF 75.85% 86.65%, #732982 88.35% 100%); }
.fl-philadelphia { background-image: linear-gradient(180deg, #000000 0% 11.65%, #785B36 13.35% 24.15%, #E40303 25.85% 36.65%, #FF8C00 38.35% 49.15%, #FFED00 50.85% 61.65%, #008026 63.35% 74.15%, #004CFF 75.85% 86.65%, #732982 88.35% 100%); }
.fl-bisexual { background-image: linear-gradient(180deg, #D60270 0% 32.483%, #9B4F96 34.183% 65.817%, #0038A8 67.517% 100%); }
.fl-pansexual { background-image: linear-gradient(180deg, #FF218C 0% 32.483%, #FFD800 34.183% 65.817%, #21B1FF 67.517% 100%); }
.fl-asexual { background-image: linear-gradient(180deg, #000000 0% 24.15%, #A3A3A3 25.85% 49.15%, #FFFFFF 50.85% 74.15%, #800080 75.85% 100%); }
.fl-lesbian { background-image: linear-gradient(180deg, #D52D00 0% 19.15%, #FF9A56 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #D162A4 60.85% 79.15%, #A30262 80.85% 100%); }
.fl-gay-men { background-image: linear-gradient(180deg, #078D70 0% 13.436%, #26CEAA 15.136% 27.721%, #98E8C1 29.421% 42.007%, #FFFFFF 43.707% 56.293%, #7BADE2 57.993% 70.579%, #5049CC 72.279% 84.864%, #3D1A78 86.564% 100%); }
.fl-omnisexual { background-image: linear-gradient(180deg, #FF9CCD 0% 19.15%, #FF52BF 20.85% 39.15%, #210444 40.85% 59.15%, #665EFF 60.85% 79.15%, #8DA8FF 80.85% 100%); }
.fl-polysexual { background-image: linear-gradient(180deg, #F61CB9 0% 32.483%, #07D569 34.183% 65.817%, #1C92F6 67.517% 100%); }
.fl-graysexual { background-image: linear-gradient(180deg, #710E70 0% 19.15%, #A4A4A4 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #A4A4A4 60.85% 79.15%, #710E70 80.85% 100%); }
.fl-abrosexual { background-image: linear-gradient(180deg, #46D294 0% 19.15%, #A8E4BB 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #F39EB6 60.85% 79.15%, #EE1766 80.85% 100%); }
.fl-skoliosexual { background-image: linear-gradient(180deg, #FFEC18 0% 24.15%, #85F86A 25.85% 49.15%, #FFFFFF 50.85% 74.15%, #000000 75.85% 100%); }
.fl-fraysexual { background-image: linear-gradient(180deg, #226CB5 0% 24.15%, #93E7DD 25.85% 49.15%, #FFFFFF 50.85% 74.15%, #636363 75.85% 100%); }
.fl-aromantic { background-image: linear-gradient(180deg, #3DA542 0% 19.15%, #A8D47A 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #A9A9A9 60.85% 79.15%, #000000 80.85% 100%); }
.fl-grayromantic { background-image: linear-gradient(180deg, #087D16 0% 19.15%, #B0B1AF 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #B0B1AF 60.85% 79.15%, #087D16 80.85% 100%); }
.fl-transgender { background-image: linear-gradient(180deg, #5BCEFA 0% 19.15%, #F5A9B8 20.85% 39.15%, #FFFFFF 40.85% 59.15%, #F5A9B8 60.85% 79.15%, #5BCEFA 80.85% 100%); }
.fl-nonbinary { background-image: linear-gradient(180deg, #FFF430 0% 24.15%, #FFFFFF 25.85% 49.15%, #9C59D1 50.85% 74.15%, #000000 75.85% 100%); }
.fl-genderfluid { background-image: linear-gradient(180deg, #FF75A2 0% 19.15%, #FFFFFF 20.85% 39.15%, #BE18D6 40.85% 59.15%, #000000 60.85% 79.15%, #333EBD 80.85% 100%); }
.fl-agender { background-image: linear-gradient(180deg, #000000 0% 13.436%, #BCC4C7 15.136% 27.721%, #FFFFFF 29.421% 42.007%, #B5F583 43.707% 56.293%, #FFFFFF 57.993% 70.579%, #BCC4C7 72.279% 84.864%, #000000 86.564% 100%); }
.fl-genderqueer { background-image: linear-gradient(180deg, #B57EDC 0% 32.483%, #FFFFFF 34.183% 65.817%, #4A8123 67.517% 100%); }
.fl-demigender { background-image: linear-gradient(180deg, #7F7F7F 0% 13.436%, #C4C4C4 15.136% 27.721%, #FBFF75 29.421% 42.007%, #FFFFFF 43.707% 56.293%, #FBFF75 57.993% 70.579%, #C4C4C4 72.279% 84.864%, #7F7F7F 86.564% 100%); }
.fl-demiboy { background-image: linear-gradient(180deg, #7F7F7F 0% 13.436%, #C4C4C4 15.136% 27.721%, #9AD9EA 29.421% 42.007%, #FFFFFF 43.707% 56.293%, #9AD9EA 57.993% 70.579%, #C4C4C4 72.279% 84.864%, #7F7F7F 86.564% 100%); }
.fl-demigirl { background-image: linear-gradient(180deg, #7F7F7F 0% 13.436%, #C4C4C4 15.136% 27.721%, #FDADC8 29.421% 42.007%, #FFFFFF 43.707% 56.293%, #FDADC8 57.993% 70.579%, #C4C4C4 72.279% 84.864%, #7F7F7F 86.564% 100%); }
.fl-neutrois { background-image: linear-gradient(180deg, #FFFFFF 0% 32.483%, #7BBE39 34.183% 65.817%, #000000 67.517% 100%); }
.fl-maverique { background-image: linear-gradient(180deg, #FFF344 0% 32.483%, #FFFFFF 34.183% 65.817%, #F49622 67.517% 100%); }
.fl-genderflux { background-image: linear-gradient(180deg, #F47694 0% 15.817%, #F1A3B9 17.517% 32.483%, #CECECE 34.183% 49.15%, #7AE1F5 50.85% 65.817%, #3DCDFA 67.517% 82.483%, #FEF48C 84.183% 100%); }

.fl-progress { background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206000%203810%22%20width%3D%22512%22%20height%3D%22325%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23750787%22%20d%3D%22M0%200h6000v3810H0z%22%2F%3E%3Cpath%20fill%3D%22%23004dff%22%20d%3D%22M0%200h6000v3175H0z%22%2F%3E%3Cpath%20fill%3D%22%23008026%22%20d%3D%22M0%200h6000v2540H0z%22%2F%3E%3Cpath%20fill%3D%22%23ffed00%22%20d%3D%22M0%200h6000v1905H0z%22%2F%3E%3Cpath%20fill%3D%22%23ff8c00%22%20d%3D%22M0%200h6000v1270H0z%22%2F%3E%3Cpath%20fill%3D%22%23e40303%22%20d%3D%22M0%200h6000v635H0z%22%2F%3E%3Cpath%20d%3D%22M0-960.5%202864%201905%200%204770.5z%22%2F%3E%3Cpath%20fill%3D%22%23613915%22%20d%3D%22M0-480%202384%201905%200%204290z%22%2F%3E%3Cpath%20fill%3D%22%2374d7ee%22%20d%3D%22M0%203810%200%200%201912%201905z%22%2F%3E%3Cpath%20fill%3D%22%23ffafc8%22%20d%3D%22M0%203330%200%20480%201420%201905z%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%20960l951%20945L0%202850z%22%2F%3E%3C%2Fsvg%3E"); }
.fl-sapphic { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20288%20192%22%3E%3Cpath%20fill%3D%22%23FD8BA8%22%20d%3D%22M0%200h288v192H0z%22%2F%3E%3Cpath%20fill%3D%22%23FBF2FF%22%20d%3D%22M0%2064h288v64H0z%22%2F%3E%3Cg%20transform%3D%22translate(144%2096)%20scale(0.18)%20translate(-800%20-495)%22%3E%3Cpath%20fill%3D%22%23c76bc5%22%20d%3D%22m733.81616%2C629.09562c-9.14422-0.88282-21.27654-4.89133-27.55635-9.10461-4.65107-3.12055-9.18163-8.49885-11.53933-13.69863-6.74003-14.86483-5.52586-36.35859%2C3.03984-53.81238%2C3.06941-6.25437%2C6.26634-9.69165%2C13.49731-14.51226%2C12.23024-8.15334%2C35.7209-17.567%2C60.64528-24.30307l3.42291-0.92505%2C3.45709%2C1.79878c5.98074%2C3.1119%2C10.67021%2C6.51587%2C15.59008%2C11.31645l2.6904%2C2.62515-0.28067%2C4.64c-2.16128%2C35.73155-7.69878%2C60.44739-16.5615%2C73.92-2.40407%2C3.6545-9.80989%2C11.05757-13.66122%2C13.6561-9.88285%2C6.66806-21.03811%2C9.52963-32.74384%2C8.39952z%22%2F%3E%3Cpath%20fill%3D%22%23c76bc5%22%20d%3D%22m856.40048%2C629.09862c-8.11414-0.78461-15.88646-3.62855-22.96048-8.40148-3.85315-2.59977-11.24781-9.99328-13.70003-13.69788-8.77043-13.2497-14.36986-38.28647-16.52269-73.87821l-0.28067-4.64%2C2.6904-2.62515c4.91987-4.80058%2C9.60934-8.20455%2C15.59008-11.31645l3.45709-1.79879%2C3.42291%2C0.92506c14.3136%2C3.86838%2C31.37606%2C9.76%2C42.5983%2C14.70906%2C13.26282%2C5.84892%2C23.04605%2C12.13859%2C27.77411%2C17.85596%2C2.24906%2C2.71965%2C5.436%2C9.18957%2C7.25588%2C14.73031%2C5.34598%2C16.27625%2C5.18227%2C32.91977-0.44586%2C45.33238-2.3577%2C5.19978-6.88826%2C10.57808-11.53933%2C13.69863-4.5728%2C3.06803-14.31222%2C6.8136-21.14614%2C8.13232-6.22685%2C1.2016-10.92131%2C1.48403-16.19357%2C0.97424z%22%2F%3E%3Cpath%20fill%3D%22%23c76bc5%22%20d%3D%22m702.72%2C515.5049c-12.31085-0.58644-22.75331-2.51332-27.688-5.10909-8.1273-4.2752-14.6592-13.99347-17.22019-25.62039-1.26077-5.72396-1.60547-9.23904-1.58237-16.13542%2C0.0341-10.18157%2C1.57306-20.23046%2C4.45952-29.12%2C3.39718-10.4625%2C12.15005-19.02643%2C22.51104-22.02515%2C4.16003-1.20403%2C7.38573-1.60829%2C12.64-1.5841%2C17.67536%2C0.0814%2C35.74637%2C8.58528%2C54.4%2C25.59962%2C8.84307%2C8.06595%2C19.11626%2C19.8896%2C25.52752%2C29.38022%2C2.06442%2C3.056%2C2.1687%2C3.30317%2C2.49341%2C5.90848%2C0.75667%2C6.07165-0.91303%2C14.0553-4.5176%2C21.60093-2.07408%2C4.34179-3.77802%2C6.87526-5.30122%2C7.88214-7.37881%2C4.87757-24.22518%2C8.18548-47.00211%2C9.22919-7.69779%2C0.35273-11.20493%2C0.35152-18.72-0.006z%22%2F%3E%3Cpath%20fill%3D%22%23c76bc5%22%20d%3D%22m877.75213%2C515.518c-25.2745-1.20887-44.6409-5.76784-48.34173-11.37997-5.38429-8.16496-8.62432-19.72208-7.66778-27.35069%2C0.37988-3.02963%2C0.84567-3.86445%2C6.06333-10.86739%2C12.57111-16.87245%2C27.64288-31.01344%2C42.34723-39.73197%2C17.6122-10.44266%2C36.65549-13.21552%2C50.44909-7.34579%2C8.44058%2C3.59177%2C15.68336%2C11.55654%2C18.68922%2C20.55216%2C4.43533%2C13.27369%2C5.78646%2C31.68736%2C3.23414%2C44.07651-1.40265%2C6.80874-4.24499%2C13.45373-7.7775%2C18.18266-3.26848%2C4.37548-7.61309%2C7.97248-11.57306%2C9.58156-2.40393%2C0.9768-7.23891%2C2.20039-11.17507%2C2.82807-8.38326%2C1.33683-23.38816%2C1.97424-34.24787%2C1.45485z%22%2F%3E%3Cpath%20fill%3D%22%23c76bc5%22%20d%3D%22m795.84%2C466.87341c-1.848-0.1225-3.97674-0.32858-4.73053-0.45795-3.19197-0.54794-11.66163-7.24999-21.02947-16.64064-18.05168-18.09565-30.84189-37.9978-35.20355-54.77824-2.04967-7.88567-2.4672-16.12493-1.14106-22.51658%2C2.31991-11.18134%2C9.07683-20.4431%2C20.52669-28.136%2C10.34666-6.95168%2C21.45642-11.15968%2C34.37792-13.02115%2C4.93021-0.71027%2C16.48826-0.68928%2C22.08%2C0.0401%2C17.06378%2C2.22573%2C34.05059%2C10.16403%2C44.45741%2C20.77597%2C5.89453%2C6.01069%2C9.86566%2C13.55885%2C11.28822%2C21.45616%2C0.69248%2C3.84438%2C0.67907%2C11.1911-0.0278%2C15.20496-1.68429%2C9.56403-5.63283%2C19.57898-11.74653%2C29.7935-9.89734%2C16.53607-28.15856%2C36.60464-41.33552%2C45.42666-3.21881%2C2.15501-4.12524%2C2.45805-8.08195%2C2.70182-1.58061%2C0.0974-3.59382%2C0.22141-4.47382%2C0.27562-0.88%2C0.0542-3.112-0.003-4.96-0.12419z%22%2F%3E%3Ccircle%20fill%3D%22%23f996c9%22%20cx%3D%22800.14044%22%20cy%3D%22495.73035%22%20r%3D%2221.451553%22%2F%3E%3Cpath%20fill%3D%22%23fff71e%22%20d%3D%22m797.95018%2C508.46795c-6.64791-1.14-11.64989-8.09648-10.45792-14.54435%2C1.61609-8.74228%2C10.57779-13.32986%2C18.46134-9.45056%2C4.77613%2C2.35024%2C7.6991%2C7.98595%2C6.85626%2C13.21942-1.15088%2C7.14634-7.82026%2C11.98262-14.85968%2C10.77549z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.fl-demisexual { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20480%22%3E%3Cpath%20fill%3D%22%23D2D2D2%22%20d%3D%22M0%200h800v480H0%22%2F%3E%3Cpath%20fill%3D%22%23810081%22%20d%3D%22M0%200h800v280H0%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M0%200h800v200H0%22%2F%3E%3Cpath%20d%3D%22M0%200l306%20240L0%20480%22%2F%3E%3C%2Fsvg%3E"); }
.fl-demiromantic { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20240%22%20width%3D%22800%22%20height%3D%22480%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%200H400V240H0Z%22%2F%3E%3Cpath%20fill%3D%22%23338a37%22%20d%3D%22M0%20100H400V240H0Z%22%2F%3E%3Cpath%20fill%3D%22%23d2d2d2%22%20d%3D%22M0%20140H400V240H0Z%22%2F%3E%3Cpath%20d%3D%22M0%200V240L153%20120Z%22%2F%3E%3C%2Fsvg%3E"); }
.fl-intersex { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20900%20600%22%3E%3Cpath%20fill%3D%22%23FFD800%22%20d%3D%22M0%200h900v600H0z%22%2F%3E%3Ccircle%20cx%3D%22450%22%20cy%3D%22300%22%20r%3D%22147%22%20fill%3D%22none%22%20stroke-width%3D%2250%22%20stroke%3D%22%237902aa%22%2F%3E%3C%2Fsvg%3E"); }
.fl-leather { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22918%22%20height%3D%22612%22%20viewBox%3D%220%200%2027%2018%22%3E%3Cpath%20d%3D%22M0%200h27v18H0z%22%2F%3E%3Cpath%20d%3D%22M0%202h27v2H0zm0%204h27v6H0zm0%208h27v2H0z%22%20fill%3D%22%232a2a7f%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%208h27v2H0z%22%2F%3E%3Cpath%20d%3D%22M58%2017C52%207%2042%200%2030%200%2013%200%200%2013%200%2030c0%2033%2018%2038%2058%2076%2040-38%2058-43%2058-76%200-17-13-30-30-30-12%200-22%207-28%2017z%22%20fill%3D%22%23e70039%22%20stroke%3D%22%23000%22%20stroke-width%3D%22.25%22%20transform%3D%22rotate(-38%206.888%20.156)%20scale(.0663%20.0674)%22%2F%3E%3C%2Fsvg%3E"); }
.fl-bear { background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20595%20357%22%3E%3Cpath%20fill%3D%22%23623804%22%20d%3D%22M0%200h595v51H0z%22%2F%3E%3Cpath%20fill%3D%22%23d56300%22%20d%3D%22M0%2051h595v51H0z%22%2F%3E%3Cpath%20fill%3D%22%23fedd63%22%20d%3D%22M0%20102h595v51H0z%22%2F%3E%3Cpath%20fill%3D%22%23fee6b8%22%20d%3D%22M0%20153h595v51H0z%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%20204h595v51H0z%22%2F%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M0%20255h595v51H0z%22%2F%3E%3Cpath%20d%3D%22M0%20306h595v51H0zM98.9%2024.4c-5.7%200-11.5%201.3-16.3%204.4C61.2%2042.6%2091.1%2048.3%2096%2051.1c4.7%202.7%2022.4%2022.9%2029.7-8.4%202.2-9.7-12.2-18.3-26.8-18.3m45.4%2011.2c-17.7%201.9-.8%2043%2023.6%2044.4%2016.5.9%2028.9-39.3-23.6-44.4m-94.4%208.9C34.2%2044%2043.7%2073.3%2069%2083.6c5.1%202.1%2014.2-4.7%2014.4-16%20.1-4.2-7.1-22.2-33.5-23.1m61%2017.7c-7.1-.1-14.6%203-22.8%2011.5-28.9%2030.3%2013.8%2035.5%2010.6%2051.9-9.7%2048.5-.9%2052.5%208.3%2055.6%2011.7%203.9%2033.8-33.4%2043.1-40.4%2012.4-9.4%2077.9-42.2%2062.4-58.8-22.3-23.8-27%207.3-57.7-1-14.6-3.9-28.3-18.8-43.9-18.8M54.4%2096.5c-2.8-.1-5.5.4-8.1%201.6-11.5%205.2%2010.8%2036.5%2020.9%2037.4%2012.4%201.1%2017.4-8.9%2017.6-14.7.3-7.6-15.4-24-30.4-24.3m4%2046.7c-4.5.1-8%201.2-9.6%203.3-4.1%206.2%2021.6%2030.4%2028.7%2032%206.5%201.5%2012.6-13%2011.4-18.7-2.2-10.4-19.2-16.7-30.5-16.6%22%2F%3E%3C%2Fsvg%3E"); }
.fl-polyamory { background-image: url("data:image/svg+xml,%3Csvg%20width%3D%221600%22%20height%3D%22960%22%20viewBox%3D%220%200%2060%2036%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%200H60V12H0Z%22%20fill%3D%22%23009FE3%22%2F%3E%3Cpath%20d%3D%22M0%2012H60V24H0Z%22%20fill%3D%22%23E50051%22%2F%3E%3Cpath%20d%3D%22M0%2024H60V36H0Z%22%20fill%3D%22%23340C46%22%2F%3E%3Cpath%20d%3D%22M0%2036V0H12L24%2012Z%22%20fill%3D%22%23FFF%22%2F%3E%3Ccircle%20cx%3D%228.65685424949%22%20cy%3D%229%22%20r%3D%224%22%20fill%3D%22%23FCBF00%22%2F%3E%3Ccircle%20cx%3D%228.65685424949%22%20cy%3D%2215%22%20r%3D%224%22%20fill%3D%22%23FCBF00%22%2F%3E%3Cpath%20d%3D%22M11.4852813742%206.17157287525L17.313708499%2012L11.4852813742%2017.8284271247L10%2012Z%22%20fill%3D%22%23FCBF00%22%2F%3E%3C%2Fsvg%3E"); }

/* ----- steps ------------------------------------------------------------- */
.steps { background: var(--surface-2); border-block: 1px solid var(--stroke); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 14px; }
.step__num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* ----- beyond wallpapers — social-format sampler ------------------------- */
/* A little gallery of canvas ratios (each filled with the pride gradient +
   the dot overlay that echoes the generative motifs) to show the same art
   exports as profile banners, not only lock screens. */
.formats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 16px;
}
.format {
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.format:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stroke-soft); }
.format__frame {
  width: 100%;
  height: 104px;
  display: grid;
  place-items: center;
}
.format__shape {
  max-width: 100%;
  max-height: 100%;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: conic-gradient(from 210deg at 30% 20%, #732982, #004cff, #008026, #ffed00, #ff8c00, #e40303, #732982);
}
.format__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.1px, transparent 1.3px);
  background-size: 13px 13px;
  mix-blend-mode: soft-light;
}
.format--story  .format__shape { height: 100%; aspect-ratio: 9 / 16; }
.format--post   .format__shape { height: 100%; aspect-ratio: 1 / 1; }
.format--header .format__shape { width: 100%;  aspect-ratio: 3 / 1; }
.format--banner .format__shape { width: 100%;  aspect-ratio: 16 / 9; }
.format__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.format__label em { font-style: normal; color: var(--ink-2); margin-left: 5px; }

/* ----- privacy band ------------------------------------------------------ */
.privacy-band .wrap {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.privacy-band .wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--pride);
}
.privacy-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.privacy-band p { margin: 0; color: rgba(255, 255, 255, 0.74); max-width: 52ch; }
.privacy-band .btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.2); box-shadow: none; }
.privacy-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ----- footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding-block: 46px 38px;
  background: var(--surface);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand { font-size: 1rem; }
.footer-meta { color: var(--ink-2); font-size: 0.86rem; margin-top: 12px; max-width: 40ch; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.82rem;
}

/* ----- legal page -------------------------------------------------------- */
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal__head { max-width: 60ch; margin-bottom: 36px; }
.legal__head h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.legal__updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); margin-top: 12px; }
.legal__body { max-width: 70ch; }
.legal__body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 4px;
}
.legal__body p { color: var(--ink); margin: 0 0 14px; }
.legal__body ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink); }
.legal__body li { margin-bottom: 8px; }
.legal__body code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(26, 19, 34, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
}
.legal__body a { color: var(--accent-dark); }

.tldr {
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin: 0 0 8px;
  box-shadow: var(--shadow-sm);
}
.tldr strong { display: block; font-size: 0.74rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.tldr p { margin: 0; font-size: 1.05rem; }

/* ----- responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: none; margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .phone { order: -1; }
}

/* ----- scroll reveal (progressive enhancement via main.js) --------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
