@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/rubik-500-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/rubik-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/rubik-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/rubik-500-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/rubik-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/rubik-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/rubik-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/rubik-700-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/rubik-800-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/rubik-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/rubik-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Rubik';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/rubik-800-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Plex Arabic';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/plex-arabic-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Plex Arabic';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/plex-arabic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Arabic';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/plex-arabic-600-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;}
@font-face{font-family:'Plex Arabic';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/plex-arabic-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Plex Sans';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/plex-sans-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Sans';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/plex-sans-400-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Plex Sans';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/plex-sans-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Plex Sans';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/plex-sans-600-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Noto Georgian';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/noto-georgian-400-georgian.woff2) format('woff2');unicode-range:U+0589,U+10A0-10FF,U+1C90-1CBA,U+1CBD-1CBF,U+205A,U+2D00-2D2F,U+2E31;}
@font-face{font-family:'Noto Georgian';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/noto-georgian-700-georgian.woff2) format('woff2');unicode-range:U+0589,U+10A0-10FF,U+1C90-1CBA,U+1CBD-1CBF,U+205A,U+2D00-2D2F,U+2E31;}
/* YayFile design system (v0.4).
   Concept: files and paperwork. The drop zone is a folder with a tab, the four intents are coloured folder tabs,
   and finishing a task earns one "Yay!" stamp. Colour is reserved for intents and actions; surfaces stay quiet.
   Type: Rubik (display, rounded, Arabic/Latin/Cyrillic) + IBM Plex Sans / Plex Arabic (body) + Noto Sans Georgian. */

:root {
  --ink: #1b1446; --ink-2: #4a4570; --ink-3: #7a7699;
  --bg: #f5f6ff; --surface: #ffffff; --surface-2: #eef0fe; --line: #dfe2f6; --line-2: #c9cdec;
  --brand: #3d5afe; --brand-deep: #2537c9; --brand-soft: #e8ecff; --on-brand: #ffffff;
  --joy: #ffc93c; --joy-ink: #4a3300; --joy-soft: #fff4d6;
  --good: #0c8a4f; --good-soft: #e3f6ec; --bad: #d92d20; --bad-soft: #fdecea; --warn: #9a5b07;
  --c-convert: #3d5afe; --c-compress: #ff7a29; --c-merge: #8b4dff; --c-photo: #ff3d7f;
  --font-body: 'Plex Arabic', 'Plex Sans', 'Noto Georgian', 'Segoe UI', system-ui, -apple-system, 'Geeza Pro', sans-serif;
  --font-display: 'Rubik', 'Noto Georgian', 'Plex Arabic', 'Segoe UI', system-ui, sans-serif;
  --r-sm: 10px; --r: 14px; --r-lg: 22px;
  --lift: 0 22px 44px -24px rgba(27, 20, 70, .32);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eeecff; --ink-2: #b9b5dd; --ink-3: #8c88b3;
    --bg: #120e2e; --surface: #1b1640; --surface-2: #231d4f; --line: #322b66; --line-2: #443c80;
    --brand: #7b8cff; --brand-deep: #4a5ad6; --brand-soft: #262066; --on-brand: #0e0b2a;
    --joy: #ffd66b; --joy-ink: #3a2700; --joy-soft: #3a3010;
    --good: #4ade80; --good-soft: #10291b; --bad: #f87171; --bad-soft: #341414;
    --c-convert: #7b8cff; --c-compress: #ff9a57; --c-merge: #a983ff; --c-photo: #ff6f9e;
    --lift: 0 22px 44px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eeecff; --ink-2: #b9b5dd; --ink-3: #8c88b3;
  --bg: #120e2e; --surface: #1b1640; --surface-2: #231d4f; --line: #322b66; --line-2: #443c80;
  --brand: #7b8cff; --brand-deep: #4a5ad6; --brand-soft: #262066; --on-brand: #0e0b2a;
  --joy: #ffd66b; --joy-ink: #3a2700; --joy-soft: #3a3010;
  --good: #4ade80; --good-soft: #10291b; --bad: #f87171; --bad-soft: #341414;
  --c-convert: #7b8cff; --c-compress: #ff9a57; --c-merge: #a983ff; --c-photo: #ff6f9e;
  --lift: 0 22px 44px -24px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
.seg-convert { --seg: var(--c-convert); } .seg-compress { --seg: var(--c-compress); }
.seg-merge { --seg: var(--c-merge); } .seg-photo { --seg: var(--c-photo); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; font-weight: 700; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .btn { letter-spacing: 0; line-height: 1.35; }
/* Japanese, Korean, Hindi: the bundled fonts have no glyphs for these scripts, so name the best system font on each platform. */
html:lang(ja) { --font-body: 'Plex Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', system-ui, sans-serif; --font-display: 'Rubik', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', system-ui, sans-serif; }
html:lang(ko) { --font-body: 'Plex Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif; --font-display: 'Rubik', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif; }
html:lang(hi) { --font-body: 'Plex Sans', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', system-ui, sans-serif; --font-display: 'Rubik', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Sans Devanagari', system-ui, sans-serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.4; }
:lang(ja) { word-break: auto-phrase; line-break: strict; }
:lang(ko) { word-break: keep-all; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 65%, transparent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 8px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.lede { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; line-height: 1.65; }

/* ---------- buttons & controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: 11px 20px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .08s ease, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { text-decoration: none; border-color: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { --b: var(--brand); --bd: var(--brand-deep); background: var(--b); border-color: var(--b); color: #fff; box-shadow: 0 3px 0 var(--bd); }
.btn-primary:hover { border-color: var(--b); transform: translateY(-1px); box-shadow: 0 4px 0 var(--bd); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--bd); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 28px; font-size: 1.06rem; border-radius: 16px; }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: var(--r-sm); }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
input[type="text"], input[type="number"], input[type="search"], input[type="email"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: inherit; font-size: .93rem; padding: 9px 15px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.3; transition: border-color .12s, background .12s; }
.seg button:hover { border-color: var(--ink-3); }
.seg button small { color: var(--ink-3); font-size: .75rem; }
.seg button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.seg button.on small { color: var(--brand); }
.seg em { font-style: normal; font-size: .74rem; background: var(--joy-soft); color: var(--joy-ink); padding: 1px 7px; border-radius: 99px; }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; accent-color: var(--brand); }
.range output { min-width: 3.2em; font-variant-numeric: tabular-nums; font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.note { color: var(--ink-2); font-size: .9rem; background: var(--surface-2); border-radius: 12px; padding: 10px 14px; }
.alert { background: var(--bad-soft); color: var(--bad); border-radius: 12px; padding: 10px 14px; font-weight: 500; }

/* ---------- header ---------- */
.site-head { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { position: relative; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-segs, .nav-aux { display: flex; align-items: center; gap: 2px; }
.nav-aux { margin-inline-start: 10px; padding-inline-start: 12px; border-inline-start: 1px solid var(--line); gap: 8px; }
.nav a { color: var(--ink-2); padding: 7px 12px; border-radius: 10px; font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-seg { position: relative; }
.nav-top { font-family: var(--font-display); font-weight: 600; color: var(--ink) !important; }
.nav-top .ic { width: 19px; height: 19px; color: var(--seg, var(--brand)); }
.nav-top .chev { width: 14px; height: 14px; color: var(--ink-3); transition: transform .15s; }
.mega { display: none; position: absolute; top: 100%; inset-inline-start: 0; z-index: 30; min-width: 260px; width: max-content; max-width: min(760px, 92vw);
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--seg, var(--brand)); border-radius: 0 0 18px 18px; box-shadow: var(--lift); padding: 18px;
  grid-auto-flow: column; gap: 22px; }
.mega-col { display: grid; align-content: start; gap: 2px; min-width: 150px; }
.mega-col h4 { margin: 0 0 6px; font-size: .82rem; color: var(--seg, var(--ink-3)); font-weight: 700; }
.mega a { color: var(--ink); padding: 6px 9px; border-radius: 8px; font-size: .93rem; white-space: nowrap; }
.mega a:hover { background: color-mix(in srgb, var(--seg, var(--brand)) 10%, var(--surface)); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); color: var(--ink); font-size: .93rem; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--surface-2); }
.lang-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 31; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--lift);
  padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 2px; min-width: 260px; }
.lang-list a { color: var(--ink); padding: 7px 10px; border-radius: 8px; font-size: .93rem; }
.lang-list a[aria-current] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.install-btn { font-family: var(--font-display); font-size: .93rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px;
  border: 0; background: var(--joy); color: var(--joy-ink); cursor: pointer; }
.install-btn .ic { width: 19px; height: 19px; }
.pro-pill { background: var(--joy); color: var(--joy-ink); font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
@media (min-width: 901px) {
  .nav-seg:hover .mega, .nav-seg:focus-within .mega { display: grid; }
  .nav-seg:hover .chev, .nav-seg:focus-within .chev { transform: rotate(180deg); }
  .nav-seg::after { content: ''; position: absolute; inset-inline: 0; top: 100%; height: 10px; }
}

/* ---------- promises ---------- */
.promises { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.promise { display: inline-flex; align-items: center; gap: 10px; }
.promise .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.promise span { display: flex; flex-direction: column; line-height: 1.35; }
.promise strong { font-size: .98rem; }
.promise small { color: var(--ink-2); font-size: .82rem; }
.promises.compact { gap: 8px; }
.promises.compact .promise { --p: var(--brand); gap: 7px; color: var(--p); background: color-mix(in srgb, var(--p) 11%, var(--surface)); padding: 6px 13px; border-radius: 99px; font-size: .9rem; font-weight: 600; }
.promises.compact .promise .ic { width: 17px; height: 17px; padding: 0; background: none; color: inherit; }
.promise-free { --p: var(--good) !important; } .promise-fast { --p: var(--c-compress) !important; } .promise-private { --p: var(--brand) !important; }

/* ---------- folder (the signature element) ---------- */
.folder { position: relative; margin-top: 34px; }
.folder-tab { position: absolute; bottom: 100%; inset-inline-start: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 7px;
  background: var(--joy); color: var(--joy-ink); font-family: var(--font-display); font-weight: 600; font-size: .88rem; line-height: 1.2; border-radius: 14px 14px 0 0; }
.folder-tab .ic { width: 17px; height: 17px; }

/* ---------- home ---------- */
.hero { padding-block: 44px 28px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 18px; align-content: center; }
.hero h1 { max-width: 14ch; }
.sdrop { width: 100%; }
.sd-zone { display: grid; justify-items: center; align-content: center; gap: 14px; text-align: center; min-height: 270px; padding: 30px 24px;
  background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r-lg); border-start-start-radius: 0; box-shadow: var(--lift); cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s; }
.sd-zone:hover { border-color: var(--brand); }
.sd-zone.over { background: var(--brand-soft); border-color: var(--brand); border-style: dashed; transform: translateY(-3px); }
.sdrop.folder:has(.sd-zone.over) .folder-tab { background: var(--brand); color: #fff; }
.sd-zone .drop-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--joy); color: var(--joy-ink); transition: transform .2s; }
.sd-zone .drop-ic .ic { width: 32px; height: 32px; }
.sd-zone.over .drop-ic { transform: translateY(-4px) scale(1.06); }
.sd-txt { display: grid; gap: 4px; }
.sd-txt strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.sd-txt small { color: var(--ink-2); font-size: .92rem; }
.sd-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sd-btns .btn-primary { padding: 13px 26px; font-size: 1.04rem; }
.sd-cam .ic, .btn-cam .ic, .btn-share .ic, .btn-email .ic { width: 20px; height: 20px; }
.sd-result { background: var(--surface); border: 2px solid var(--brand); border-radius: var(--r-lg); border-start-start-radius: 0; padding: 20px; display: grid; gap: 14px; box-shadow: var(--lift); }
.sd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sd-head h2 { font-size: 1.15rem; overflow-wrap: anywhere; }
.sd-size { color: var(--ink-3); font-size: .86rem; font-variant-numeric: tabular-nums; margin-top: 2px; }
.sd-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sd-act { font: inherit; font-family: var(--font-display); font-weight: 600; text-align: start; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 15px; border-radius: var(--r); border: 1.5px solid color-mix(in srgb, var(--seg, var(--brand)) 30%, var(--line)); background: color-mix(in srgb, var(--seg, var(--brand)) 6%, var(--surface)); color: var(--ink);
  transition: background .12s, border-color .12s, transform .08s; }
.sd-act:hover, .sd-act:focus-visible { border-color: var(--seg, var(--brand)); background: color-mix(in srgb, var(--seg, var(--brand)) 14%, var(--surface)); }
.sd-act:active { transform: translateY(1px); }
.sd-act-go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--seg, var(--brand)); color: #fff; font-size: 1.1rem; line-height: 1; flex: none; }
.sd-act:disabled { opacity: .6; cursor: progress; }
.sd-more-btn { justify-self: start; }
.sd-none { color: var(--ink-2); }

.recent { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.recent h2 { font-size: .95rem; color: var(--ink-2); font-weight: 600; }

/* intents as folder tabs sitting on their panel */
.segs { display: flex; gap: 6px; margin-top: 40px; }
.seg-card { flex: 1; font: inherit; text-align: start; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 14px 16px; border: 0; border-radius: 18px 18px 0 0; background: var(--surface-2); color: var(--ink-2); position: relative; transition: background .15s, color .15s; }
.seg-card:hover { background: color-mix(in srgb, var(--seg) 8%, var(--surface-2)); color: var(--ink); }
.seg-card[aria-selected="true"] { background: color-mix(in srgb, var(--seg) 10%, var(--surface)); color: var(--ink); box-shadow: inset 0 4px 0 var(--seg); }
.seg-ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--seg) 16%, transparent); color: var(--seg); transition: background .15s, color .15s; }
.seg-card[aria-selected="true"] .seg-ic { background: var(--seg); color: #fff; }
.seg-ic .ic { width: 25px; height: 25px; }
.seg-txt { display: grid; gap: 1px; min-width: 0; }
.seg-txt strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--ink); }
.seg-txt small { color: var(--ink-2); font-size: .82rem; line-height: 1.4; }
.seg-n { grid-column: 2; font-size: .76rem; color: var(--ink-3); }
.seg-panel { background: color-mix(in srgb, var(--seg) 10%, var(--surface)); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 24px; display: grid; gap: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.35rem; }
.seg-panel .btn-primary { --b: var(--seg); --bd: color-mix(in srgb, var(--seg) 70%, #000); }
.panel-groups { display: grid; gap: 16px; }
.pgroup { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: start; }
.pgroup h3 { font-size: .88rem; color: var(--ink-2); font-weight: 600; padding-top: 8px; font-family: var(--font-body); }
.show-all { justify-self: start; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip { --c: var(--seg, var(--brand)); display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--c) 28%, var(--line));
  background: var(--surface); color: var(--ink); font-size: .93rem; font-weight: 500; transition: background .12s, border-color .12s, color .12s; }
.tool-chip:hover { text-decoration: none; background: var(--c); border-color: var(--c); color: #fff; }
.tool-chip.is-current { background: var(--c); border-color: var(--c); color: #fff; }
.chip-all { border-style: dashed; color: var(--ink-2); }

.how { margin-top: 48px; }
.how h2 { margin-bottom: 16px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how li { counter-increment: s; display: grid; gap: 4px; padding-inline-start: 62px; position: relative; min-height: 48px; }
.how li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--joy); color: var(--joy-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.how li strong { font-family: var(--font-display); font-size: 1.06rem; }
.how li span { color: var(--ink-2); font-size: .93rem; }
.share-home { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; justify-items: center; text-align: center; }

/* ---------- share bar ---------- */
.share-bar { display: grid; gap: 12px; justify-items: inherit; }
.share-h { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: inherit; }
.share-btn { --s: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 99px;
  border: 1.5px solid color-mix(in srgb, var(--s) 35%, var(--line)); background: var(--surface); color: var(--s); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .12s, color .12s; }
.share-btn .ic { width: 20px; height: 20px; }
.share-btn:hover { background: var(--s); color: #fff; text-decoration: none; border-color: var(--s); }
.share-whatsapp { --s: #1fa855; } .share-telegram { --s: #229ed9; } .share-x { --s: var(--ink); } .share-facebook { --s: #1877f2; } .share-linkedin { --s: #0a66c2; } .share-email { --s: var(--ink-2); } .share-copy { --s: var(--brand); }
.share-copy.copied { background: var(--good); border-color: var(--good); color: #fff; }

/* ---------- tool page ---------- */
.tool-layout { display: block; }
.tool-page { max-width: 880px; margin-inline: auto; }
.rail { display: none; }
@media (min-width: 1240px) {
  body.has-rail .tool-layout { display: grid; grid-template-columns: minmax(0, 860px) 300px; gap: 36px; justify-content: center; }
  body.has-rail .tool-page { margin-inline: 0; }
  body.has-rail .rail { display: block; padding-top: 70px; }
  .rail .ad-rail[data-filled] { position: sticky; top: 90px; min-height: 600px; margin-top: 0; }
}
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: .88rem; margin-top: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); }
.tool-head { display: grid; gap: 14px; margin-block: 14px 8px; }
.tool-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.head-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.chip-beta { color: var(--joy-ink); background: var(--joy-soft); border-color: transparent; }
.tool-folder { margin-top: 44px; }
.tool-folder .folder-tab { background: var(--seg); color: #fff; }
.tool-card { background: var(--surface); border: 2px solid color-mix(in srgb, var(--seg, var(--brand)) 30%, var(--line)); border-radius: var(--r-lg); border-start-start-radius: 0;
  padding: 22px; box-shadow: var(--lift); }
.tool-ui { display: grid; gap: 16px; }
.drop { --c: var(--seg, var(--brand)); display: grid; justify-items: center; gap: 12px; text-align: center; padding: 38px 18px; border: 2px dashed color-mix(in srgb, var(--c) 45%, var(--line));
  border-radius: 18px; background: color-mix(in srgb, var(--c) 5%, var(--surface)); cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: color-mix(in srgb, var(--c) 11%, var(--surface)); border-color: var(--c); }
.drop .drop-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c); color: #fff; }
.drop .drop-ic .ic, .drop-static .drop-ic { width: 30px; height: 30px; }
.drop-static .drop-ic { color: var(--c); }
.drop-title { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; }
.drop-hint { color: var(--ink-3); font-size: .86rem; }
.drop .btn-primary { --b: var(--c); --bd: color-mix(in srgb, var(--c) 70%, #000); }
.drop-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.drop.compact { padding: 14px; grid-template-columns: auto 1fr auto; text-align: start; justify-items: start; align-items: center; }
.drop.compact .drop-ic { width: 42px; height: 42px; }
.drop.compact .drop-hint { display: none; }
.drop.compact .drop-title { font-size: 1rem; }
.drop.compact .btn-lg { padding: 9px 16px; font-size: .92rem; }
.drop.compact .drop-btns { justify-content: flex-end; }
.drop.compact .btn-cam span { display: none; }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-row, .out-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.file-ic { color: var(--ink-3); display: inline-flex; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.file-size { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.file-move { display: inline-flex; }
.opts { display: grid; gap: 16px; padding: 16px; border-radius: 16px; background: var(--surface-2); }
.opt { display: grid; gap: 7px; }
.opt-label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.opt-number input, .opt-text input { max-width: 320px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.btn-start { min-width: 190px; }
.progress { display: grid; gap: 8px; }
.bar { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 3%; border-radius: 99px; transition: width .2s;
  background: repeating-linear-gradient(-45deg, var(--brand) 0 12px, color-mix(in srgb, var(--brand) 78%, #fff) 12px 24px); background-size: 34px 34px; animation: barflow 1s linear infinite; }
@keyframes barflow { to { background-position: 34px 0; } }
.prog-label { color: var(--ink-2); font-size: .9rem; }

/* result-first once done (inputs fold away; "Change settings" brings options back) */
.tool-ui.is-done .drop, .tool-ui.is-done .file-list, .tool-ui.is-done .actions { display: none; }
.tool-ui.is-done:not(.show-opts) .opts { display: none; }
.tool-ui.is-done.show-opts .actions { display: flex; }
.results { display: grid; gap: 16px; scroll-margin-top: 90px; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.res-head h2 { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 1.3rem; }
.yay-stamp { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--joy-ink); background: var(--joy); padding: 5px 12px; border-radius: 10px;
  transform: rotate(-6deg); animation: stamp .5s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes stamp { from { transform: scale(2.4) rotate(-20deg); opacity: 0; } to { transform: scale(1) rotate(-6deg); opacity: 1; } }
.res-time { color: var(--ink-3); font-size: .9rem; font-variant-numeric: tabular-nums; }
.out-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.out-main { flex: 1; min-width: 0; display: grid; }
.out-meta { color: var(--ink-3); font-size: .84rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); background: #fff; }
.badge { font-size: .78rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.badge.good { background: var(--good-soft); color: var(--good); }
.notes { margin: 0; padding-inline-start: 20px; color: var(--warn); font-size: .9rem; }
.text-wrap { display: grid; gap: 8px; justify-items: start; }
.text-out { font-size: .95rem; line-height: 1.8; resize: vertical; }
.res-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.res-tools:empty { display: none; }
.do-more { background: var(--surface-2); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.do-more h3 { font-size: 1rem; }
.do-more .tool-chip { cursor: pointer; font: inherit; font-size: .92rem; }
.res-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--good); font-weight: 600; }
.wa-link .ic { width: 18px; height: 18px; }

/* preview before download */
.preview { display: grid; gap: 10px; }
.preview h3 { font-size: 1rem; }
.pv-note { color: var(--ink-2); font-size: .9rem; }
.cmp { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); max-height: 480px; user-select: none; touch-action: pan-y;
  background: conic-gradient(var(--surface-2) 25%, var(--surface) 0 50%, var(--surface-2) 0 75%, var(--surface) 0) 0 0 / 22px 22px; }
.cmp img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(27, 20, 70, .25); pointer-events: none; }
.cmp-line::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: 0 4px 14px rgba(27, 20, 70, .3); }
.cmp input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-label { position: absolute; top: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(27, 20, 70, .72); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none; }
.cmp-label.l { left: 10px; } .cmp-label.r { right: 10px; }
.pv-pages { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.pv-page { flex: none; display: grid; gap: 6px; justify-items: center; scroll-snap-align: start; font-size: .8rem; color: var(--ink-3); }
.pv-page img, .pv-page canvas { height: 210px; width: auto; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(27, 20, 70, .35); }
.pv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-pair figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.pv-pair figcaption { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.pv-pair img { max-height: 280px; width: auto; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pv-media { width: 100%; border-radius: 14px; background: #000; max-height: 420px; }
.pv-text { white-space: pre-wrap; max-height: 260px; overflow: auto; background: var(--surface-2); border-radius: 12px; padding: 14px; font-size: .92rem; line-height: 1.7; margin: 0; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-row .btn-primary { --b: var(--good); --bd: color-mix(in srgb, var(--good) 70%, #000); }

/* privacy receipt */
.receipt { border: 2px dashed color-mix(in srgb, var(--good) 45%, transparent); background: var(--good-soft); border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; }
.receipt h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--good); }
.rc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rc-row { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; }
.rc-tick { color: var(--good); display: inline-flex; margin-top: 3px; }
.rc-tick .ic { width: 16px; height: 16px; }
.rc-strong { font-weight: 600; }
.rc-wipe { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed color-mix(in srgb, var(--good) 35%, transparent); padding-top: 10px; font-size: .9rem; color: var(--ink-2); }
.btn-wipe { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); background: var(--surface); }
.btn-wipe:hover { background: var(--bad-soft); border-color: var(--bad); }
.rc-cleared { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--good); border-top: 1px dashed color-mix(in srgb, var(--good) 35%, transparent); padding-top: 10px; }

/* siblings, how-to, FAQ, share on tool pages */
.siblings { margin-top: 18px; display: grid; gap: 8px; }
.sib-label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.sib-label .ic { width: 18px; height: 18px; color: var(--seg, var(--brand)); }
.siblings .tool-chip { font-size: .87rem; padding: 6px 13px; }
.howto, .faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 20px; }
.howto ol { margin: 14px 0 0; padding-inline-start: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.howto li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.howto li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--joy); color: var(--joy-ink); font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.faq h2 { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
.share-tool { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }

/* ads: removed when empty; reserved height once filled (no layout shift); labelled */
.ad:not([data-filled]) { display: none; }
.ad[data-filled] { margin-top: 24px; min-height: 100px; display: grid; place-items: center; position: relative; border-radius: 14px; overflow: hidden; }
.ad-result[data-filled] { min-height: 120px; margin-top: 0; }
.ad-label { position: absolute; top: 6px; inset-inline-start: 10px; font-size: .7rem; color: var(--ink-3); }
.ad-ph { border: 1px dashed var(--line-2); background: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--line) 40%, transparent) 10px 11px); }
.ad-ph-text { color: var(--ink-3); font-size: .85rem; }
/* one share bar per page: hide the footer copy where the page already has one */
body:has(.share-tool, .share-home) .site-foot .share-bar { display: none; }

/* photo maker */
.ph-editor { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.ph-left { display: grid; gap: 10px; justify-items: center; }
.ph-stage { border-radius: 10px; touch-action: none; cursor: grab; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.ph-stage:active { cursor: grabbing; }
.ph-tools { display: flex; align-items: center; gap: 10px; width: 100%; }
.ph-tools input { flex: 1; accent-color: var(--brand); }
.ph-guide { color: var(--ink-3); font-size: .82rem; max-width: 340px; text-align: center; }
.ph-right { display: grid; gap: 14px; }
.ph-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-result { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ph-out { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.ph-specs { display: grid; gap: 8px; justify-items: start; }
.ph-bg-status { font-size: .85rem; color: var(--ink-2); min-height: 1.4em; }
.ph-country { display: grid; gap: 6px; }
.ph-country select { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.ph-country { margin-bottom: 18px; max-width: 520px; }
.ph-spec-line { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-2); font-size: .86rem; }
.ph-chip { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--seg, var(--brand)) 10%, var(--paper)); border: 1px solid color-mix(in srgb, var(--seg, var(--brand)) 22%, transparent); color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-verify { flex-basis: 100%; margin: 2px 0 0; font-size: .82rem; color: var(--ink-2); }

/* footer */
.site-foot { background: #1b1446; color: #c9c5ee; margin-top: 64px; padding-block: 44px 28px; font-size: .93rem; }
.site-foot a { color: #e4e1ff; }
.site-foot .logo { color: #fff; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.foot-brand { display: grid; gap: 10px; max-width: 360px; }
.site-foot .share-bar { justify-items: start; }
.site-foot .share-h { color: #fff; font-size: 1rem; }
.site-foot .share-btn { --s: #e4e1ff; background: transparent; border-color: rgba(228, 225, 255, .3); }
.site-foot .share-btn:hover { color: #1b1446; background: #fff; border-color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.foot-cols h3 { font-size: 1rem; margin-bottom: 10px; }
.foot-cols h3 a { color: #fff; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(228, 225, 255, .16); margin-top: 30px; padding-top: 20px; }
.foot-links { display: flex; gap: 18px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-langs a[aria-current] { color: var(--joy); font-weight: 700; }

/* pricing, account, legal, dialogs */
.price-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.price-controls .seg button { flex-direction: row; gap: 6px; }
.cur { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.cur select { width: auto; padding: 6px 10px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; align-content: start; }
.plan-pro { border: 2px solid var(--brand); box-shadow: var(--lift); }
.plan .price { display: flex; align-items: baseline; gap: 4px; }
.plan .amt { font-family: var(--font-display); font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan .amt.small { font-size: 1.4rem; color: var(--ink-3); }
.plan small { color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan .tick { color: var(--good); width: 18px; height: 18px; margin-top: 3px; }
.plan .mail { font-size: .8rem; }
.pay-note { text-align: center; color: var(--ink-3); font-size: .88rem; margin-top: 16px; }
.checkout-note { margin-top: 12px; text-align: center; }
.account { margin-top: 28px; display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; }
.card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.card .row input { flex: 1; min-width: 200px; }
.msg.ok { color: var(--good); } .msg.bad { color: var(--bad); }
.legal { margin-top: 28px; display: grid; gap: 12px; }
.legal h2 { margin-top: 12px; font-size: 1.15rem; }
.legal p { color: var(--ink-2); max-width: 70ch; }
.notfound { padding-block: 80px; display: grid; gap: 20px; }
.upsell { border: 0; border-radius: var(--r-lg); padding: 24px; max-width: 440px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(18, 14, 46, .35); }
.upsell::backdrop { background: rgba(18, 14, 46, .55); }
.upsell h2 { margin-bottom: 8px; }
.upsell p { color: var(--ink-2); margin-bottom: 10px; }
.up-reason { color: var(--bad) !important; font-weight: 500; }
.up-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block: 12px; }
.up-plan { font: inherit; display: grid; gap: 2px; text-align: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.up-plan-main { border: 2px solid var(--brand); background: var(--brand-soft); }
.up-plan span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.up-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent { position: fixed; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 560px; z-index: 40; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--lift); display: grid; gap: 10px; font-size: .92rem; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- mobile ---------- */
.tabbar { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--lift);
    padding: 10px 16px 16px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 66px); overflow: auto; }
  .nav.open { display: flex; }
  .nav-segs, .nav-aux { flex-direction: column; align-items: stretch; }
  .nav-aux { margin: 8px 0 0; padding: 10px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); align-items: flex-start; }
  .nav-top { justify-content: flex-start; padding: 12px !important; font-size: 1.05rem !important; }
  .nav-top .chev { margin-inline-start: auto; }
  .nav-seg.open .chev { transform: rotate(180deg); }
  .mega { position: static; box-shadow: none; border: 0; border-inline-start: 3px solid var(--seg, var(--brand)); border-radius: 0; padding: 4px 12px 10px; max-width: none; width: auto; grid-auto-flow: row; gap: 10px; }
  .nav-seg.open .mega { display: grid; }
  .mega a { white-space: normal; }
  .lang-list { position: static; box-shadow: none; margin-top: 6px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body:has(.tabbar) .consent { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 25; background: var(--surface);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(27, 20, 70, .08); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: var(--ink-2); font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.2; }
  .tabbar a:hover { text-decoration: none; background: var(--surface-2); }
  .tabbar .ic { width: 23px; height: 23px; color: var(--seg); }
  .tabbar a[aria-current="true"] { color: var(--ink); background: color-mix(in srgb, var(--seg) 14%, var(--surface)); }
  .hero { padding-block: 26px 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { max-width: none; }
  .sd-zone { min-height: 0; padding: 24px 18px; }
  .sd-btns .btn { flex: 1; }
  .segs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .seg-card { border-radius: 18px; border: 2px solid transparent; }
  .seg-card[aria-selected="true"] { box-shadow: none; border-color: var(--seg); }
  .seg-panel { border-radius: var(--r-lg); margin-top: 12px; padding: 18px; }
  .pgroup { grid-template-columns: 1fr; gap: 6px; }
  .pgroup h3 { padding-top: 0; }
  .how ol { grid-template-columns: 1fr; }
  .ph-editor { grid-template-columns: 1fr; }
  .tool-card { padding: 14px; }
  .actions .btn-start { flex: 1; }
  .pv-pair { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .seg-card { grid-template-columns: 1fr; padding: 13px; }
  .seg-ic { grid-row: auto; width: 40px; height: 40px; }
  .seg-n { grid-column: 1; }
  .seg-txt small { display: none; }
  .sd-acts { grid-template-columns: 1fr; }
  .sd-head { flex-direction: column; }
  .promise small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.soon-note { margin: 0; padding: 28px 22px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--seg, var(--brand)) 40%, transparent); background: color-mix(in srgb, var(--seg, var(--brand)) 7%, var(--paper)); font-family: var(--font-display); font-weight: 600; text-align: center; }
.lang-offer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.lang-offer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lang-offer-x { background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 2px 6px; }

/* ---------- sign-in ---------- */
.auth-wrap { position: relative; }
.auth-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--brand); background: var(--brand); color: #fff; font: 600 .92rem var(--font-display); cursor: pointer; white-space: nowrap; }
.auth-btn.is-in { background: transparent; color: var(--ink); border-color: var(--line, #d9dcf2); padding-inline-start: 5px; }
.auth-av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--joy); color: var(--ink); font-size: .8rem; object-fit: cover; }
.auth-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; width: 270px; padding: 14px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line, #d9dcf2); box-shadow: 0 18px 40px rgb(27 20 70 / .16); display: grid; gap: 8px; }
.auth-menu button { text-align: start; padding: 9px 10px; border-radius: 9px; border: 0; background: transparent; color: var(--ink); font: 600 .92rem var(--font-display); cursor: pointer; }
.auth-menu button:hover, .auth-menu button:focus-visible { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.auth-menu .danger { color: #c62828; }
.auth-who { margin: 0; display: grid; gap: 2px; font-size: .85rem; color: var(--ink-2); overflow-wrap: anywhere; }
.auth-who strong { color: var(--ink); }
.auth-dlg { width: min(420px, calc(100vw - 32px)); border: 0; border-radius: 20px; padding: 28px 24px 22px; background: var(--card, #fff); color: var(--ink); box-shadow: 0 30px 80px rgb(27 20 70 / .3); }
.auth-dlg::backdrop { background: rgb(27 20 70 / .45); }
.auth-dlg h2 { margin: 0 0 6px; font: 800 1.45rem var(--font-display); }
.auth-sub { margin: 0 0 18px; color: var(--ink-2); font-size: .92rem; }
.auth-x { position: absolute; inset-inline-end: 12px; top: 10px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-2); cursor: pointer; }
.auth-google { width: 100%; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1.5px solid #dadce0; }
.g-mark { width: 20px; height: 20px; }
.auth-email { display: grid; gap: 8px; margin-top: 12px; }
.auth-email input { padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line, #d9dcf2); font: inherit; }
.auth-msg { margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); min-height: 1em; }
.auth-fine { margin: 14px 0 0; font-size: .78rem; color: var(--ink-3, #7a7f9c); }
