/* Flu Links public landing (v3, 2026-09-30).
   Linktree's grammar in Flu's palette: one flat color block per section with
   its own color pair, huge Nunito 900 headings, 60px pill buttons, real photos
   with the phone showing the page, and the claim field at the top and at the
   close. Brand blocks keep their colors in both themes; neutral blocks follow
   the theme. */

body:has(.flx-landing) { padding-top: 0 !important; }
body:has(.flx-landing) #fluAppNav,
body:has(.flx-landing) .flu-mobile-nav { display: none !important; }
body:has(.flx-landing) main.flex-grow-1 > .container { width: 100%; max-width: none; margin: 0 !important; padding: 0; }
body:has(.flx-landing) #fluFlashRegion:not(:has(.alert)) { display: none; }
body:has(.flx-landing) .back-to-top-btn { right: 12px; bottom: 18px; color: #fff; background: #1d1522; }

.flx-landing {
  --flx-pink: #ff9dc0;
  --flx-pink-ink: #6b0d36;
  --flx-violet: #6c3bf5;
  --flx-violet-ink: #22105c;
  --flx-peach: #ffd7a8;
  --flx-coral: #f77737;
  --flx-coral-ink: #3b0d00;
  --flx-wine: #7a1238;
  --flx-wine-deep: #5c0c29;
  --flx-grape: #3b1a8c;
  --flx-ink: #1d1522;
  --flx-card: #ffffff;
  --flx-page: #fffaf1;
  --flx-sand: #f8f0e3;
  --flx-lilac: #ede5ff;
  --flx-text: var(--flx-ink);
  --flx-muted: rgba(29, 21, 34, 0.68);
  --flx-line: rgba(29, 21, 34, 0.12);
  --flx-font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --flx-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, monospace;
  --flx-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --flx-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --flx-gutter: clamp(16px, 4vw, 40px);
  --flx-nav-h: 78px;
  background: var(--flx-page);
  color: var(--flx-text);
  font-family: var(--flx-font);
  overflow-x: clip;
}
body:not(.light-mode) .flx-landing {
  --flx-card: #1d1920;
  --flx-page: #141116;
  --flx-sand: #1a161d;
  --flx-lilac: #211a2c;
  --flx-text: #f3edf5;
  --flx-muted: rgba(243, 237, 245, 0.7);
  --flx-line: rgba(243, 237, 245, 0.13);
}

.flx-landing *, .flx-landing *::before, .flx-landing *::after { box-sizing: border-box; }
.flx-shell { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--flx-gutter); }
.flx-landing :focus-visible { outline: 3px solid var(--b-title, var(--flx-text)); outline-offset: 3px; border-radius: 14px; }
.flx-skip { position: absolute; left: -9999px; }
.flx-skip:focus { left: 16px; top: 16px; z-index: 100; padding: 0.6rem 1rem; background: var(--flx-ink); color: #fff; border-radius: 999px; }
.flx-landing .hgi-svg { width: 1.1em; height: 1.1em; flex: none; }
.flx-hero__note .hgi-svg { margin-top: 0.15em; }

/* ---------- blocks ---------- */
.flx-block {
  --b-bg: var(--flx-page);
  --b-title: var(--flx-text);
  --b-text: var(--flx-text);
  --b-btn: var(--flx-ink);
  --b-btn-text: #fff;
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--b-bg);
  color: var(--b-text);
}
/* Scoped under .flx-landing to win over the shared body.light-mode heading colors. */
.flx-landing .flx-title {
  margin: 0;
  max-width: 16ch;
  color: var(--b-title);
  font-family: var(--flx-font);
  font-weight: 900;
  font-size: clamp(2.3rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.flx-landing .flx-title--hero { max-width: 11ch; font-size: clamp(3rem, 7.4vw, 6rem); line-height: 0.96; letter-spacing: -0.045em; }
.flx-landing .flx-title--center { margin-inline: auto; text-align: center; }
.flx-lead { margin: 1.25rem 0 2rem; max-width: 36rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 600; line-height: 1.55; }
.flx-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 60px;
  padding: 0 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--b-btn);
  color: var(--b-btn-text);
  font: 800 1.05rem/1 var(--flx-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--flx-spring), box-shadow 0.2s var(--flx-ease);
}
.flx-pill:hover { color: var(--b-btn-text); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.6); }
.flx-pill:active { transform: scale(0.97); }
.flx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }

.flx-hero { --b-bg: var(--flx-pink); --b-title: var(--flx-pink-ink); --b-text: var(--flx-pink-ink); --b-btn: var(--flx-pink-ink); --b-btn-text: #ffe3ee; }
.flx-create { --b-bg: var(--flx-violet); --b-title: var(--flx-peach); --b-text: #fff4ea; --b-btn: var(--flx-peach); --b-btn-text: var(--flx-violet-ink); }
.flx-share { --b-bg: var(--flx-coral); --b-title: var(--flx-coral-ink); --b-text: var(--flx-coral-ink); --b-btn: var(--flx-coral-ink); --b-btn-text: #ffe8d6; }
.flx-stats { --b-bg: var(--flx-sand); --b-btn: var(--flx-pink); --b-btn-text: var(--flx-pink-ink); }
.flx-plans { --b-bg: var(--flx-lilac); --b-btn: var(--flx-violet); --b-btn-text: #fff; }
.flx-faq { --b-bg: var(--flx-wine); --b-title: var(--flx-pink); --b-text: #ffe6ef; }
.flx-final { --b-bg: var(--flx-grape); --b-title: var(--flx-pink); --b-text: #f3edff; --b-btn: var(--flx-pink); --b-btn-text: var(--flx-pink-ink); }

/* ---------- header: a floating pill ---------- */
.flx-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--flx-gutter) 0; }
.flx-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1180px, 100%);
  height: 66px;
  margin-inline: auto;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--flx-card);
  box-shadow: 0 12px 30px -18px rgba(29, 21, 34, 0.5);
  transition: box-shadow 0.25s var(--flx-ease);
}
.flx-header.is-scrolled .flx-nav { box-shadow: 0 16px 36px -18px rgba(29, 21, 34, 0.55), 0 0 0 1px var(--flx-line); }
.flx-nav__brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.flx-nav__brand img { display: block; width: auto; height: 30px; }
.flx-nav__brand span { padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--flx-pink); color: var(--flx-pink-ink); font-weight: 900; font-size: 0.82rem; }
.flx-nav__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.flx-nav__links a { color: var(--flx-text); font-weight: 700; font-size: 0.98rem; text-decoration: none; }
.flx-nav__links a:hover { color: var(--flx-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.flx-nav__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.flx-nav__links + .flx-nav__actions { margin-left: 0; }
/* The shared toggle is a 64px-tall SVG; the pill keeps a fixed height so the hero can tuck under it. */
.flx-nav__theme { width: auto; height: 44px; }
.flx-nav__login, .flx-nav__cta {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 1.25rem; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: transform 0.2s var(--flx-spring), background-color 0.2s var(--flx-ease);
}
.flx-nav__login { background: color-mix(in srgb, var(--flx-text) 7%, transparent); color: var(--flx-text); }
.flx-nav__login:hover { background: color-mix(in srgb, var(--flx-text) 12%, transparent); color: var(--flx-text); }
.flx-nav__cta { background: var(--flx-ink); color: #fff; }
.flx-nav__cta:hover { transform: translateY(-2px); color: #fff; }
body:not(.light-mode) .flx-nav__cta, body:not(.light-mode) .flx-nav__cta:hover { background: var(--flx-pink); color: var(--flx-pink-ink); }
.flx-nav__toggle { display: none; position: relative; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--flx-ink); cursor: pointer; }
body:not(.light-mode) .flx-nav__toggle { background: var(--flx-pink); }
.flx-nav__toggle span { position: absolute; left: 16px; right: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s var(--flx-ease); }
body:not(.light-mode) .flx-nav__toggle span { background: var(--flx-pink-ink); }
.flx-nav__toggle span:first-child { top: 21px; }
.flx-nav__toggle span:last-child { top: 28px; }
.flx-header.is-open .flx-nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.flx-header.is-open .flx-nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.flx-mobile-menu {
  display: grid; gap: 0.2rem; width: min(1180px, 100%); margin: 8px auto 0; padding: 0.75rem 1.25rem 1.25rem;
  border-radius: 28px; background: var(--flx-card); box-shadow: 0 20px 40px -20px rgba(29, 21, 34, 0.5);
}
.flx-mobile-menu a { padding: 0.8rem 0.2rem; border-bottom: 1px solid var(--flx-line); color: var(--flx-text); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.flx-mobile-menu a.flx-mobile-menu__cta {
  display: flex; justify-content: center; margin-top: 0.75rem; min-height: 56px; align-items: center;
  border: 0; border-radius: 999px; background: var(--flx-ink); color: #fff;
}
body:not(.light-mode) .flx-mobile-menu a.flx-mobile-menu__cta { background: var(--flx-pink); color: var(--flx-pink-ink); }

/* ---------- hero ---------- */
.flx-hero {
  margin-top: calc(-1 * var(--flx-nav-h));
  padding-top: calc(var(--flx-nav-h) + clamp(3rem, 8vw, 6rem));
  overflow: hidden;
}
.flx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.flx-hero__note { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1.1rem 0 0; font-size: 0.95rem; font-weight: 700; }

/* claim: the address field and its button, side by side */
.flx-claim { display: flex; gap: 10px; width: min(560px, 100%); }
.flx-claim__url {
  flex: 1; min-width: 0; display: flex; align-items: center; min-height: 60px; padding: 0 1.1rem;
  border-radius: 14px; background: #fff; color: #1d1522; cursor: text;
  box-shadow: 0 12px 30px -20px rgba(29, 21, 34, 0.6); transition: box-shadow 0.2s var(--flx-ease);
}
.flx-claim__url:focus-within { box-shadow: 0 0 0 3px var(--b-btn), 0 12px 30px -20px rgba(29, 21, 34, 0.6); }
.flx-claim__prefix { flex: none; font-weight: 700; font-size: 1.05rem; color: rgba(29, 21, 34, 0.55); }
.flx-claim__input { flex: 1; min-width: 0; height: 58px; padding: 0 0 0 0.05rem; border: 0; outline: 0; background: transparent; color: #1d1522; font: 800 1.05rem var(--flx-font); }
.flx-landing .flx-claim__input:focus-visible { outline: 0; }

/* photos with the page on the phone */
.flx-hero__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.flx-shot {
  position: relative; margin: 0; aspect-ratio: 3 / 4.3; border-radius: 30px; overflow: hidden;
  background: #e9d9c6; box-shadow: 0 30px 60px -30px rgba(77, 7, 36, 0.6);
}
.flx-shot--astra { transform: translateY(-28px); }
.flx-shot--origen { transform: translateY(44px); }
.flx-shot__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flx-shot__phone {
  position: absolute; right: 9%; bottom: 14%; width: 52%; aspect-ratio: 390 / 820; padding: 5px;
  border-radius: 22px; background: #120b14; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.65);
  animation: flx-float 6s ease-in-out infinite;
}
.flx-shot--origen .flx-shot__phone { right: auto; left: 9%; animation-delay: -3s; }
/* Concentric with the bezel: 22px outside minus the 5px frame. */
.flx-shot__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.flx-shot__url {
  position: absolute; z-index: 1; top: 14px; left: 50%; translate: -50% 0; max-width: calc(100% - 14px);
  overflow: hidden; text-overflow: ellipsis; padding: 0.28rem 0.55rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: #1d1522; font-size: 0.6rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.45);
}
.flx-shot__url b { font-weight: 900; }
.flx-shot figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font: 600 0.72rem/1.3 var(--flx-mono); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }

/* ---------- create ---------- */
.flx-create__art { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.flx-create__art > * { opacity: 0; transform: translateY(18px) scale(0.94) rotate(var(--rot, 0deg)); transition: opacity 0.5s var(--flx-ease), transform 0.7s var(--flx-spring); }
.flx-create__art.is-visible > * { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.flx-create__art > :nth-child(2) { transition-delay: 0.12s; }
.flx-create__art > :nth-child(3) { transition-delay: 0.24s; }
.flx-create__art > :nth-child(4) { transition-delay: 0.36s; }
.flx-create__phone {
  --rot: -7deg; position: absolute; left: 24%; top: 3%; width: 44%; aspect-ratio: 390 / 820; padding: 6px;
  border-radius: 30px; background: #120b14; box-shadow: 0 40px 60px -30px rgba(20, 6, 60, 0.85);
}
.flx-create__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.flx-create__theme {
  --rot: 5deg; position: absolute; right: 0; top: 9%; display: grid; gap: 0.55rem; padding: 1rem 1.15rem;
  border-radius: 22px; background: var(--flx-peach); color: var(--flx-violet-ink); box-shadow: 0 24px 40px -24px rgba(20, 6, 60, 0.8);
}
.flx-create__label { font-weight: 900; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.flx-create__swatches { display: flex; gap: 0.4rem; }
.flx-create__swatches i { width: 26px; height: 26px; border-radius: 50%; background: #7a4b3a; }
.flx-create__swatches i:first-child { box-shadow: 0 0 0 3px var(--flx-peach), 0 0 0 5px var(--flx-violet-ink); }
.flx-create__swatches i:nth-child(2) { background: #f0dcd2; }
.flx-create__swatches i:nth-child(3) { background: var(--flx-pink); }
.flx-create__swatches i:nth-child(4) { background: var(--flx-violet); }
.flx-create__font { font: 400 1.7rem/1 Georgia, "Times New Roman", serif; }
.flx-create__font small { font: 800 0.75rem var(--flx-font); }
.flx-create__link {
  --rot: -3deg; position: absolute; left: 0; bottom: 15%; display: flex; align-items: center; gap: 0.75rem;
  width: min(66%, 300px); padding: 8px 16px 8px 8px; border-radius: 22px; background: #fff; color: #4a2a22;
  font-weight: 800; box-shadow: 0 24px 40px -22px rgba(20, 6, 60, 0.8);
}
.flx-create__link span { flex: 1; min-width: 0; }
/* Concentric: 22px card minus 8px padding. */
.flx-create__link img { flex: none; width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.flx-create__socials { position: absolute; right: 12%; bottom: 6%; display: grid; gap: 0.6rem; }
.flx-create__socials i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--flx-peach); color: var(--flx-violet-ink); font-size: 1.3rem; box-shadow: 0 14px 24px -14px rgba(20, 6, 60, 0.8); }

/* ---------- share ---------- */
.flx-split--flip > .flx-block__copy { order: -1; }
.flx-share__collage { position: relative; width: min(100%, 540px); aspect-ratio: 540 / 470; margin-inline: auto; }
.flx-tile {
  position: absolute; border-radius: 22px; box-shadow: 0 24px 40px -24px rgba(59, 13, 0, 0.7);
  opacity: 0; transform: translateY(16px) scale(0.94) rotate(var(--rot, 0deg));
  transition: opacity 0.5s var(--flx-ease), transform 0.7s var(--flx-spring);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.flx-share__collage.is-visible .flx-tile { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.flx-tile--photo { overflow: hidden; object-fit: cover; }
.flx-tile--a { --rot: -5deg; --d: 0; left: 2%; top: 10%; width: 28%; height: auto; aspect-ratio: 4 / 5; }
.flx-tile--bio {
  --rot: 3deg; --d: 1; left: 34%; top: 0; width: 40%; display: grid; justify-items: center; gap: 0.2rem;
  padding: 1rem 0.8rem; background: #fff; color: #1d1522; text-align: center;
}
.flx-tile__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #3b2415; color: #f7ecdc; font-weight: 900; font-size: 0.95rem; }
.flx-tile--bio b { font-size: 0.95rem; }
.flx-tile--bio small { font-size: 0.72rem; line-height: 1.3; color: rgba(29, 21, 34, 0.65); }
.flx-tile__link { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.35rem; padding: 0.3rem 0.6rem; border-radius: 999px; background: var(--flx-lilac); color: #3b1a8c; font-size: 0.66rem; font-weight: 800; }
body:not(.light-mode) .flx-tile__link { background: #ede5ff; }
.flx-tile--qr {
  --rot: -6deg; --d: 2; right: 0; top: 20%; width: 25%; display: grid; justify-items: center; gap: 0.45rem;
  padding: 0.85rem; background: #fffaf1; color: #1d1522;
}
.flx-tile--qr svg { display: block; width: 100%; height: auto; fill: #1d1522; }
.flx-tile--qr span { font-size: 0.7rem; font-weight: 900; text-align: center; }
.flx-tile--chat {
  --rot: -2deg; --d: 3; left: 6%; bottom: 10%; width: 48%; display: grid; gap: 0.15rem; padding: 0.8rem 1rem;
  border-radius: 20px 20px 20px 6px; background: #dcf8c6; color: #10270f; font-size: 0.85rem; font-weight: 600;
}
.flx-tile--chat b { color: #075e8c; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.flx-tile--b { --rot: 4deg; --d: 4; right: 13%; bottom: 0; width: 30%; aspect-ratio: 3 / 4; }
.flx-tile--b img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flx-tile__play { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); }
.flx-tile__play::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #1d1522; }
.flx-tile--handle {
  --rot: -4deg; --d: 5; left: 44%; top: 50%; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.05rem; border-radius: 999px; background: #1d1522; color: #fff; font-weight: 900; font-size: 0.95rem;
}

/* ---------- stats ---------- */
.flx-stats__bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 12px; margin: 0; }
.flx-stat {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem; padding: 1.3rem 1.4rem;
  border-radius: 26px; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--flx-ease), transform 0.6s var(--flx-spring);
}
.flx-stats__bento.is-visible .flx-stat { opacity: 1; transform: none; }
.flx-stat:nth-child(2) { transition-delay: 0.08s; }
.flx-stat:nth-child(3) { transition-delay: 0.16s; }
.flx-stat:nth-child(4) { transition-delay: 0.24s; }
.flx-stat b { font: 900 clamp(2rem, 4vw, 2.9rem)/1 var(--flx-font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.flx-stat > span { font-weight: 800; }
.flx-stat--visits { position: relative; background: var(--flx-violet); color: #fff; }
.flx-stat__spark { position: absolute; top: 18px; right: 18px; width: 52%; height: auto; fill: none; stroke: var(--flx-peach); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.flx-stats__bento.is-visible .flx-stat__spark { animation: flx-draw 1.4s var(--flx-ease) 0.3s forwards; }
.flx-stat--clicks { background: var(--flx-pink); color: var(--flx-pink-ink); }
.flx-stat--clicks .hgi-svg { width: 28px; height: 28px; margin-bottom: auto; }
.flx-stat--ctr { background: var(--flx-coral); color: var(--flx-coral-ink); }
.flx-stat--ctr > span { font-size: 0.92rem; line-height: 1.3; }
.flx-stat--ctr { grid-column: 2; grid-row: 2; }
.flx-stat--rank { grid-column: 1; grid-row: 2; justify-content: flex-start; gap: 0.55rem; background: var(--flx-wine); color: #ffe6ef; }
.flx-stat__head { margin-bottom: 0.2rem; font-weight: 900; }
.flx-stat__bar {
  position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.85rem;
  border-radius: 12px; background: rgba(255, 230, 239, 0.1); font-weight: 700; overflow: hidden; isolation: isolate;
}
.flx-stat__bar::before {
  content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--w); border-radius: inherit;
  background: rgba(255, 157, 192, 0.45); transform-origin: left; transform: scaleX(0.05);
  transition: transform 0.9s var(--flx-spring); transition-delay: calc(0.4s + var(--i) * 0.1s);
}
.flx-stats__bento.is-visible .flx-stat__bar::before { transform: none; }
.flx-stat__bar b { font-size: 1rem; letter-spacing: 0; }
.flx-stats__bento figcaption { grid-column: 1 / -1; color: var(--flx-muted); font-size: 0.82rem; font-weight: 600; }

/* ---------- gallery ---------- */
.flx-rotator { display: block; color: #c2185b; transition: opacity 0.26s var(--flx-ease), transform 0.26s var(--flx-ease); }
body:not(.light-mode) .flx-rotator { color: var(--flx-pink); }
.flx-rotator.is-out { opacity: 0; transform: translateY(0.25em); }
.flx-gallery__track {
  margin-top: clamp(2.25rem, 5vw, 3.5rem); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.flx-gallery__rail { display: flex; align-items: center; gap: 16px; width: max-content; padding-block: 0.5rem; animation: flx-marquee 70s linear infinite; }
.flx-gallery__track:hover .flx-gallery__rail, .flx-gallery__track:focus-within .flx-gallery__rail { animation-play-state: paused; }
.flx-g { flex: none; display: block; width: auto; height: clamp(210px, 24vw, 290px); object-fit: cover; }
.flx-g--page { aspect-ratio: 390 / 820; object-position: top; border-radius: 26px; box-shadow: 0 0 0 1px var(--flx-line); }
.flx-g--oval { aspect-ratio: 3 / 4; border-radius: 50%; }
.flx-g--circle { aspect-ratio: 1; border-radius: 50%; }
.flx-g--pill { aspect-ratio: 1.55; border-radius: 999px; }
.flx-g--arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; }
.flx-g--brand {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.75rem;
  aspect-ratio: 4 / 5; padding: 1.25rem; border-radius: 26px; text-align: center;
}
.flx-g--brand b { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 900; letter-spacing: -0.02em; }
.flx-g__btn { width: 100%; padding: 0.7rem 0.6rem; border-radius: 999px; font-weight: 800; font-size: 0.85rem; }
.flx-g--brand small { font: 600 0.68rem var(--flx-mono); opacity: 0.8; }
.flx-g--roma { background: #b3261e; color: #fff4e2; }
.flx-g--roma .flx-g__btn { background: #fff4e2; color: #7a1a14; }
.flx-g--luna { background: #1c1622; color: #efe6ff; box-shadow: 0 0 0 1px var(--flx-line); }
.flx-g--luna .flx-g__btn { box-shadow: inset 0 0 0 1.5px #b99cff; border-radius: 6px; }
.flx-g--fit { background: #0f3d3a; color: #eafff4; }
.flx-g--fit .flx-g__btn { background: #9df0c4; color: #0f3d3a; border-radius: 14px; }

/* features: three color cards */
.flx-features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin-top: clamp(4rem, 9vw, 7rem);
}
.flx-feature {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-height: 280px;
  padding: 1.75rem 1.9rem 1.9rem; border-radius: 30px; overflow: hidden;
}
.flx-landing .flx-feature h3 { margin: 0; color: inherit; max-width: 20ch; font: 900 clamp(1.3rem, 2.2vw, 1.7rem)/1.15 var(--flx-font); letter-spacing: -0.02em; }
.flx-feature__art { display: grid; gap: 0.7rem; justify-items: start; }
.flx-feature--auto { background: var(--flx-pink); color: var(--flx-pink-ink); }
.flx-feature--schedule { background: var(--flx-peach); color: var(--flx-violet-ink); }
.flx-feature--themes { grid-column: 2; grid-row: 1 / span 2; background: var(--flx-violet); color: #fff4ea; }
.flx-feature__url, .flx-feature__when {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: #1d1522; font-size: 0.85rem; font-weight: 800;
}
.flx-feature__card {
  display: flex; align-items: center; gap: 0.75rem; width: min(100%, 280px); padding: 6px 16px 6px 6px;
  border-radius: 18px; background: #fff; color: #1d1522; font-weight: 800;
  box-shadow: 0 18px 30px -20px rgba(77, 7, 36, 0.7);
  transform: translateX(-12px); opacity: 0; transition: transform 0.6s var(--flx-spring) 0.2s, opacity 0.4s var(--flx-ease) 0.2s;
}
.flx-feature.is-visible .flx-feature__card { transform: none; opacity: 1; }
/* Concentric: 18px card minus 6px padding. */
.flx-feature__card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.flx-feature__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 300px);
  padding: 0.85rem 1rem; border-radius: 16px; background: #fff; color: #1d1522; font-weight: 800;
}
.flx-switch { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(29, 21, 34, 0.15); transition: background-color 0.3s var(--flx-ease) 0.5s; }
.flx-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.35s var(--flx-spring) 0.5s; }
.flx-feature.is-visible .flx-switch.is-on { background: var(--flx-violet); }
.flx-feature.is-visible .flx-switch.is-on::after { transform: translateX(16px); }
.flx-feature--themes .flx-feature__art { position: relative; flex: 1; min-height: 300px; display: block; }
.flx-feature__theme {
  position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 34%; max-width: 170px; aspect-ratio: 300 / 538; padding: 36px 14px 0; overflow: hidden;
  border: 5px solid #120b14; border-radius: 24px; box-shadow: 0 24px 40px -22px rgba(20, 6, 60, 0.9);
  translate: -50% -50%; transform: rotate(calc((var(--i) - 1) * 4deg)); transition: transform 0.8s var(--flx-spring) 0.15s;
}
.flx-feature--themes.is-visible .flx-feature__theme { transform: translateX(calc((var(--i) - 1) * 70%)) rotate(calc((var(--i) - 1) * 9deg)); }
.flx-feature__theme:nth-child(2) { z-index: 1; }
.flx-feature__theme img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.flx-feature__theme { isolation: isolate; }
.flx-feature__theme i { display: block; width: 100%; height: 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); }
.flx-feature__theme i:first-of-type { flex: none; width: 36px; height: 36px; margin-bottom: 6px; }
.flx-feature__theme--groove i { background: rgba(255, 236, 222, 0.9); }
.flx-feature__theme--aura i { background: rgba(60, 44, 30, 0.72); }

/* ---------- plans ---------- */
.flx-plans__inner { display: grid; justify-items: center; text-align: center; }
.flx-plans .flx-lead { margin-inline: auto; }
.flx-plans__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 2rem; padding: 0; list-style: none; }
.flx-plans__list li { padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--flx-card); box-shadow: 0 0 0 1px var(--flx-line); font-weight: 700; }
.flx-plans__list b { margin-right: 0.3rem; font-weight: 900; }
.flx-plans__note { margin: 1.25rem 0 0; color: var(--flx-muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.flx-faq__inner { max-width: 860px; }
.flx-faq__items { display: grid; gap: 10px; margin-top: clamp(2rem, 4vw, 3rem); }
.flx-faq details { border-radius: 20px; background: var(--flx-wine-deep); }
.flx-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.45rem;
  color: #ffe6ef; font-weight: 800; font-size: 1.06rem; list-style: none; cursor: pointer;
}
.flx-faq summary::-webkit-details-marker { display: none; }
.flx-faq__icon { flex: none; width: 11px; height: 11px; margin-top: -5px; border-right: 2.5px solid var(--flx-pink); border-bottom: 2.5px solid var(--flx-pink); transform: rotate(45deg); transition: transform 0.3s var(--flx-spring), margin 0.3s var(--flx-ease); }
.flx-faq details[open] .flx-faq__icon { margin-top: 5px; transform: rotate(-135deg); }
.flx-faq__answer p { max-width: 62ch; margin: 0; padding: 0 1.45rem 1.35rem; color: rgba(255, 230, 239, 0.86); line-height: 1.6; }
@supports (interpolate-size: allow-keywords) {
  .flx-faq details { interpolate-size: allow-keywords; }
  .flx-faq details::details-content { height: 0; overflow: clip; transition: height 0.35s var(--flx-ease), content-visibility 0.35s allow-discrete; }
  .flx-faq details[open]::details-content { height: auto; }
}

/* ---------- final + footer ---------- */
.flx-final { padding-bottom: clamp(1rem, 3vw, 2rem); overflow: hidden; isolation: isolate; }
.flx-final__bloom { position: absolute; z-index: -1; right: -60px; top: 10%; width: clamp(170px, 22vw, 290px); fill: #d4c2ff; animation: flx-spin 48s linear infinite; }
.flx-final__inner { position: relative; display: grid; justify-items: center; gap: 1.75rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.flx-final__flu { display: block; width: clamp(96px, 12vw, 132px); }
.flx-final .flx-claim { justify-content: center; }
.flx-footer { position: relative; }
.flx-footer__card {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 32px; background: var(--flx-card); color: var(--flx-text);
}
.flx-footer__brand img { width: auto; height: 30px; }
.flx-footer__brand p { max-width: 26ch; margin: 0.8rem 0 0; color: var(--flx-muted); line-height: 1.5; }
.flx-footer nav { display: grid; align-content: start; gap: 0.5rem; }
.flx-landing .flx-footer h3 { margin: 0 0 0.3rem; color: var(--flx-text); font-size: 1rem; font-weight: 900; }
.flx-footer nav a { color: var(--flx-muted); font-weight: 600; text-decoration: none; }
.flx-footer nav a:hover { color: var(--flx-text); }
.flx-footer__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.flx-footer__login, .flx-footer__cta { display: inline-flex; align-items: center; min-height: 50px; padding: 0 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none; }
.flx-footer__login { background: color-mix(in srgb, var(--flx-text) 7%, transparent); color: var(--flx-text); }
.flx-footer__login:hover { color: var(--flx-text); }
.flx-footer__cta, .flx-footer__cta:hover { background: var(--flx-pink); color: var(--flx-pink-ink); }
.flx-footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--flx-line); color: var(--flx-muted); font-size: 0.88rem; }

/* ---------- motion ---------- */
@keyframes flx-float { 50% { transform: translateY(-8px); } }
@keyframes flx-marquee { to { transform: translateX(calc(-50% - 8px)); } }
@keyframes flx-spin { to { transform: rotate(360deg); } }
@keyframes flx-draw { to { stroke-dashoffset: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .flx-nav__links { display: none; }
  .flx-hero__grid, .flx-split { grid-template-columns: minmax(0, 1fr); }
  .flx-split > .flx-block__copy { order: -1; }
  .flx-hero__shots { width: min(100%, 560px); margin-inline: auto; padding-bottom: 24px; }
  .flx-shot--astra { transform: none; }
  .flx-shot--origen { transform: translateY(24px); }
  .flx-features { grid-template-columns: minmax(0, 1fr); }
  .flx-feature--themes { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .flx-nav__login, .flx-nav__cta { display: none; }
  .flx-nav__toggle { display: block; }
  .flx-footer__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .flx-landing { --flx-nav-h: 70px; }
  .flx-nav { gap: 0.5rem; height: 58px; padding: 6px 6px 6px 16px; }
  .flx-nav__theme { height: 38px; }
  .flx-nav__brand { min-width: 0; gap: 0.35rem; }
  .flx-nav__brand img { height: 24px; }
  .flx-nav__brand span { padding: 0.12rem 0.45rem; font-size: 0.72rem; }
  .flx-nav__actions { flex-shrink: 0; gap: 0.35rem; }
  .flx-nav__toggle { width: 46px; height: 46px; }
  .flx-nav__toggle span { left: 14px; right: 14px; }
  .flx-nav__toggle span:first-child { top: 19px; }
  .flx-nav__toggle span:last-child { top: 26px; }
  .flx-claim { flex-direction: column; }
  .flx-claim .flx-pill { width: 100%; }
  .flx-hero__shots { gap: 10px; }
  .flx-shot { border-radius: 22px; }
  .flx-shot__phone { width: 56%; border-radius: 16px; padding: 4px; }
  .flx-shot__phone img { border-radius: 12px; }
  .flx-shot__url { display: none; }
  .flx-shot figcaption { left: 10px; right: 10px; bottom: 8px; font-size: 0.62rem; }
  .flx-share__collage { aspect-ratio: 1 / 1.05; }
  .flx-tile--a { width: 32%; top: 14%; }
  .flx-tile--bio { left: 30%; width: 54%; }
  .flx-tile--qr { width: 30%; top: 26%; }
  .flx-tile--chat { left: 0; bottom: 12%; width: 64%; font-size: 0.78rem; }
  .flx-tile--b { right: 2%; width: 34%; }
  .flx-tile--handle { left: 30%; top: 58%; font-size: 0.85rem; }
  .flx-stats__bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: minmax(128px, auto); }
  .flx-stat { padding: 1rem 1.1rem; border-radius: 22px; }
  .flx-stat--visits, .flx-stat--rank { grid-column: 1 / -1; }
  .flx-stat--rank { grid-row: 3; }
  .flx-stat--ctr { grid-column: 2; grid-row: 2; }
  .flx-feature { padding: 1.4rem; min-height: 0; }
  .flx-footer__card { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .flx-landing *, .flx-landing *::before, .flx-landing *::after { animation: none !important; transition: none !important; }
  .flx-create__art > *, .flx-tile, .flx-stat, .flx-feature__card { opacity: 1 !important; }
  .flx-stat__spark { stroke-dashoffset: 0; }
  .flx-gallery__track { overflow-x: auto; mask-image: none; }
}
