/* =========================================================
   Virtual Cosplay — site styles (light "photo app" look)
   Mobile-first (Android, 360px baseline). RTL-safe via
   logical properties. Shared by the home and the legal pages.
   ========================================================= */

:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --surface-2: #fdf1ee;
  --line: #efe4df;
  --text: #221a26;
  --muted: #6c6272;
  --accent: #e2457a;
  --accent-dark: #c4305f;
  --accent-soft: #fde6ee;
  --radius: 20px;
  --radius-sm: 14px;
  --gutter: 16px;
  --maxw: 1040px;
  --shadow: 0 1px 2px rgba(34, 26, 38, .04), 0 8px 24px rgba(34, 26, 38, .06);
  --font: "Plus Jakarta Sans", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Bengali",
          "Noto Sans Tamil", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI",
          Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 8.5vw, 3.2rem); font-weight: 800; }
[lang="ta"] h1 { font-size: clamp(1.7rem, 7vw, 2.8rem); line-height: 1.3; }
h2 { font-size: clamp(1.45rem, 5.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
p  { margin: 0 0 1em; }
a  { color: var(--accent-dark); }
img { display: block; max-width: 100%; height: auto; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .8em 1.6em;
  border-radius: 999px;
  border: 0;
  font: inherit; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35em;
  min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--accent-dark);
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-3px); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  background: rgba(255, 250, 247, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  white-space: nowrap;
}
.logo-mark { width: 32px; height: 32px; color: var(--accent); flex: none; }
.logo-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }

/* Language switcher: a <details> menu of plain links, so it works without JavaScript. */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding-inline: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--muted);   /* physical: the chevron must not mirror in RTL */
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-20%) rotate(45deg);
}
.lang[open] summary::after { transform: translateY(20%) rotate(225deg); }
.lang summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-icon { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; flex: none; }
.lang-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30;
  margin: 0; padding: 6px;
  list-style: none;
  min-width: 190px; max-height: 70vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.lang-list a {
  display: flex; align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.lang-list a:hover { background: var(--surface-2); }
.lang-list a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }

/* ---------- Layout ---------- */
.hero, .section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 44px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { margin-bottom: .25em; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 28px; padding-block: 28px 12px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark);
}
[lang="ar"] .eyebrow, [lang="hi"] .eyebrow, [lang="bn"] .eyebrow, [lang="ta"] .eyebrow { letter-spacing: 0; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 4px; }
.hero-ctas .btn { flex: 1 1 100%; }

.caption { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

/* Hidden SVG sprite (inline style attributes are blocked by the CSP) */
.svg-sprite { position: absolute; width: 0; height: 0; }

/* Line icons used via <use href="#i-..."> */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Stories player ---------- */
.stories { width: 100%; max-width: 440px; margin-inline: auto; }

.story-avatars {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  padding: 2px 2px 12px;
}
.story-avatars::-webkit-scrollbar { display: none; }
.story-avatar {
  flex: none;
  width: 58px; height: 58px;
  padding: 3px;
  border: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, #f9a03f, var(--accent), #a855f7, #f9a03f);
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.story-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  object-fit: cover; object-position: 50% 20%;
}
.story-avatar.seen { background: #d9cfd4; }
.story-avatar[aria-selected="true"] { transform: scale(1.08); background: conic-gradient(from 210deg, #f9a03f, var(--accent), #a855f7, #f9a03f); }
.story-avatar:active { transform: scale(.95); }

.story-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: #2a2230;
  box-shadow: 0 18px 40px rgba(34, 26, 38, .18);
  user-select: none; -webkit-user-select: none;
}
.story-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-img.is-next { clip-path: circle(0% at 50% 45%); }
.story-img.reveal { animation: reveal .7s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes reveal { to { clip-path: circle(100% at 50% 45%); } }
.story-stage.flash::after {               /* sparkle flash on transform */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.55), transparent 60%);
  animation: flash .7s ease-out forwards;
  pointer-events: none;
}
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

.story-stage::before {                    /* top and bottom shading for legibility */
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 70%, rgba(0,0,0,.5));
  pointer-events: none;
}

.story-bars {
  position: absolute; top: 10px; inset-inline: 10px; z-index: 3;
  display: flex; gap: 4px;
}
.story-bar {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.4);
  overflow: hidden;
}
.story-bar > i {
  display: block; height: 100%; width: 0;
  background: #fff; border-radius: inherit;
}
.story-bar.done > i { width: 100%; }
.story-bar.active > i { animation: bar var(--dur, 3s) linear forwards; }
.story-stage.paused .story-bar.active > i { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }

.story-tap {
  position: absolute; top: 0; bottom: 0; z-index: 2;
  width: 35%;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.story-tap-prev { inset-inline-start: 0; }
.story-tap-next { inset-inline-end: 0; width: 65%; }

.story-pause {
  position: absolute; top: 20px; inset-inline-end: 8px; z-index: 3;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: transparent; color: #fff;
  cursor: pointer;
}

.story-footer {
  position: absolute; inset-inline: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  pointer-events: none;
}
.story-footer > * { pointer-events: auto; }
.story-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 0;
  padding: .4em .8em;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .82rem; font-weight: 700;
}
.story-chip .ico { width: 16px; height: 16px; }
.story-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.story-cta {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  min-height: 46px;
  padding-block: 0;
  padding-inline: 14px 18px;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--accent-dark);
  font: inherit; font-weight: 800; font-size: .92rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  animation: pop .35s cubic-bezier(.34, 1.56, .64, 1);
}
.story-cta[hidden] { display: none; }
.story-cta .ico { width: 22px; height: 22px; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } }

.story-strip[hidden] { display: none; }
.story-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  margin-top: 10px;
}
.strip-item {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 0; border: 2px solid transparent; border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s ease, border-color .2s ease, transform .15s ease;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-item.active { opacity: 1; border-color: var(--accent); }
.strip-item:active { transform: scale(.95); }
.strip-item .strip-badge {
  position: absolute; bottom: 4px; inset-inline-end: 4px;
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--accent-dark);
}
.strip-item .strip-badge .ico { width: 12px; height: 12px; stroke-width: 2.2; }
.strip-item:first-child .strip-badge { color: var(--muted); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.step {
  position: relative;
  padding: 18px;
  padding-inline-start: 64px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step h3 { margin-bottom: .2em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-num {
  position: absolute; top: 18px; inset-inline-start: 18px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; font-size: .95rem;
}

/* ---------- Catalog ---------- */
.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0; border: 0;
  text-align: start; font: inherit; color: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::after {
  content: "";
  position: absolute; inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.card-try {
  position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease;
}
.card-try .ico { width: 22px; height: 22px; }
.card:hover .card-try, .card:focus-visible .card-try { transform: scale(1.12) rotate(-8deg); background: var(--accent); color: #fff; }
.card:active .card-try { transform: scale(.92); }
.card-name { display: block; margin-top: 8px; font-size: .92rem; font-weight: 700; line-height: 1.3; }
.catalog.is-collapsed .card-extra { display: none; }
.catalog-more { display: flex; justify-content: center; margin-top: 20px; }
.catalog-more[hidden] { display: none; }

/* ---------- Privacy ---------- */
.privacy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  margin-block: 12px;
  padding: 32px 20px;
  max-width: calc(100% - 2 * var(--gutter));
}
.privacy-list { list-style: none; margin: 20px 0 12px; padding: 0; display: grid; gap: 18px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-list svg {
  flex: none;
  width: 40px; height: 40px; padding: 9px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none; stroke: var(--accent-dark); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.privacy-list h3 { margin-bottom: .15em; }
.privacy-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 18px;
}
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding-block: 36px 52px; }
.final .btn { min-width: 240px; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 28px var(--gutter) 36px;
  border-top: 1px solid var(--line);
  display: grid; gap: 16px;
}
.footer-brand p { margin: 4px 0; }
.footer-brand a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 0; }
.footer-links a:hover { color: var(--accent-dark); }
.footer > p { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 40;
  transform: translate(-50%, 16px);
  max-width: calc(100% - 2 * var(--gutter));
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--text); color: #fff;
  font-size: .9rem; font-weight: 500;
  box-shadow: 0 10px 30px rgba(34, 26, 38, .25);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; margin-inline: auto; padding: 32px var(--gutter) 48px; }
.legal h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; margin-top: 1.8em; }
.legal-body { margin-top: 8px; }
.legal ul { padding-inline-start: 1.2em; }
.legal li { margin-bottom: .4em; }
.draft-note {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fff6db; border: 1px solid #f1dfa4; color: #6b5310;
  font-size: .9rem;
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero-ctas .btn { flex: 0 0 auto; }
  .catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .privacy { padding: 40px; }
  .privacy-list { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; padding-block: 56px 24px; gap: 48px; }
  .privacy { max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto; }
  .footer { grid-template-columns: 1fr auto; align-items: start; }
  .footer > p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .story-img.reveal { animation-duration: .01s; }
  .story-cta .ico { animation: none; }
}

/* =========================================================
   Cosplay landing (/{locale}/c/{slug}): one cosplay, one action
   ========================================================= */
.lp { max-width: 560px; margin-inline: auto; padding: 18px var(--gutter) 40px; }
.lp h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); line-height: 1.08; margin: 0 0 10px; }
[lang="ta"] .lp h1 { line-height: 1.3; }
.lp .lead { margin: 0 0 18px; }
.btn-block { display: flex; width: 100%; gap: 8px; }

/* before / after comparison: --pos is set from JS (a custom property, allowed by the CSP) */
.cmp {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #1c1520;
  box-shadow: 0 18px 40px rgba(34, 26, 38, .18); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp .after { clip-path: inset(0 0 0 var(--pos)); }
.cmp .bar {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none;
}
.cmp .knob {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; color: var(--accent-dark); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); pointer-events: none; font-weight: 800; font-size: 1.1rem;
}
.cmp .lbl {
  position: absolute; bottom: 12px; max-width: 45%; padding: 5px 11px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.3;
}
.cmp .lbl.b { left: 12px; }
.cmp .lbl.a { right: 12px; background: var(--accent); }
.cmp input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp input[type="range"]:focus-visible + .ring {
  position: absolute; inset: 0; border-radius: 22px; outline: 3px solid var(--accent); outline-offset: -3px; pointer-events: none;
}
.hint { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

.cta { margin-top: 18px; }
.cta .btn { min-height: 56px; font-size: 1.05rem; }
.perks {
  list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--muted);
}
.perks li { display: inline-flex; align-items: center; gap: 5px; }
.perks .ico { width: 15px; height: 15px; color: #1f8a56; }

.sec { margin-top: 34px; }
.sec h2 { font-size: 1.25rem; margin: 0 0 12px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 8px; }
.steps3 .ico { width: 26px; height: 26px; color: var(--accent-dark); margin-inline: auto; }
.steps3 b { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.25; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.privacy-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.privacy-card li { display: flex; gap: 10px; font-size: .92rem; line-height: 1.4; }
.privacy-card li .ico { width: 20px; height: 20px; color: #1f8a56; margin-top: 1px; }
.privacy-card a { display: inline-block; margin-top: 10px; color: var(--accent-dark); font-weight: 700; font-size: .9rem; }
.lp .faq summary { min-height: 52px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.others a { text-decoration: none; color: var(--text); }
.others img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
.others span { display: block; margin-top: 5px; font-size: .78rem; font-weight: 700; line-height: 1.2; }
.ai-note { margin: 26px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }

/* sticky button once the hero one is off screen (only with JavaScript: it adds .has-sticky) */
.sticky-cta { display: none; }
.has-sticky .sticky-cta {
  display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 247, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
}
.has-sticky .sticky-cta.on { transform: none; }
.sticky-cta .cta-form { max-width: 528px; margin-inline: auto; }
.sticky-cta .btn { min-height: 52px; }
.has-sticky .footer { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .has-sticky .sticky-cta { transition: none; } }

/* ---------- Try-on: intro ---------- */
.intro .intro-card { display: flex; gap: 14px; align-items: center; margin: 0 0 18px; }
.intro .intro-card img { flex: none; width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.intro .intro-card p { margin: 0; font-size: .95rem; line-height: 1.45; }
.intro-form { display: grid; gap: 12px; }
.intro-form .check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.intro-form .check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.intro-form .check-note { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted, #6b6070); }
.intro-form .check-note a { color: inherit; text-decoration: underline; }
.intro .back { margin-top: 12px; }
.intro-form .level { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro-form .level-title { grid-column: 1 / -1; margin: 0; font-size: .95rem; font-weight: 700; }
.intro-form .level-option { position: relative; display: flex; min-height: 64px; cursor: pointer; }
.intro-form .level-option input { position: absolute; z-index: 1; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.intro-form .level-option span { flex: 1; display: grid; align-content: center; gap: 2px; padding: 10px 12px; border: 2px solid var(--border, rgba(0, 0, 0, .15)); border-radius: 14px; background: var(--surface, #fff); }
.intro-form .level-option strong { font-size: .98rem; }
.intro-form .level-option small { font-size: .78rem; line-height: 1.3; opacity: .75; }
.intro-form .level-option input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.intro-form .level-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-error { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .92rem; }

/* ---------- Try-on: camera view ---------- */
.cam { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #0f0b12; color: #fff; padding-bottom: env(safe-area-inset-bottom); }
.cam-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top)); }
.cam-title { margin: 0; text-align: center; font-weight: 700; font-size: .95rem; letter-spacing: 0; }
.cam-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cam-x .ico { width: 22px; height: 22px; }
.cam-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.cam-frame { position: relative; aspect-ratio: 3 / 4; height: 100%; max-width: 100%; border-radius: 18px; overflow: hidden; background: #000; }
.cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam-oval { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cam[data-state="starting"] .cam-oval, .cam[data-state="error"] .cam-oval, .cam[data-state="checking"] .cam-oval { display: none; }
/* Body step (head to waist): no face oval, no waiting panels over it. */
.cam[data-step="body"] .cam-oval, .cam[data-state="found"] .cam-oval, .cam[data-state="reading"] .cam-oval,
.cam[data-state="privacy"] .cam-oval, .cam[data-state="processing"] .cam-oval, .cam[data-state="portrait"] .cam-oval { display: none; }
.cam-panel { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: rgba(15, 11, 18, .94); }
.cam-panel[hidden], .cam-panel [hidden] { display: none; }
.cam-panel p { margin: 0; max-width: 280px; font-size: .95rem; line-height: 1.45; color: #e9e0ec; }
.cam-panel .btn { min-height: 52px; width: 100%; max-width: 260px; }
.cam-panel .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cam-ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .18); border-top-color: var(--accent); animation: cam-spin .8s linear infinite; }
@keyframes cam-spin { to { transform: rotate(360deg); } }
.cam-hint { margin: 0; padding: 10px 20px 4px; text-align: center; font-size: .92rem; line-height: 1.35; min-height: 3.2em; }
.cam-bar { display: flex; justify-content: center; padding: 8px 16px 16px; }
.cam-bar .btn { width: 100%; max-width: 320px; min-height: 56px; }
.cam-bar .btn:disabled { opacity: .45; cursor: default; }
.cam[data-state="checking"] .cam-bar, .cam[data-state="found"] .cam-bar, .cam[data-state="reading"] .cam-bar,
.cam[data-state="privacy"] .cam-bar, .cam[data-state="processing"] .cam-bar, .cam[data-state="portrait"] .cam-bar { visibility: hidden; }
.cam-found-ico { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--accent); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cam-found p { font-size: 1.15rem; font-weight: 700; color: #fff; }
.cam-panel .cam-found-sub { font-size: .9rem; font-weight: 500; color: #e9e0ec; }
.cam-panel h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: #fff; }
.cam-privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 290px; text-align: start; }
.cam-privacy li { font-size: .88rem; line-height: 1.4; color: #e9e0ec; padding-inline-start: 14px; position: relative; }
.cam-privacy li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cam-panel .cam-level { margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.cam-portrait { padding: 0; background: #000; }
.cam-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-processing-card { width: 108px; height: 144px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.cam-error-hint { margin: 0; display: grid; justify-items: center; gap: 6px; }
.cam-error-hint img { width: 84px; height: auto; border-radius: 10px; background: #fff; padding: 4px; }
.cam-error-hint figcaption { font-size: .74rem; font-weight: 700; color: #b9adbd; }
.cam-panel .cam-error-tip { font-size: .88rem; color: #fff; font-weight: 600; }
.cam-panel .cam-error-note { font-size: .78rem; color: #b9adbd; }
.cam-flash { position: fixed; inset: 0; z-index: 300; background: #fff; }
.cam-flash[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cam-ring { animation-duration: 3s; } }

/* The result of the try-on, the email form, the inbox and the pages of the links of our emails. */
.flow { max-width: 440px; margin: 0 auto; padding: 18px 18px 40px; }
.flow-center { text-align: center; }
.flow-head { text-align: center; margin-bottom: 14px; }
.flow-head h1 { margin: 0 0 4px; font-size: 1.5rem; }
.flow-frame { position: relative; max-width: 360px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: var(--accent-soft); }
.flow-frame img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.flow-frame-small { max-width: 200px; margin-bottom: 18px; }
.flow-tag { position: absolute; top: 10px; inset-inline-start: 10px; padding: .3em .7em; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 700; }
.flow-hold { display: flex; margin: 14px auto 0; min-height: 46px; padding: 0 18px; align-items: center; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.flow-hold[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.flow-card { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--accent-soft); text-align: center; }
.flow-actions { display: grid; gap: 10px; margin-top: 18px; }
.flow-actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-actions-row .btn { flex: 1 1 auto; }
.flow-small { font-size: .82rem; }
.flow-form { display: grid; gap: 12px; }
.flow-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.flow-form .check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.flow-form .check-note { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); }
.flow-form .check-note a { color: inherit; text-decoration: underline; }
.flow-form .field { display: grid; gap: 6px; }
.flow-form .input { min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.flow .lead { font-size: 1.05rem; line-height: 1.5; }
.flow-backdrop { position: fixed; inset: 0; background: rgba(34, 26, 38, .45); z-index: 40; }
.flow-sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; max-width: 480px; margin: 0 auto; padding: 22px 18px 28px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.flow-sheet[hidden], .flow-backdrop[hidden] { display: none; }
.flow-sheet h2 { margin: 0 0 4px; font-size: 1.2rem; }
.flow-sheet h2:focus { outline: none; }
.flow-sheet-close { position: absolute; top: 8px; inset-inline-end: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; }
.flow-options { display: grid; gap: 10px; margin-top: 14px; }
.flow-option { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.flow-option:hover { border-color: var(--accent); }
.flow-choice { display: grid; gap: 2px; margin: 14px 0 10px; padding: 14px; text-align: center; }
.flow-choice small { font-weight: 600; opacity: .92; }
.sheet-open { overflow: hidden; }

/* The weekly limit page. */
.flow-recap { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.flow-recap-card { width: 96px; height: auto; border-radius: 12px; filter: brightness(.9); }
.flow-recap-list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 2px; font-weight: 600; }
.flow-recap-list .locked { color: var(--accent-dark); }
.flow-count { display: flex; justify-content: center; gap: 12px; margin: 10px 0; }
.flow-count > div { min-width: 76px; padding: 10px; border-radius: 14px; background: var(--accent-soft); }
.flow-count b { display: block; font-size: 1.8rem; }
.flow-count span { font-size: .78rem; color: var(--muted); }
.flow-looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow-looks a { text-decoration: none; text-align: center; font-size: .78rem; color: inherit; }
.flow-looks img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* The camera: guide, timer, countdown, other cosplay, and the "turn your phone upright" notice. */
.cam-guide { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: .75; pointer-events: none; }
.cam-guide[hidden], .cam-timer[hidden] { display: none; }
.cam-timer { position: absolute; z-index: 4; top: 10px; inset-inline: 0; display: flex; gap: 6px; justify-content: center; align-items: center; }
.cam-timer-label { font-size: .8rem; font-weight: 700; opacity: .9; margin-inline-end: 4px; }
.cam-timer button { min-width: 48px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: rgba(0,0,0,.4); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cam-timer button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.cam-count { font-size: 5rem !important; font-weight: 800; line-height: 1; max-width: none !important; }
.cam-example { margin: 0 0 4px; }
.cam-example-pair { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cam-example-pair img { width: 84px; height: auto; border-radius: 10px; }
.cam-example figcaption { margin-top: 6px; font-size: .78rem; color: #cfc4d3; }
.cam-other { z-index: 6; overflow-y: auto; justify-content: flex-start; }
.cam-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.cam-other-item { border: 0; background: none; color: #fff; font: inherit; font-size: .72rem; cursor: pointer; }
.cam-other-item img { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: 4px; }
.cam-rotate { z-index: 10; background: #0f0b12; }
.cam-rotate-ico { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cam[data-orientation="landscape"] .cam-shoot { pointer-events: none; opacity: .4; }
.cam-fitting-lock { display: inline-block; margin-inline-end: 6px; }

/* The Kreatiu offer under the portrait (opens when she presses "Download"): the square is all a link. */
.kreatiu-offer { display: grid; gap: 10px; justify-items: center; padding: 16px; border-radius: 16px; background: var(--accent-soft); text-align: center; }
.kreatiu-offer[hidden] { display: none; }
.kreatiu-offer h2 { margin: 0; font-size: 1.2rem; }
.kreatiu-offer p { margin: 0; }
/* The tile wears Kreatiu's card: ink outline and hard shadow (its colours, not ours). */
.kreatiu-offer-tile { display: block; width: min(calc(100% - 6px), 320px); aspect-ratio: 1 / 1; border: 3px solid #22162e; border-radius: 16px; box-shadow: 5px 5px 0 #22162e; overflow: hidden; background: #fff7ee; transition: transform .12s ease, box-shadow .12s ease; }
.kreatiu-offer-tile:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #22162e; }
.kreatiu-offer-tile:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #22162e; }
.kreatiu-offer-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
