/* Tryco landing — the app's own A57 theme (ui/theme/Color.kt): the warm near-black #161311, ivory #FFF4EE text, the
   red → peach CTA (colorA57ConfirmGradient #FF1534 → #FDB271), coral / orange / peach accents, Hot #BE1134 and New
   #FFC21F badges, and the Generating scan line teal → peach glow → coral (colorA57ScanLine). Manrope (res/font) for
   text; Instrument Serif echoes the serif Tryco wordmark for headlines. Logical properties throughout so Arabic
   (dir="rtl") mirrors cleanly. */

:root {
  --ground-0: #1f1815;
  --ground: #161311;
  --ground-1: #0d0a09;
  --card: #28221f;
  --card-2: #342c29;
  --wine: #3a1e22;
  --glass-0: rgba(58, 30, 34, .5);
  --glass-1: rgba(31, 26, 24, .86);
  --glass-deep: rgba(27, 22, 20, .98);
  --line: rgba(255, 244, 238, .1);
  --line-2: rgba(255, 244, 238, .2);
  --ivory: #fff4ee;
  --body: #e6d3c9;
  --muted: #b3a39b;
  --dim: #7f716a;
  --red: #ff1534;
  --hot: #be1134;
  --coral: #e25a4e;
  --orange: #f58a62;
  --peach: #fdb271;
  --peach-hi: #ffe4c8;
  --new: #ffc21f;
  --new-text: #5a340c;
  --teal: #62d6c7;
  --glow: #ffcfae;
  --ok: #2eae6f;
  --danger: #f2445a;
  --grad: linear-gradient(100deg, #ff1534 0%, #f5506a 35%, #fdb271 100%);
  --grad-text: linear-gradient(100deg, #ff5a6e 0%, #f58a62 45%, #ffd2b0 100%);
  --scan: linear-gradient(90deg, rgba(98, 214, 199, 0) 0%, #62d6c7 20%, #ffcfae 50%, #e25a4e 80%, rgba(226, 90, 78, 0) 100%);
  --rim: linear-gradient(140deg, rgba(255, 228, 200, .6), rgba(245, 138, 98, .2) 45%, rgba(226, 90, 78, .5));
  --shadow: 0 14px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .6);
  --glow-red: 0 12px 34px rgba(190, 17, 52, .45);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --display-weight: 400;
  --display-track: -.01em;
  --radius: 24px;
  --header-h: 70px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
/* Instrument Serif is Latin only: Vietnamese, Arabic, Devanagari and Bengali headlines use their own sans in bold */
html[lang="vi"] { --font: 'Be Vietnam Pro', 'Manrope', system-ui, sans-serif; --font-display: 'Be Vietnam Pro', 'Manrope', sans-serif; --display-weight: 700; --display-track: -.02em; }
html[lang="ar"] { --font: 'Readex Pro', 'Manrope', system-ui, sans-serif; --font-display: 'Readex Pro', 'Manrope', sans-serif; --display-weight: 700; --display-track: 0; }
html[lang="hi"] { --font: 'Noto Sans Devanagari', 'Manrope', system-ui, sans-serif; --font-display: 'Noto Sans Devanagari', 'Manrope', sans-serif; --display-weight: 700; --display-track: 0; }
html[lang="bn"] { --font: 'Noto Sans Bengali', 'Manrope', system-ui, sans-serif; --font-display: 'Noto Sans Bengali', 'Manrope', sans-serif; --display-weight: 700; --display-track: 0; }

*, *::before, *::after { box-sizing: border-box; }
/* the ground lives on <html> so the fixed aura (z-index -1) paints above it — a body background would cover it */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; background: linear-gradient(180deg, var(--ground-0) 0%, var(--ground) 40%, var(--ground-1) 100%) fixed var(--ground-1); }
body { margin: 0; font-family: var(--font); color: var(--body); font-size: 16px; line-height: 1.6; background: transparent; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; min-height: 100vh; }
html[dir="rtl"] body, html[lang="hi"] body, html[lang="bn"] body { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
html[dir="rtl"] .ic-dir { transform: scaleX(-1); }
.i18n-wait main, .i18n-wait .site-header { opacity: 0; }
main, .site-header { transition: opacity .25s; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ivory); color: var(--ground); border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
em { font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
html[lang="vi"] em, html[lang="ar"] em, html[lang="hi"] em, html[lang="bn"] em { font-style: normal; }

/* ---------- backdrop: warm aura + film grain (fixed, cheap) ---------- */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .6; }
.aura .a1 { width: 64vmax; height: 64vmax; inset-inline-end: -22vmax; top: -26vmax; background: radial-gradient(circle, rgba(255, 21, 52, .42), transparent 64%); animation: drift 26s ease-in-out infinite alternate; }
.aura .a2 { width: 54vmax; height: 54vmax; inset-inline-start: -24vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(253, 178, 113, .26), transparent 64%); animation: drift 32s ease-in-out infinite alternate-reverse; }
.aura .a3 { width: 42vmax; height: 42vmax; inset-inline-start: 34%; top: 38%; background: radial-gradient(circle, rgba(190, 17, 52, .16), transparent 70%); }
@keyframes drift { to { transform: translate(-6vmax, 5vmax) scale(1.08); } }
.lite .aura i { animation: none; }
.grain { position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.lite .grain { animation: none; opacity: .05; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 24px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--spring), box-shadow .25s, background-color .2s, opacity .2s;
  -webkit-user-select: none; user-select: none; isolation: isolate; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: var(--glow-red), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 21, 52, .5), inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(-2px); }
.btn-glass { color: var(--ivory); background: rgba(255, 244, 238, .06); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 244, 238, .12); transform: translateY(-2px); }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }

/* ---------- glass ---------- */
.glass { position: relative; border-radius: var(--radius); background: linear-gradient(160deg, var(--glass-0), var(--glass-1)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--rim); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.lite .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(160deg, rgba(48, 30, 30, .92), rgba(28, 23, 21, .96)); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(22, 19, 17, .78); box-shadow: 0 1px 0 rgba(253, 178, 113, .14), 0 10px 30px rgba(0, 0, 0, .3); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.lite .site-header.is-scrolled { background: rgba(22, 19, 17, .96); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; color: var(--ivory); }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 18px rgba(255, 21, 52, .4); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.wordmark { width: 74px; height: 26px; color: var(--ivory); }
.brand-name small { font-size: 9px; font-weight: 800; letter-spacing: .28em; color: var(--peach); text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
html[lang="ar"] .brand-name small, html[lang="hi"] .brand-name small, html[lang="bn"] .brand-name small { letter-spacing: 0; font-size: 10.5px; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.main-nav a { position: relative; padding: 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--ivory); background: rgba(255, 244, 238, .07); }
.main-nav a.is-active { color: var(--ivory); background: rgba(253, 178, 113, .14); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.site-header.is-compact .header-actions { margin-inline-start: auto; }
.lang-menu { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 244, 238, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ivory); font-weight: 800; font-size: 13px; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; max-height: min(70vh, 480px); overflow: auto; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--glass-deep); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); z-index: 10; }
.lang-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--body); }
.lang-list li small { color: var(--dim); font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.lang-list li:hover, .lang-list li:focus { background: rgba(255, 244, 238, .07); outline: none; color: var(--ivory); }
.lang-list li[aria-selected="true"] { color: var(--ivory); background: var(--wine); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .35); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 244, 238, .06); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.menu-toggle span { position: absolute; inset-inline-start: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ivory); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.progress-track { position: absolute; inset: auto 0 0; height: 2px; }
.progress-fill { height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .progress-fill { transform-origin: 100% 50%; }
.site-header.is-compact .main-nav { display: none; }
.site-header.is-compact .menu-toggle { display: block; }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; overflow-x: clip; }
.section-head { max-width: 820px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 18px; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--peach-hi); background: rgba(253, 178, 113, .1); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .3); }
.kicker .ic { width: 16px; height: 16px; color: var(--peach); }
html[lang="ar"] .kicker, html[lang="hi"] .kicker, html[lang="bn"] .kicker, html[lang="vi"] .kicker { letter-spacing: .02em; text-transform: none; font-size: 13.5px; }
.section-title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 6vw, 78px); line-height: 1.02; color: var(--ivory); letter-spacing: var(--display-track); text-wrap: balance; }
html[lang="vi"] .section-title, html[lang="ar"] .section-title, html[lang="hi"] .section-title, html[lang="bn"] .section-title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.18; }
.section-sub { margin: 20px auto 0; max-width: 660px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted); text-wrap: pretty; }
.section-sub:empty { display: none; }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-note .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--peach); }
.form-note-center { justify-content: center; text-align: center; margin-top: 22px; }
.field-label { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
html[lang="ar"] .field-label, html[lang="hi"] .field-label, html[lang="bn"] .field-label, html[lang="vi"] .field-label { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.center-cta { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- shared controls ---------- */
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(13, 10, 9, .55); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 10px 18px; background: none; color: var(--muted); font-weight: 800; font-size: 14px; white-space: nowrap; transition: color .2s, background-color .25s, box-shadow .25s; }
.tabs button:hover { color: var(--ivory); }
.tabs button[aria-selected="true"] { color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(255, 21, 52, .35); }
.tabs-sm button { padding: 8px 14px; font-size: 13px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(13, 10, 9, .6); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 800; font-size: 13.5px; white-space: nowrap; transition: color .2s, background-color .25s, box-shadow .25s; }
.seg button[aria-checked="true"] { color: var(--ivory); background: var(--wine); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .55), 0 6px 18px rgba(190, 17, 52, .25); }
.seg button .ic { width: 18px; height: 18px; }
.seg-sm button { min-height: 36px; padding: 0 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--body); background: rgba(255, 244, 238, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, box-shadow .2s, color .2s, transform .2s var(--spring); }
.chip:hover { background: rgba(255, 244, 238, .1); }
.chip[aria-pressed="true"] { color: var(--ivory); background: var(--wine); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .7); }
.chip .ic { width: 15px; height: 15px; color: var(--peach); }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--hot); box-shadow: 0 4px 12px rgba(190, 17, 52, .45); }
.badge.is-new { color: var(--new-text); background: var(--new); box-shadow: 0 4px 12px rgba(255, 194, 31, .35); }
.sample-tag { position: absolute; inset-inline-start: 12px; bottom: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .88); background: rgba(13, 10, 9, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.sample-tag .ic { width: 13px; height: 13px; color: var(--teal); }
.unlock { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--new-text); background: linear-gradient(135deg, #fff4ee, var(--peach-hi) 45%, var(--peach)); box-shadow: 0 8px 24px rgba(253, 178, 113, .35), inset 0 1px 0 rgba(255, 255, 255, .7); transition: transform .25s var(--spring); }
.unlock .ic { width: 18px; height: 18px; }
.unlock:hover { transform: translateY(-2px); }

/* ---------- a picture with the app's scan line ---------- */
.portrait, .compare, .slot-photo { position: relative; margin: 0; overflow: hidden; background: var(--card); isolation: isolate; }
.p-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-user-drag: none; user-select: none; }
.p-next { clip-path: inset(0 0 calc(100% - var(--sweep, 0%)) 0); z-index: 1; }
.p-next:not([src]) { display: none; }
.scan { position: absolute; inset-inline: 0; top: var(--sweep, 0%); z-index: 4; height: 3px; margin-top: -1px; background: var(--scan); box-shadow: 0 0 20px 5px rgba(255, 207, 174, .55); opacity: 0; transition: opacity .2s; pointer-events: none; }
.scan::before { content: ''; position: absolute; inset-inline: 0; bottom: 100%; height: 140px; background: linear-gradient(180deg, rgba(98, 214, 199, 0), rgba(226, 90, 78, .35)); }
.is-sweeping > .scan { opacity: 1; }
.is-working > .scan { opacity: 1; animation: scanLoop 1.5s ease-in-out infinite alternate; }
.is-working > .scan::before { animation: trailFlip 3s steps(1) infinite; }
@keyframes scanLoop { from { top: 0%; } to { top: 100%; } }
@keyframes trailFlip { 0% { bottom: 100%; top: auto; transform: none; } 50% { bottom: auto; top: 100%; transform: scaleY(-1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }

/* compare: the original under the result, split by the app's handle */
.cmp-orig, .cmp-before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; clip-path: inset(0 calc(100% - var(--pos)) 0 0); -webkit-user-drag: none; user-select: none; z-index: 2; }
.compare img { -webkit-user-drag: none; user-select: none; }
.cmp-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cmp-label { position: absolute; top: 14px; z-index: 5; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(13, 10, 9, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; transition: opacity .3s; }
.cmp-l { left: 14px; }
.cmp-r { right: 14px; }
.cmp-range { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5; width: 3px; margin-left: -1.5px; background: linear-gradient(180deg, rgba(98, 214, 199, 0), #62d6c7 15%, #ffcfae 50%, #e25a4e 85%, rgba(226, 90, 78, 0)); box-shadow: 0 0 16px rgba(255, 207, 174, .9); pointer-events: none; }
.cmp-line b { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--hot); box-shadow: 0 6px 18px rgba(0, 0, 0, .45), 0 0 0 5px rgba(255, 244, 238, .18); }
.cmp-line .ic { width: 22px; height: 22px; }
.cmp-range:focus-visible ~ .cmp-line b { outline: 2px solid var(--peach); outline-offset: 3px; }
.compare, .portrait, .slot-photo { direction: ltr; }

/* ============ HERO ============ */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 60px; overflow-x: clip; }
.hero-word { position: absolute; inset-inline: 0; bottom: 4%; display: flex; justify-content: center; pointer-events: none; z-index: 0; }
.hero-word svg { width: min(1400px, 118vw); height: auto; aspect-ratio: 82 / 29; color: transparent; stroke: rgba(255, 228, 200, .07); stroke-width: .12; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; font-size: 13px; background: rgba(31, 26, 24, .7); box-shadow: inset 0 0 0 1px rgba(98, 214, 199, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live-chip b { color: var(--ivory); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
html[lang="ar"] .live-chip b, html[lang="hi"] .live-chip b, html[lang="bn"] .live-chip b, html[lang="vi"] .live-chip b { text-transform: none; letter-spacing: 0; font-size: 13px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(98, 214, 199, .6); } 70% { box-shadow: 0 0 0 10px rgba(98, 214, 199, 0); } 100% { box-shadow: 0 0 0 0 rgba(98, 214, 199, 0); } }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(52px, 7.6vw, 112px); line-height: .94; color: var(--ivory); letter-spacing: -.02em; text-wrap: balance; }
html[lang="vi"] .hero-title, html[lang="ar"] .hero-title, html[lang="hi"] .hero-title, html[lang="bn"] .hero-title { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.12; letter-spacing: -.01em; }
.hero-sub { margin: 26px 0 0; max-width: 520px; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--body); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; gap: clamp(18px, 3vw, 40px); margin: 38px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(32px, 3.6vw, 46px); line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; font-weight: 700; color: var(--muted); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.stage3d { position: relative; width: 100%; aspect-ratio: 1; max-width: 660px; margin-inline: auto; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.stage3d::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 21, 52, .3), rgba(253, 178, 113, .08) 48%, transparent 70%); filter: blur(12px); }
.stage-fallback { position: absolute; inset: 11% 25%; width: 50%; height: 78%; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.stage3d.is-3d .stage-fallback { opacity: 0; transition: opacity .8s; }
.stage3d img { pointer-events: none; -webkit-user-drag: none; }
.stage3d:active, .stage3d.is-grabbing { cursor: grabbing; }
.stage3d canvas { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; pointer-events: none; }
.stage-look { position: absolute; inset-inline: 0; bottom: 1%; z-index: 2; margin: 0 auto; width: max-content; max-width: 90%; display: flex; align-items: baseline; gap: 10px; padding: 9px 20px; border-radius: 999px; background: rgba(13, 10, 9, .66); box-shadow: inset 0 0 0 1px rgba(255, 244, 238, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.stage-look small { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .stage-look small, html[lang="hi"] .stage-look small, html[lang="bn"] .stage-look small, html[lang="vi"] .stage-look small { letter-spacing: 0; text-transform: none; font-size: 13px; }
.stage-look b { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 26px; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
html[lang="vi"] .stage-look b, html[lang="ar"] .stage-look b, html[lang="hi"] .stage-look b, html[lang="bn"] .stage-look b { font-style: normal; font-size: 19px; }
.stage-tip { position: absolute; top: 9%; inset-inline: 0; z-index: 2; margin: 0 auto; width: max-content; max-width: 90%; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--ivory); background: rgba(31, 26, 24, .88); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .45), var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.stage-tip.is-shown { opacity: 1; transform: none; }
.stage-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px auto 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.stage-hint .ic { width: 16px; height: 16px; color: var(--teal); }
.scroll-cue { position: absolute; bottom: 20px; inset-inline-start: 50%; z-index: 2; width: 26px; height: 42px; margin-inline-start: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(253, 178, 113, .5); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--peach); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============ RUNWAY TAPE ============ */
.ticker { position: relative; z-index: 2; padding: 26px 0; overflow: hidden; direction: ltr; }
.ticker-row { display: flex; overflow: hidden; transform: rotate(-2deg); margin: 0 -4vw; background: var(--grad); box-shadow: 0 18px 50px rgba(190, 17, 52, .35); }
.ticker-row.is-rev { transform: rotate(1.4deg); margin-top: -6px; background: var(--ground-1); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .25); }
.ticker-track { display: flex; flex: none; align-items: center; gap: 0; padding: 14px 0; white-space: nowrap; animation: tape 60s linear infinite; will-change: transform; }
.ticker-row.is-rev .ticker-track { animation-direction: reverse; animation-duration: 70s; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-inline: 22px 0; font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; color: #fff; }
.ticker-row.is-rev .ticker-track span { color: transparent; -webkit-text-stroke: 1px rgba(255, 228, 200, .7); }
html[lang="vi"] .ticker-track span, html[lang="ar"] .ticker-track span, html[lang="hi"] .ticker-track span, html[lang="bn"] .ticker-track span { font-style: normal; font-weight: 800; font-size: clamp(18px, 2vw, 26px); }
html[lang="vi"] .ticker-row.is-rev .ticker-track span, html[lang="ar"] .ticker-row.is-rev .ticker-track span, html[lang="hi"] .ticker-row.is-rev .ticker-track span, html[lang="bn"] .ticker-row.is-rev .ticker-track span { color: var(--peach-hi); -webkit-text-stroke: 0; }
.ticker-track span::after { content: '✦'; font-style: normal; font-size: .6em; color: rgba(255, 255, 255, .85); -webkit-text-stroke: 0; }
.ticker-row.is-rev .ticker-track span::after { color: var(--peach); }
@keyframes tape { to { transform: translateX(-50%); } }
.is-paused .ticker-track { animation-play-state: paused; }

/* ============ CLOTHES CHANGER ============ */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.studio-stage { position: relative; }
.studio-stage::before { content: ''; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 21, 52, .3), transparent 65%); filter: blur(40px); z-index: -1; }
.portrait { width: min(100%, 470px); margin-inline: auto; aspect-ratio: 3 / 4; border-radius: 34px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 244, 238, .1); }
.portrait::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 228, 200, .18); background: linear-gradient(180deg, rgba(13, 10, 9, 0) 70%, rgba(13, 10, 9, .45)); }
#clothesPortrait .p-img { object-position: 50% 30%; }
#clothesPortrait .cmp-orig { object-position: 50% 30%; }
#clothesPortrait .cmp-orig, #clothesPortrait .cmp-line, #clothesPortrait .cmp-label, #clothesPortrait .cmp-range { opacity: 0; pointer-events: none; transition: opacity .4s; }
#clothesPortrait.has-result .cmp-orig, #clothesPortrait.has-result .cmp-line, #clothesPortrait.has-result .cmp-label { opacity: 1; }
#clothesPortrait.has-result .cmp-range { pointer-events: auto; }
#clothesPortrait.is-working .cmp-orig, #clothesPortrait.is-working .cmp-line, #clothesPortrait.is-working .cmp-label { opacity: 0; }
.photo-chip { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #fff; background: rgba(13, 10, 9, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s; }
.photo-chip .ic { width: 15px; height: 15px; color: var(--peach); }
.has-result .photo-chip, .is-working .photo-chip { opacity: 0; }
.gen { position: absolute; inset-inline: 14%; top: 50%; z-index: 6; transform: translateY(-50%) scale(.94); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 18px; border-radius: 24px; text-align: center; background: rgba(22, 19, 17, .78); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .35s, transform .35s var(--spring); pointer-events: none; }
.is-working > .gen { opacity: 1; transform: translateY(-50%); }
.gen b { color: var(--ivory); font-size: 16px; line-height: 1.3; }
.gen small { color: var(--muted); font-size: 12.5px; }
.gen-ring { position: relative; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%; background: conic-gradient(from 0deg, var(--teal), var(--glow), var(--coral), var(--red), var(--teal)); animation: spin 1.1s linear infinite; -webkit-mask: radial-gradient(circle, transparent 19px, #000 20px); mask: radial-gradient(circle, transparent 19px, #000 20px); }
.studio-panel { padding: 28px; }
.panel-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--ivory); }
.look-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.look { position: relative; width: 100%; display: block; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--spring), box-shadow .25s; }
.look img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease); }
.look span { position: absolute; inset: auto 0 0; padding: 30px 10px 10px; font-size: 12.5px; font-weight: 800; line-height: 1.25; color: #fff; text-align: start; background: linear-gradient(180deg, rgba(13, 10, 9, 0), rgba(13, 10, 9, .86)); }
.look:hover { transform: translateY(-4px); }
.look:hover img { transform: scale(1.06); }
.look[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--peach), 0 14px 30px rgba(255, 21, 52, .35); }
.look[aria-pressed="true"]::after { content: ''; position: absolute; top: 9px; inset-inline-end: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 2px #fff; }
.look:disabled { cursor: wait; }
.steps { display: grid; gap: 10px; margin: 20px 0; padding: 16px; list-style: none; border-radius: 18px; background: rgba(13, 10, 9, .45); box-shadow: inset 0 0 0 1px var(--line); }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--dim); transition: color .2s; }
.steps i { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 244, 238, .16); }
.steps li.is-active { color: var(--ivory); }
.steps li.is-active i { box-shadow: none; border: 2px solid rgba(255, 244, 238, .15); border-top-color: var(--teal); border-right-color: var(--peach); animation: spin .8s linear infinite; }
.steps li.is-done { color: var(--body); }
.steps li.is-done i { background: var(--grad); box-shadow: none; }
.steps li.is-done i::after { content: ''; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ============ OUTFIT LIBRARY ============ */
.lib-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px 34px; margin-bottom: 22px; }
.lib-field { display: flex; flex-direction: column; align-items: center; }
#outfitTabs { width: max-content; margin: 0 auto; }
.rail-wrap { position: relative; margin-top: 30px; perspective: 1400px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rail { display: flex; gap: 18px; margin: 0; padding: 30px max(20px, calc(50vw - 120px)) 40px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform-style: preserve-3d; direction: ltr; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 0 0 auto; scroll-snap-align: center; transform-style: preserve-3d; }
.rail-card { position: relative; display: block; width: 240px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); transform: rotateY(var(--ry, 0deg)) scale(var(--s, 1)) translateZ(var(--tz, 0px)); transition: transform .25s var(--ease), opacity .25s; opacity: var(--o, 1); will-change: transform; }
.rail-card img { width: 100%; height: 100%; object-fit: cover; }
.rail-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 228, 200, .18); background: linear-gradient(180deg, rgba(13, 10, 9, 0) 65%, rgba(13, 10, 9, .55)); pointer-events: none; }
.rail-card .rail-g { position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(13, 10, 9, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rail-card .rail-g .ic { width: 16px; height: 16px; }
.rail-card .rail-try { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.rail-card:hover .rail-try, .rail-card:focus-visible .rail-try { opacity: 1; transform: none; }
.rail-card .rail-try .ic { width: 14px; height: 14px; }
.rail-more img { filter: blur(10px) brightness(.45); transform: scale(1.15); }
.rail-more .rail-lock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; color: #fff; }
.rail-more .rail-lock b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1; }
.rail-more .rail-lock .unlock { font-size: 13px; padding: 9px 15px; }

/* ============ TRY ON ============ */
.tryon-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.tryon-copy .section-title, .tryon-copy .section-sub { text-align: start; margin-inline: 0; }
.kind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.kind-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--body); background: rgba(255, 244, 238, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.kind-chips .ic { width: 17px; height: 17px; color: var(--peach); }
.tip-line { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 26px; font-size: 14px; color: var(--muted); }
.tip-line .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--teal); }
.tryon-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.slot { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border: 0; border-radius: 26px; text-align: start; color: inherit; background: linear-gradient(170deg, rgba(58, 30, 34, .45), rgba(31, 26, 24, .85)); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.slot-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 800; color: var(--ivory); }
.slot-n { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); }
.slot-n .ic { width: 13px; height: 13px; }
.slot-photo { display: block; aspect-ratio: 3 / 4; border-radius: 18px; }
.slot-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.slot-photo img.is-swap { opacity: 0; }
.slot-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slot-picks button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); opacity: .6; transition: opacity .2s, box-shadow .2s; }
.slot-picks button img { width: 100%; height: 100%; object-fit: cover; }
.slot-picks button[aria-checked="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--peach); }
.slot-hint { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.slot-op { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--ivory); background: rgba(255, 244, 238, .07); box-shadow: inset 0 0 0 1px var(--line-2); }
.slot-op .ic { width: 20px; height: 20px; }
.slot-result { cursor: pointer; background: linear-gradient(170deg, rgba(255, 21, 52, .26), rgba(31, 26, 24, .9)); box-shadow: var(--shadow), inset 0 0 0 1px rgba(253, 178, 113, .45), 0 0 50px rgba(255, 21, 52, .18); transition: transform .3s var(--spring); }
.slot-result:hover { transform: translateY(-4px); }
.slot-mystery img { filter: blur(14px) saturate(1.3) brightness(.75); transform: scale(1.2); }
.shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255, 228, 200, .35) 45%, transparent 65%); background-size: 250% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.mystery-lock { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; color: var(--new-text); background: linear-gradient(135deg, #fff4ee, var(--peach)); box-shadow: 0 10px 30px rgba(253, 178, 113, .5); animation: float 4s ease-in-out infinite; }
.mystery-lock .ic { width: 26px; height: 26px; }

/* ============ HAIR ============ */
.hair-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hair-stage { display: flex; flex-direction: column; align-items: center; }
.portrait-hair { width: min(100%, 400px); margin-bottom: 22px; }
.portrait-hair .p-img { object-position: 50% 20%; }
.look-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 6; padding: 7px 15px; border-radius: 999px; font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 20px; line-height: 1.1; color: #fff; background: rgba(13, 10, 9, .6); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html[lang="vi"] .look-badge, html[lang="ar"] .look-badge, html[lang="hi"] .look-badge, html[lang="bn"] .look-badge { font-style: normal; font-size: 15px; font-weight: 800; }
.hair-picks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; width: min(100%, 470px); margin: 0; padding: 0; list-style: none; }
.hair-picks button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--muted); }
.hair-picks img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--spring); }
.hair-picks span { font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; }
.hair-picks button:hover img { transform: translateY(-3px); }
.hair-picks button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--peach); }
.hair-picks button[aria-pressed="true"] span { color: var(--ivory); }
.hair-lib { padding: 24px; }
.lib-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hair-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hair-tile { position: relative; width: 100%; display: block; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: start; transition: transform .3s var(--spring); animation: pop .4s var(--ease) both; }
.hair-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hair-tile:hover { transform: translateY(-3px); }
.hair-tile:hover img { transform: scale(1.06); }
.hair-tile .cap { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 34px 10px 10px; background: linear-gradient(180deg, rgba(13, 10, 9, 0), rgba(13, 10, 9, .88)); }
.hair-tile .cap b { font-size: 12.5px; font-weight: 800; line-height: 1.25; color: #fff; }
.hair-tile .cap small { font-size: 11px; color: var(--peach-hi); line-height: 1.3; }
.hair-tile.is-more img { filter: blur(8px) brightness(.45); transform: scale(1.15); }
.hair-tile.is-more .more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 800; font-size: 13px; text-align: center; padding: 10px; }
.hair-tile.is-more .more b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 34px; line-height: 1; }
.hair-tile.is-more .more .ic { width: 20px; height: 20px; color: var(--peach); }
.lib-count { margin: 16px 0; font-size: 13.5px; font-weight: 700; color: var(--muted); text-align: center; }

/* ============ AI STYLE ============ */
.style { padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 170px); }
.style-wall { position: absolute; inset: 0; overflow: hidden; perspective: 1100px; pointer-events: none; -webkit-mask: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.style-wall::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(22, 19, 17, .94), rgba(22, 19, 17, .55) 60%, rgba(22, 19, 17, .25)); }
.wall-tilt { position: absolute; inset: -30% -20%; display: flex; flex-direction: column; justify-content: center; gap: 16px; transform: rotateX(22deg) rotateZ(-9deg); transform-origin: 50% 50%; }
.wall-row { display: flex; overflow: visible; }
.wall-track { display: flex; flex: none; gap: 16px; padding-inline-end: 16px; animation: tape 90s linear infinite; will-change: transform; }
.wall-row:nth-child(even) .wall-track { animation-direction: reverse; animation-duration: 110s; }
.wall-track img { width: clamp(130px, 13vw, 190px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line); opacity: .9; }
.is-paused .wall-track { animation-play-state: paused; }
.style-over { position: relative; z-index: 1; }
.style-over .section-sub, .style-over .form-note { color: var(--body); text-shadow: 0 2px 14px rgba(13, 10, 9, .95), 0 0 30px rgba(13, 10, 9, .9); }
.style-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.style-cat { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; padding-inline-end: 14px; border: 0; border-radius: 18px; text-align: start; color: var(--ivory); background: rgba(31, 26, 24, .78); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s var(--spring), box-shadow .25s, background-color .25s; }
.style-cat:hover { transform: translateY(-3px); background: rgba(58, 30, 34, .85); box-shadow: inset 0 0 0 1px rgba(253, 178, 113, .6), 0 12px 30px rgba(255, 21, 52, .2); }
.style-cat img { width: 48px; height: 60px; flex: none; border-radius: 12px; object-fit: cover; }
.style-cat span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.style-cat b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.style-cat small { font-size: 12px; color: var(--muted); }
.style-cat .pair { position: absolute; top: -7px; inset-inline-end: 8px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: var(--new-text); background: var(--new); }

/* ============ RETOUCH ============ */
.retouch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.retouch-copy .section-title, .retouch-copy .section-sub { text-align: start; margin-inline: 0; }
.fx-chips { margin-top: 26px; }
.fx-desc { min-height: 3em; margin: 14px 0 24px; font-size: 14.5px; color: var(--body); }
.retouch-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.retouch-stage::before { content: ''; position: absolute; inset: 10% 0; border-radius: 50%; background: radial-gradient(circle, rgba(253, 178, 113, .25), transparent 65%); filter: blur(40px); z-index: -1; }
.compare-tall { width: min(100%, 440px); aspect-ratio: 2 / 3; border-radius: 34px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 244, 238, .1); }
.compare-tall img { transition: opacity .35s; }
.compare-tall.is-swap img { opacity: 0; }
.chip.fx-skin { box-shadow: inset 0 0 0 1px rgba(98, 214, 199, .5); }
.chip.fx-skin[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--teal); }

/* ============ HOW ============ */
.how-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.how-steps::before { content: ''; position: absolute; top: 56px; inset-inline: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(253, 178, 113, .55), rgba(255, 21, 52, .55), transparent); }
.how-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.how-n { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(253, 178, 113, .55); margin-bottom: -18px; }
.how-ic { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: var(--glow-red), inset 0 1px 0 rgba(255, 255, 255, .35); }
.how-ic .ic { width: 28px; height: 28px; }
.how-steps p { margin: 18px 0 0; font-size: 15.5px; font-weight: 700; color: var(--body); line-height: 1.5; }
.notify-line { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: 46px auto 0; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--body); background: rgba(98, 214, 199, .08); box-shadow: inset 0 0 0 1px rgba(98, 214, 199, .3); }
.notify-line .ic { width: 18px; height: 18px; color: var(--teal); }

/* ============ TIPS ============ */
.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tip-card { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.tip-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ivory); }
.tip-title .ic { width: 22px; height: 22px; color: var(--teal); }
.tip-pics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.tip-pics figure { position: relative; margin: 0; height: 150px; border-radius: 14px; overflow: hidden; background: var(--card); }
.tip-pics img { width: 100%; height: 100%; object-fit: cover; }
.tip-pics figure.is-bad img { filter: saturate(.5) brightness(.75); }
.tip-pics i { position: absolute; bottom: 6px; inset-inline-end: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.tip-pics .is-good i { background: var(--ok); }
.tip-pics .is-bad i { background: var(--danger); }
.tip-pics i .ic { width: 13px; height: 13px; }
.tip-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tip-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--body); }
.tip-list .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 3px; box-sizing: content-box; border-radius: 50%; }
.tip-list .is-good .ic { color: var(--ok); background: rgba(46, 174, 111, .14); }
.tip-list .is-bad .ic { color: var(--danger); background: rgba(242, 68, 90, .14); }
.tip-report { display: flex; gap: 10px; align-items: flex-start; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tip-report .ic { width: 18px; height: 18px; color: var(--peach); }

/* ============ FEATURES ============ */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.feature { position: relative; display: flex; flex-direction: column; text-align: start; border: 0; padding: 0; border-radius: 22px; overflow: hidden; color: inherit; background: linear-gradient(170deg, rgba(58, 30, 34, .6), rgba(22, 19, 17, .95)); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .3s; --rx: 0deg; --ry: 0deg; }
.feature.is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.feature:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 21, 52, .22), inset 0 0 0 1px rgba(253, 178, 113, .5); }
.feature-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature:hover .feature-art img { transform: scale(1.07); }
.feature-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.feature-text b { font-size: 16.5px; font-weight: 800; color: var(--ivory); line-height: 1.25; }
.feature-text span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.feature-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 228, 200, .18), transparent 45%); opacity: 0; transition: opacity .3s; }
.feature:hover .feature-sheen { opacity: 1; }

/* ============ DOWNLOAD ============ */
.download-card { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 38px; overflow: hidden; background: radial-gradient(circle at 18% 50%, rgba(255, 21, 52, .4), transparent 55%), radial-gradient(circle at 90% 0%, rgba(253, 178, 113, .22), transparent 50%), linear-gradient(140deg, #3a1e22, #1a1412 70%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(253, 178, 113, .3); }
.dl-art { position: relative; aspect-ratio: 1; width: min(100%, 400px); margin-inline: auto; display: grid; place-items: center; }
.dl-look { position: absolute; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 244, 238, .18); }
.dl-look.l1 { transform: translateX(-64%) rotate(-11deg); }
.dl-look.l2 { transform: translateY(-6%); z-index: 1; }
.dl-look.l3 { transform: translateX(64%) rotate(11deg); }
.dl-icon { position: absolute; bottom: 2%; width: 26%; z-index: 2; border-radius: 24%; box-shadow: 0 20px 50px rgba(255, 21, 52, .55); animation: float 6s ease-in-out infinite; }
.dl-copy .section-title, .dl-copy .section-sub { text-align: start; margin-inline: 0; }
.dl-copy .kicker { margin-bottom: 16px; }
.dl-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.play-badge img { width: 200px; height: auto; }
.qr-mini { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); max-width: 210px; }
.qr-mini .qr-tile { padding: 8px; border-radius: 12px; background: #fff; flex: none; }
.qr-mini .qr-tile img { width: 80px; height: 80px; }
.dl-meta { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }

/* ============ FOOTER ============ */
.site-footer { position: relative; overflow: hidden; padding: 64px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(253, 178, 113, .14); background: rgba(13, 10, 9, .6); }
.footer-giant { position: absolute; inset-inline: 0; bottom: -4vw; display: flex; justify-content: center; pointer-events: none; }
.footer-giant svg { width: min(1300px, 110vw); height: auto; aspect-ratio: 82 / 29; color: rgba(255, 244, 238, .03); }
.footer-inner { position: relative; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-brand { max-width: 460px; }
.footer-brand p { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; max-width: 560px; }
.footer-links a { font-size: 14.5px; font-weight: 700; color: var(--body); text-decoration: none; }
.footer-links a:hover { color: var(--ivory); text-decoration: underline; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; font-size: 12.5px; color: var(--dim); max-width: 760px; }

/* ============ DOCK · MODAL · TOAST ============ */
.get-dock { display: none; }
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 10, 9, .74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-dialog { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; padding: 28px; border-radius: 30px; background: radial-gradient(circle at 50% 0%, rgba(255, 21, 52, .24), transparent 55%), var(--glass-deep); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); animation: pop .35s var(--spring); outline: none; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 244, 238, .08); color: var(--ivory); }
.modal-app { display: flex; gap: 14px; align-items: center; padding-inline-end: 44px; }
.modal-app img { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 8px 22px rgba(255, 21, 52, .45); }
.modal-app-name { margin: 0; font-weight: 800; color: var(--ivory); }
.modal-app-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.modal-visual { display: flex; justify-content: center; gap: 10px; margin: 20px 0 0; }
.modal-visual:empty { display: none; }
.modal-visual img { height: 150px; width: auto; max-width: 31%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 28px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-2); }
.modal-visual img:nth-child(2) { transform: translateY(-8px); }
.modal-title { margin: 22px 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 34px; line-height: 1.1; color: var(--ivory); }
html[lang="vi"] .modal-title, html[lang="ar"] .modal-title, html[lang="hi"] .modal-title, html[lang="bn"] .modal-title { font-size: 24px; line-height: 1.3; }
.modal-sub { margin: 0; color: var(--body); font-size: 15px; }
.modal-get { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.qr-block { text-align: center; }
.qr-block p { margin: 8px 0 0; font-size: 12px; color: var(--muted); max-width: 150px; }
.qr-tile { position: relative; padding: 10px; border-radius: 16px; background: #fff; }
.qr-tile img { width: 140px; height: 140px; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 34px !important; height: 34px !important; margin: -17px 0 0 -17px; border-radius: 9px; box-shadow: 0 0 0 4px #fff; }
.modal-actions .play-badge img { width: 180px; }
.modal-steps { margin: 14px 0 0; padding-inline-start: 20px; font-size: 14px; color: var(--body); display: grid; gap: 4px; }
.modal-steps .step-tap { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 500; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--ivory); background: var(--glass-deep); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
html.modal-open { overflow: hidden; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 9px; font-size: 13.5px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-inline-start: auto; }
  .main-nav.is-open { display: flex; position: absolute; top: calc(var(--header-h) + env(safe-area-inset-top)); inset-inline: 12px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px; background: var(--glass-deep); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
  .main-nav.is-open a { padding: 13px 16px; font-size: 16px; }
  .studio, .hair-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-panel, .hair-lib { max-width: 640px; width: 100%; margin-inline: auto; }
  .tryon-grid { grid-template-columns: minmax(0, 1fr); }
  .tryon-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .tryon-copy .section-title, .tryon-copy .section-sub { text-align: center; margin-inline: auto; }
  .kind-chips { justify-content: center; }
  .tips-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 24px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; margin-inline: auto; }
  .hero-stats li { align-items: center; }
  .stage3d { max-width: 540px; }
  .stage3d canvas { inset: 0; width: 100% !important; height: 100% !important; }
  .scroll-cue { display: none; }
  .retouch-grid { grid-template-columns: minmax(0, 1fr); }
  .retouch-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .retouch-copy .section-title, .retouch-copy .section-sub { text-align: center; margin-inline: auto; }
  .fx-chips { justify-content: center; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; }
  .how-steps::before { display: none; }
  .download-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .dl-copy .section-title, .dl-copy .section-sub { text-align: center; margin-inline: auto; }
  .dl-actions { justify-content: center; }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; --radius: 22px; }
  .container { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .header-cta { display: none; }
  .brand-name small { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 30px; }
  .hero-stats { gap: 20px; }
  .studio-panel { padding: 20px; }
  .look-grid { gap: 8px; }
  .look span { font-size: 11.5px; padding: 24px 8px 8px; }
  .rail-card { width: 196px; }
  .rail { gap: 12px; padding-inline: calc(50vw - 98px); }
  .tryon-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .slot-op { display: none; }
  .slot-result { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .slot-result .slot-photo { width: 38%; flex: none; }
  .slot-result .slot-label { flex-direction: column; align-items: flex-start; }
  .slot { padding: 10px; border-radius: 20px; }
  .hair-lib { padding: 18px; }
  .hair-wall { gap: 8px; }
  .hair-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; width: min(100%, 320px); }
  .style-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .style-cat img { width: 40px; height: 50px; }
  .style-cat b { font-size: 13px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-text { padding: 10px 12px 14px; }
  .feature-text b { font-size: 14.5px; }
  .feature-text span { font-size: 12.5px; }
  .tip-card { padding: 18px; }
  .dl-art { width: min(100%, 300px); }
  .modal { place-items: end stretch; padding: 0; }
  .modal-dialog { width: 100%; max-height: calc(100dvh - 30px); border-radius: 28px 28px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); animation: sheetIn .35s var(--ease); }
  .modal-dialog::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(253, 178, 113, .35); }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  .modal-visual img { height: 120px; }
  .modal-get { grid-template-columns: 1fr; }
  .qr-block { display: none; }
  .modal-steps .step-scan { display: none; }
  .modal-steps .step-tap { display: list-item; }
  .modal-actions { display: flex; flex-direction: column; align-items: center; }
  .get-dock { position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 22px; background: rgba(31, 26, 24, .95); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2); transform: translateY(140%); transition: transform .4s var(--ease); }
  html.show-dock .get-dock { transform: none; }
  html.modal-open .get-dock { transform: translateY(140%); }
  .get-dock img { width: 40px; height: 40px; border-radius: 11px; }
  .get-dock-text { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .get-dock-text strong { font-size: 14px; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .get-dock-text small { font-size: 12px; color: var(--muted); }
  html.show-dock .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .btn-lg { --h: 54px; padding: 0 22px; font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-stats b { font-size: 30px; }
  .seg button { padding: 0 10px; font-size: 12.5px; }
  .tabs button { padding: 8px 13px; font-size: 13px; }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .style-cats { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) and (pointer: coarse) {
  .btn-primary:hover, .btn-glass:hover { transform: none; }
  .feature:hover .feature-art img, .look:hover img { transform: none; }
  .rail-card .rail-try { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
