/* ============================================================
   Squishly Tools — soft, light theme (Sept 2026 restyle)
   White page, soft grey surfaces, one teal accent, rounded corners,
   no drop shadows, no divider lines. Depth comes from borders + tints.
   ============================================================ */
:root {
  --teal: #12a58f;
  --teal-d: #0d8775;
  --teal-tint: rgba(18,165,143,0.10);
  --teal-tint-2: rgba(18,165,143,0.18);
  --mint: #e6f6f2;
  --sky: #e9f3fb;
  --peach: #ffe9df;
  --coral: #f2705f;
  --ink: #2b3038;
  --paper: #ffffff;
  --surface: #f5f7f8;
  --surface-2: #eef1f3;
  --line: rgba(43,48,56,0.10);
  --line-2: rgba(43,48,56,0.16);
  --muted: rgba(43,48,56,0.64);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Poppins', 'Manrope', system-ui, sans-serif;
  --poppins: 'Poppins', system-ui, sans-serif;
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  /* legacy aliases so older rules keep working */
  --violet: var(--teal); --violet-d: var(--teal-d); --lime: var(--teal);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100vw; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em, i, cite { font-style: normal; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

h1, h2, h3, h4 { margin: 0; font-family: var(--poppins); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(32px, 4.1vw, 54px); letter-spacing: -0.035em; line-height: 1.04; }
h1 em { color: var(--teal); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h2 em { color: var(--teal); }
h3 { font-size: clamp(18px, 1.5vw, 22px); }
h4 { font-size: 17px; }
p { margin: 0; }
strong { font-weight: 700; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-d); background: var(--teal-tint); padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; line-height: 1; }
.kicker::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.kicker.on-dark { color: var(--teal); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; white-space: nowrap; font-family: inherit; border: 0; cursor: pointer; line-height: 1.2; }
.btn-lime { background: var(--teal); color: var(--paper); }
.btn-lime:hover { background: var(--teal-d); }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--ink); border: 1.5px solid transparent; }
.btn-ghost:hover { background: #fff; }
.btn-ghost.on-dark { color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost.on-dark:hover { background: var(--paper); border-color: var(--ink); }

section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: #1f2630; color: var(--paper); }
.header-main { padding: 12px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.brand { font-family: 'Baloo 2', var(--poppins); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; color: var(--paper); display: inline-flex; align-items: center; gap: 4px; line-height: 1; }
.brand-text { display: inline-block; white-space: nowrap; }
.brand em { font-weight: 800; }
.brand em { color: #4fd1b5; }
.brand-mark { width: 36px; height: 36px; flex: none; object-fit: contain; }
.header-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.header-nav > a, .nav-item > a { color: rgba(255,255,255,0.85); transition: color 160ms; }
.header-nav > a:hover, .nav-item:hover > a { color: #4fd1b5; }
.header-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #4fd1b5; background: rgba(79,209,181,0.12); padding: 8px 14px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd1b5; animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 940px) { .header-nav { display: none; } }
@media (max-width: 620px) { .header-status, .header-right { display: none; } }

/* ===== HERO ===== */
.hero { color: var(--paper); overflow: hidden; padding: clamp(56px,7vw,96px) 0; background: #1f2630; }
.hero-lead { align-self: center; }
.hero::before { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(79,209,181,0.18), transparent); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; left: -14vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(142,108,216,0.16), transparent); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-lead { max-width: 620px; }
.hero-lead .kicker { background: rgba(255,255,255,0.7); color: var(--teal-d); }
.hero-lead h1 { margin-bottom: 18px; color: var(--paper); }
.hero-lead h1 em { color: #4fd1b5; }
.hero-sub { font-size: clamp(16.5px, 1.35vw, 19px); color: rgba(255,255,255,0.72); max-width: 50ch; line-height: 1.6; }
.hero-sub strong { color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mascot { justify-self: center; width: min(100%, 440px); aspect-ratio: 1; object-fit: contain; }
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,0.88); }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); padding: 7px 12px 7px 8px; border-radius: 999px; }
.hero-checks span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #4fd1b5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2630' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-mascot { width: min(70%, 300px); order: -1; } }

/* ===== SECTION HEAD ===== */
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head h2 em { color: var(--teal); }
.section-lead { font-size: 17px; color: var(--muted); max-width: 56ch; }

/* ===== TOOLS (centred head, filter pills, flat card grid) ===== */
.tools { background: #eceff8; color: var(--ink); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.tools::before { content: ''; position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -16vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(142,108,216,0.16), transparent); pointer-events: none; }
.tools::after { content: ''; position: absolute; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -14vw; bottom: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,165,143,0.16), transparent); pointer-events: none; }
.tools > .wrap { position: relative; z-index: 1; }
.tools-head { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 4vw, 44px); }
.tools-head h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 12px; color: var(--ink); }
.tools-head p { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); }
.tools-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pill { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.pill:hover { border-color: var(--teal); }
.pill.active { background: #1f2630; color: #fff; border-color: #1f2630; }
.tools-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tool-cat, .tool-grid { display: contents; }
.tools-all[data-filter="images"] .tool-cat:not([data-cat="images"]),
.tools-all[data-filter="pdf"] .tool-cat:not([data-cat="pdf"]),
.tools-all[data-filter="media"] .tool-cat:not([data-cat="media"]),
.tools-all[data-filter="archive"] .tool-cat:not([data-cat="archive"]),
.tools-all[data-filter="utility"] .tool-cat:not([data-cat="utility"]) { display: none; }
.tool-card { position: relative; text-align: left; background: var(--paper); color: var(--ink); border: 1.5px solid transparent; border-radius: var(--r-md); padding: 26px 24px; cursor: pointer; transition: border-color 200ms ease, background 200ms ease; font-family: inherit; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.tool-card:hover { border-color: var(--teal); }
.tool-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.tc-icon { width: 54px; height: 54px; border-radius: 14px; color: var(--paper); display: grid; place-items: center; margin-bottom: 4px; }
.tc-icon svg { width: 26px; height: 26px; }
.tool-cat[data-cat="images"] .tc-icon { background: #12a58f; }
.tool-cat[data-cat="pdf"] .tc-icon { background: #e2574c; }
.tool-cat[data-cat="media"] .tc-icon { background: #5b7cf0; }
.tool-cat[data-cat="archive"] .tc-icon { background: #8e6cd8; }
.tool-cat[data-cat="utility"] .tc-icon { background: #f0a43a; }
.tool-card h4 { font-family: var(--poppins); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; color: var(--ink); }
.tool-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.tc-go { display: none; }
.tool-card[data-id="video-to-audio"]::after, .tool-card[data-id="video-to-gif"]::after, .tool-card[data-id="video-convert"]::after, .tool-card[data-id="image-upscale"]::after, .tool-card[data-id="image-enhance"]::after { content: 'New'; position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: var(--teal-d); background: var(--teal-tint); padding: 5px 10px; border-radius: 999px; }

/* ===== WORKSPACE ===== */
.workspace { background: var(--surface); color: var(--ink); padding: clamp(36px, 5vw, 64px) 0; }
.ws-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); border: 1.5px solid var(--line); }
.ws-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ws-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.ws-title { font-size: clamp(24px, 3vw, 36px); }
.ws-desc { color: var(--muted); font-size: 16px; margin-top: 8px; max-width: 60ch; }
.ws-close { flex: none; background: transparent; border: 1.5px solid var(--line-2); color: var(--ink); border-radius: 999px; padding: 9px 16px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 180ms, color 180ms, border-color 180ms; }
.ws-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.dropzone { border: 2px dashed var(--teal-tint-2); border-radius: var(--r-md); background: var(--mint); padding: clamp(32px, 6vw, 56px); text-align: center; cursor: pointer; transition: border-color 180ms, background 180ms; }
.dropzone:hover, .dropzone:focus-visible { border-color: var(--teal); background: #dff2ec; outline: none; }
.dropzone.drag { border-color: var(--teal); background: #d3ece4; }
.dz-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--paper); color: var(--teal); display: grid; place-items: center; margin: 0 auto 16px; }
.dz-icon svg { width: 28px; height: 28px; }
.dz-title { font-family: var(--poppins); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.dz-title span { color: var(--teal-d); }
.dz-hint { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

.file-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.fl-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.fl-thumb { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; background: var(--surface-2); }
.fl-badge { width: 40px; height: 40px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-d); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.fl-meta { flex: 1; min-width: 0; }
.fl-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-size { font-size: 12px; color: var(--muted); }
.fl-remove { flex: none; background: transparent; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.fl-remove:hover { color: var(--coral); background: rgba(242,112,95,0.1); }

/* ===== LIVE PREVIEW (watermark) ===== */
.wm-preview { margin-top: 4px; }
.wm-caption { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.wm-live { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; margin-right: 4px; }
.wm-canvas { max-width: 100%; height: auto; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background-color: #fff;
  background-image: linear-gradient(45deg, #ececed 25%, transparent 25%), linear-gradient(-45deg, #ececed 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ececed 75%), linear-gradient(-45deg, transparent 75%, #ececed 75%);
  background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }

/* ===== INTERACTIVE (cropper) ===== */
.ws-interactive { margin-top: 22px; }
.crop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.crop-toolbar .ct-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.ratio-btn { border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.ratio-btn:hover { border-color: var(--teal); }
.ratio-btn.active { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.crop-stage { position: relative; display: inline-block; max-width: 100%; line-height: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); border: 1.5px solid var(--line); user-select: none; touch-action: none; }
.crop-stage img { display: block; max-width: 100%; max-height: 62vh; width: auto; pointer-events: none; }
.crop-box { position: absolute; border: 2px solid var(--paper); cursor: move; box-sizing: border-box; overflow: visible; }
.crop-box::before { content: ''; position: absolute; inset: 0; outline: 9999px solid rgba(43,48,56,0.5); pointer-events: none; }
.crop-grid-l { position: absolute; background: rgba(255,255,255,0.5); pointer-events: none; }
.crop-handle { position: absolute; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--teal); border-radius: 50%; z-index: 3; }
.crop-handle.nw { left: -8px; top: -8px; cursor: nwse-resize; }
.crop-handle.ne { right: -8px; top: -8px; cursor: nesw-resize; }
.crop-handle.sw { left: -8px; bottom: -8px; cursor: nesw-resize; }
.crop-handle.se { right: -8px; bottom: -8px; cursor: nwse-resize; }
.crop-handle.n { left: 50%; top: -8px; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle.s { left: 50%; bottom: -8px; transform: translateX(-50%); cursor: ns-resize; }
.crop-handle.w { left: -8px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.crop-box.ratio-locked .crop-handle.n, .crop-box.ratio-locked .crop-handle.s, .crop-box.ratio-locked .crop-handle.e, .crop-box.ratio-locked .crop-handle.w { display: none; }
.crop-handle.e { right: -8px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.crop-readout { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 12px; }
.crop-readout strong { color: var(--teal-d); }

/* ===== 9-grid position picker ===== */
.posgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 132px; }
.posgrid button { aspect-ratio: 1; border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 8px; cursor: pointer; padding: 0; position: relative; }
.posgrid button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); transform: translate(-50%,-50%); }
.posgrid button:hover { border-color: var(--teal); }
.posgrid button.active { border-color: var(--teal); background: var(--teal-tint); }
.posgrid button.active::after { background: var(--teal); }

/* ===== OPTIONS ===== */
.ws-options { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding: 22px; border-radius: var(--r-md); background: var(--surface); }
.opt { display: flex; flex-direction: column; gap: 8px; }
.opt-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.opt-label .opt-val { color: var(--teal-d); margin-left: 6px; }
.opt select, .opt input[type=text], .opt input[type=number] { font-family: inherit; font-size: 15px; font-weight: 600; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
.opt select:focus, .opt input:focus { outline: none; border-color: var(--teal); }
.opt input[type=range] { accent-color: var(--teal); height: 6px; }
.opt-hint { font-size: 12.5px; color: var(--muted); }
.opt-seg { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 4px; gap: 4px; background: var(--paper); }
.opt-seg button { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background 160ms, color 160ms; }
.opt-seg button.active { background: var(--teal); color: var(--paper); }

/* ===== ACTIONS / PROGRESS ===== */
.ws-actions { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-run { background: var(--teal); color: var(--paper); padding: 15px 32px; font-size: 16px; }
.btn-run:hover { background: var(--teal-d); }
.btn-run:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-plain { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-plain:hover { border-color: var(--ink); }
.btn-lime-sm { background: var(--teal); color: var(--paper); padding: 10px 18px; font-size: 14px; }
.btn-lime-sm:hover { background: var(--teal-d); }
.progress { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 12px; }
.progress-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; position: relative; }
.progress-bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct, 0%); background: var(--teal); border-radius: 999px; transition: width 200ms ease; }
.progress-label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.progress.indeterminate .progress-bar::after { width: 34%; left: -34%; animation: indet 1.15s ease-in-out infinite; }
@keyframes indet { 0% { left: -34%; } 100% { left: 100%; } }

/* ===== RESULTS ===== */
.results { margin-top: 28px; padding: 24px; border-radius: var(--r-md); background: var(--surface); }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.results-head h3 { font-family: var(--poppins); }
.results-list { display: flex; flex-direction: column; gap: 12px; }
.res-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); border: 1.5px solid var(--line); }
.res-item.ok { border-color: var(--teal-tint-2); }
.res-item.err { border-color: rgba(242,112,95,0.5); background: rgba(242,112,95,0.06); }
.res-thumb { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; flex: none; background: var(--surface-2); }
.res-badge { width: 52px; height: 52px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--teal); color: var(--paper); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.res-meta { flex: 1; min-width: 0; }
.res-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-stat { font-size: 13px; color: var(--muted); margin-top: 3px; }
.res-stat .saved { color: var(--teal-d); font-weight: 700; }
.res-stat .grew { color: var(--coral); font-weight: 700; }
.res-dl { flex: none; background: var(--teal); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.res-dl:hover { background: var(--teal-d); }

/* ===== PRIVACY / TRUST (centred headline + feature tiles) ===== */
.privacy { background: var(--paper); color: var(--ink); }
.trust-head { max-width: 900px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.trust-head h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 0 0 18px; }
.trust-head p { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); max-width: 64ch; margin: 0 auto; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trust-card { background: var(--surface); border-radius: var(--r-md); padding: 26px 24px; }
.trust-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-d); display: grid; place-items: center; margin-bottom: 16px; }
.trust-ic svg { width: 22px; height: 22px; }
.trust-card h4 { font-family: var(--poppins); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.trust-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.trust-card a { color: var(--teal-d); font-weight: 700; }

/* ===== FAQ (tabbed sidebar + accordion) ===== */
.faq { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 90px; }
.faq-tab { text-align: left; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: transparent; border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; transition: background 160ms, color 160ms; }
.faq-tab:hover { background: var(--paper); }
.faq-tab.active { background: var(--teal); color: var(--paper); }
.faq-panel h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 18px; }
.faq-item { background: var(--paper); border-radius: var(--r-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--poppins); font-weight: 700; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8775' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; }
.faq-item[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d8775' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.faq-item p { padding: 0 22px 20px; margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.65; max-width: 78ch; }
@media (max-width: 800px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-tabs { position: static; flex-direction: row; flex-wrap: wrap; }
  .faq-tab { padding: 10px 14px; font-size: 14px; }
}

/* ===== NOT YET ===== */
.notyet { background: var(--paper); color: var(--ink); }
.notyet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ny-card { background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; }
.ny-card[data-open] { cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.ny-card[data-open]:hover { background: var(--paper); border-color: var(--teal); }
.ny-card[data-open]:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ny-card h4 { font-family: var(--poppins); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.ny-card p { font-size: 15px; color: var(--muted); }
.ny-open { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--teal); color: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.2; transition: background 200ms; }
.ny-card:hover .ny-open { background: var(--teal-d); }

/* ===== FOOTER (dark, brand row + link columns) ===== */
.footer { background: #222834; color: var(--paper); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer .brand { color: var(--paper); }
.footer .brand em { color: #4fd1b5; }
.ft-brandrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.ft-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #4fd1b5; background: rgba(79,209,181,0.12); padding: 9px 16px; border-radius: 999px; }
.ft-pill .live-dot { background: #4fd1b5; }
.ft-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 28px; }
.ft-col h4 { font-family: var(--poppins); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.ft-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.82); padding: 6px 0; line-height: 1.4; transition: color 160ms; }
.ft-col a:hover { color: #4fd1b5; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 12px; padding: 20px 24px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); }
.ft-bottom p { color: rgba(255,255,255,0.6); font-size: 13.5px; margin: 0; }
.ft-bottom a { color: var(--paper); font-weight: 700; }
.ft-bottom a:hover { color: #4fd1b5; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: clamp(56px, 7vw, 88px); padding: 0 24px; }
.ft-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
@media (max-width: 640px) { .ft-bottom { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .ws-head { flex-direction: column; }
}
@media (max-width: 520px) {
  .ws-actions { flex-direction: column; align-items: stretch; }
  .progress { width: 100%; }
}

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 240ms, transform 240ms; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--coral); color: var(--paper); }

/* ===== MASCOT MOTION (gentle idle float + occasional squish) ===== */
@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mascot-squish { 0%, 82%, 100% { transform: scale(1, 1); } 88% { transform: scale(1.06, 0.92); } 94% { transform: scale(0.97, 1.04); } }
.hero-mascot { animation: mascot-float 4.2s ease-in-out infinite; }
.hero-mascot img { transform-origin: 50% 100%; animation: mascot-squish 6s ease-in-out infinite; }
.brand-mark { transition: transform 240ms cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-mark { transform: scale(1.12, 0.9); }
.dropzone.drag .dz-icon { animation: mascot-squish 0.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-mascot, .hero-mascot img, .dropzone.drag .dz-icon { animation: none; } }


/* ===== TOP-LINK SUB-MENUS ===== */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 2px; }
.nav-item > a svg { width: 14px; height: 14px; opacity: 0.7; transition: transform 200ms; }
.nav-item:hover > a svg { transform: rotate(180deg); }
.nav-item .sub { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 240px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 90ms, transform 90ms, visibility 0s 90ms; }
.nav-item .sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .sub, .nav-item:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item .sub a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-item .sub a:hover { background: var(--surface); color: var(--teal-d); }

/* ===== MEGA MENU ===== */
.header-nav { align-items: center; }
.header-nav > a { padding: 8px 2px; }
.mm { position: static; }
.mm-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 700; color: #4fd1b5; background: transparent; border: 0; cursor: pointer; padding: 8px 2px; }
.mm-btn svg { width: 16px; height: 16px; transition: transform 200ms; }
.mm.open .mm-btn svg, .mm:hover .mm-btn svg { transform: rotate(180deg); }
.mm-panel { position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: auto; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 26px 28px 28px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms, transform 160ms, visibility 160ms; }
.mm-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mm.open .mm-panel, .mm:hover .mm-panel, .mm:focus-within .mm-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mm-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 20px; }
.opt.opt-wide { grid-column: 1 / -1; }
.opt textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line, #d9dee5); border-radius: 12px; background: #fff; color: var(--ink); resize: vertical; min-height: 120px; }
.opt textarea:focus { outline: none; border-color: var(--teal, #12a58f); }
.mm-col h4 { font-family: var(--poppins); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mm-col a { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 0; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); opacity: 1; line-height: 1.25; }
.mm-col a span:last-child { min-width: 0; }
.mm-col a:hover { color: var(--teal-d); }
.mm-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; color: var(--paper); }
.mm-ic svg { width: 15px; height: 15px; }
.mm-ic-i { background: #12a58f; } .mm-ic-c { background: #f0a43a; } .mm-ic-p { background: #e2574c; }
.mm-ic-m { background: #5b7cf0; } .mm-ic-a { background: #8e6cd8; } .mm-ic-u { background: #8e6cd8; } .mm-ic-g { background: #4d5a68; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.25); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; }
@media (max-width: 1100px) { .mm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 940px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .header-nav { display: block; position: fixed; inset: 64px 0 0 0; height: auto; background: var(--paper); color: var(--ink); overflow-y: auto; padding: 16px 20px 40px; z-index: 99; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-item { position: static; }
  body.nav-open .nav-item > a svg { display: none; }
  body.nav-open .mm-panel { display: block; }
  body.nav-open .mm-col h4 { margin-top: 14px; }
  body.nav-open .header-nav > a, body.nav-open .nav-item > a { display: block; font-size: 17px; padding: 12px 0; color: var(--ink); }
  body.nav-open .nav-item .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  body.nav-open .mm-btn { display: none; }
  body.nav-open .mm-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; border: 0; padding: 8px 0 0; }
  body.nav-open .mm-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  body.nav-open .mm-col a { white-space: normal; }
}
@media (max-width: 560px) { body.nav-open .mm-grid { grid-template-columns: 1fr; } }


/* ===== MASCOT BLINK (two stacked frames) ===== */
.hero-mascot { position: relative; }
.hero-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-mascot .mascot-open { position: relative; }
.hero-mascot .mascot-blink { opacity: 0; animation: mascot-blink 5.5s steps(1, end) infinite; }
@keyframes mascot-blink { 0%, 93%, 96.5%, 100% { opacity: 0; } 93.5%, 96% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-mascot .mascot-blink { animation: none; } }

/* ===== COMPARE SLIDER ===== */
.compare { background: var(--paper); padding-bottom: clamp(24px, 3vw, 40px); }
.compare + .privacy, .privacy { padding-top: clamp(28px, 4vw, 56px); }
.cmp { max-width: 1120px; margin: 0 auto; }
.cmp-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1600 / 893; background: var(--surface-2); user-select: none; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-before { position: absolute; inset: 0; width: var(--cmp, 50%); overflow: hidden; }
.cmp-before .cmp-img { width: 100%; }
.cmp-before .cmp-img { width: calc(100% / (var(--cmpf, 0.5))); max-width: none; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--cmp, 50%); width: 3px; background: var(--paper); transform: translateX(-50%); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); transform: translate(-50%, -50%); display: grid; place-items: center; }
.cmp-handle span::before, .cmp-handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.cmp-handle span::before { left: 9px; border-right-color: var(--ink); }
.cmp-handle span::after { right: 9px; border-left-color: var(--ink); }
.cmp-tag { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(43,48,56,0.72); color: var(--paper); font-size: 13px; font-weight: 600; }
.cmp-tag b { font-weight: 800; margin-left: 6px; }
.cmp-tag-l { left: 18px; } .cmp-tag-r { right: 18px; background: rgba(18,165,143,0.9); }
.cmp-range { position: relative; display: block; width: 100%; margin: -46px 0 0; height: 46px; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible { opacity: 1; }

/* ===== PROMO BANNER ===== */
.promo { background: var(--paper); padding-top: 0; }
.promo-card { position: relative; border-radius: var(--r-lg); background: #212936; color: var(--paper); padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1.2fr); gap: 24px; align-items: center; overflow: hidden; }
.promo-copy h2 { color: var(--paper); font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 14px; max-width: 16ch; }
.promo-copy p { color: rgba(255,255,255,0.88); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 48ch; margin-bottom: 26px; }
.btn-white { background: #4fd1b5; color: #1f2630; }
.btn-white:hover { background: #6fe0c8; }
.promo-copy h2 em { color: #4fd1b5; }

.promo-art { position: relative; justify-self: end; width: 118%; max-width: 980px; margin: calc(-1 * clamp(40px, 7vw, 110px)) calc(-1 * clamp(40px, 6vw, 110px)) calc(-1 * clamp(30px, 5vw, 80px)) 0; }
.promo-mascot { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .promo-card { grid-template-columns: 1fr; } .promo-art { width: 100%; max-width: 520px; margin: -10px auto -30px; order: -1; } }

/* ===== FORMATS (floating cards) ===== */
.formats { background: linear-gradient(135deg, #f1edff 0%, #e8f6f1 55%, #fff1e8 100%); overflow: hidden; }
.formats::before { content: ''; position: absolute; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; left: -10vw; top: -20vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(142,108,216,0.14), transparent); pointer-events: none; }
.formats > .wrap { position: relative; z-index: 1; }
.formats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.formats-copy h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 12ch; margin-bottom: 16px; }
.formats-copy p { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); max-width: 40ch; }
.formats-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; }
.fc-col { display: grid; gap: 16px; }
.fc-col-up { transform: translateY(-28px); }
.fc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 26px 12px; text-align: center; transition: border-color 160ms, transform 160ms; }
.fc:hover { border-color: var(--teal); transform: translateY(-3px); }
.fc b { font-family: var(--poppins); font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--ink); }
.fc span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
@media (max-width: 860px) { .formats-grid { grid-template-columns: 1fr; } .fc-col-up { transform: none; } }


/* ===== VELARIS animated gradient canvas ===== */
[data-velaris] { position: relative; isolation: isolate; }
.velaris-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
[data-velaris] > .wrap { position: relative; z-index: 2; }
.hero::before, .hero::after { z-index: 1; }

/* ===== FORMAT CARDS: header/footer palette only (dark + teal + white) ===== */
.fc { border: 1.5px solid transparent; background: #1f2630; }
.fc b { color: #4fd1b5; }
.fc:hover { border-color: #4fd1b5; background: #28313d; }

.cmp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 28px; }
.cmp-cta span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* ===== FOOTER: character line-up tucked into the empty right-hand space ===== */
.ft-top { position: relative; }
.ft-lineup { position: absolute; right: 0; bottom: -8px; width: min(46%, 560px); pointer-events: none; }
.ft-lineup img { width: 100%; height: auto; display: block; }
.ft-cols { position: relative; z-index: 1; }
@media (max-width: 1100px) { .ft-lineup { position: static; width: min(100%, 520px); margin: 24px auto 0; } }

/* header alignment polish */
.header-inner { align-items: center; }
.brand-text { line-height: 40px; height: 40px; display: inline-block; transform: translateY(2px); }
.header-nav { align-items: center; font-size: 15.5px; height: 40px; }
.header-nav > a, .nav-item > a, .mm-btn { line-height: 40px; height: 40px; padding: 0 2px; display: inline-flex; align-items: center; }
.header-status { height: 34px; }
.header-right { display: flex; align-items: center; }

.hero .btn-lime { background: #4fd1b5; color: #1f2630; }
.hero .btn-lime:hover { background: #6fe0c8; }
.hero .btn-ghost { background: rgba(255,255,255,0.1); color: var(--paper); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* compare CTA: chips instead of a grey sentence */
.cmp-cta { flex-direction: column; gap: 14px; }
.cmp-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cmp-checks span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); padding: 7px 12px 7px 8px; border-radius: 999px; }
.cmp-checks span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }

/* hero sub-heading + polish */
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4fd1b5; background: rgba(79,209,181,0.12); padding: 8px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4fd1b5; }
.hero-lead h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; margin-bottom: 20px; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; margin-bottom: 4px; }
.hero-actions { margin-top: 30px; }
.hero-actions .btn { padding: 15px 28px; font-size: 15.5px; }
.hero-checks { margin-top: 26px; }

/* ===== HERO decorations: 3D flowers, pastel balls, soft circles (spread out) ===== */
.hero-grid { position: relative; }
.hero-deco { position: absolute; inset: -6% -2%; pointer-events: none; }
.hero-deco .hd { position: absolute; height: auto; animation: mascot-float 6s ease-in-out infinite; }
.hd-4 { width: 38px; left: 47%; top: 0; animation-duration: 7s; }
.hd-5 { width: 28px; left: 60%; top: 40%; animation-duration: 8s; animation-delay: -3s; }
.hero-deco .hc { position: absolute; border-radius: 50%; }
.hc-1 { width: 14px; height: 14px; right: 24%; top: 10%; background: rgba(79,209,181,0.55); }
.hc-2 { width: 10px; height: 10px; right: 10%; top: 54%; background: rgba(242,112,95,0.6); }
.hc-3 { width: 18px; height: 18px; left: 44%; bottom: 20%; background: rgba(142,108,216,0.5); }
.hc-4 { width: 8px; height: 8px; left: 40%; top: 18%; background: rgba(255,255,255,0.35); }
.hc-5 { width: 22px; height: 22px; right: 2%; bottom: 6%; background: rgba(255,209,102,0.5); }
.hc-6 { width: 12px; height: 12px; right: 1%; top: 6%; background: rgba(79,209,181,0.45); }
.hero-deco .hc { animation: mascot-float 7s ease-in-out infinite; }
.hc-2, .hc-5 { animation-delay: -2s; } .hc-3, .hc-6 { animation-delay: -4s; }
@media (max-width: 860px) {
  .hero-deco { inset: -3% 0; }
  .hd-4 { width: 30px; left: 6%; top: 3%; }
  .hd-5 { width: 22px; left: auto; right: 7%; top: 30%; }
  .hc-1 { right: 12%; top: 5%; }
  .hc-2 { left: 12%; right: auto; top: 33%; }
  .hc-3 { left: 4%; bottom: auto; top: 19%; }
  .hc-4 { left: 22%; top: 1%; }
  .hc-5 { width: 16px; height: 16px; right: 3%; bottom: auto; top: 15%; }
  .hc-6 { right: 24%; top: 39%; }
}

/* promo scene: gentle bob + sway */
@keyframes promo-sway { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.promo-art img { animation: promo-sway 6s ease-in-out infinite; transform-origin: 70% 90%; }
@media (prefers-reduced-motion: reduce) { .promo-art img { animation: none; } }

/* mobile header: toggle sits at the far right; turns into an X when open */
@media (max-width: 940px) {
  .header-inner { gap: 12px; }
  .nav-toggle { order: 4; }
  .lang { order: 3; }
  .header-right { order: 2; margin-left: auto; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle span { transition: transform 200ms, opacity 200ms; }
  body.nav-open .header-nav { z-index: 200; }
}

/* ===== Language switcher ===== */
.header-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn:hover { color: #4fd1b5; }
.lang-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; max-height: 60vh; overflow-y: auto; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 120ms, transform 120ms, visibility 0s 120ms; z-index: 120; }
.lang.open .lang-panel { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 120ms, transform 120ms; }
.lang-panel a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lang-panel a:hover { background: var(--surface); color: var(--teal-d); }
.lang-panel a.active { background: var(--teal); color: var(--paper); }
@media (max-width: 620px) { .header-right { display: flex; } .header-status { display: none; } .lang-btn span { display: none; } }

/* ===== Mobile menu: full-screen dark sheet ===== */
@media (max-width: 940px) {
  body.nav-open .header-nav { background: #1f2630; color: var(--paper); padding: 10px 20px 60px; }
  body.nav-open .header-nav > a, body.nav-open .nav-item > a { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--paper); padding: 16px 0; height: auto; line-height: 1.2; border-radius: 0; }
  body.nav-open .nav-item > a svg { display: block; width: 18px; height: 18px; opacity: 0.6; transform: none; }
  body.nav-open .nav-item .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; padding: 0 0 12px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  body.nav-open .nav-item .sub a { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); border-radius: 999px; padding: 8px 12px 8px 8px; font-size: 13.5px; white-space: nowrap; }
  body.nav-open .nav-item .sub a .mm-ic { width: 22px; height: 22px; border-radius: 6px; }
  body.nav-open .nav-item .sub a .mm-ic svg { width: 12px; height: 12px; }
  body.nav-open .mm { display: block; margin-top: 10px; }
  body.nav-open .mm-btn { display: none; }
  body.nav-open .mm-panel { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; padding: 0; width: auto; }
  body.nav-open .mm-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
  body.nav-open .mm-col { padding: 6px 0 14px; }
  body.nav-open .mm-col h4 { color: #4fd1b5; font-size: 12px; letter-spacing: 0.1em; margin: 8px 0 10px; }
  body.nav-open .mm-col a { color: rgba(255,255,255,0.9); padding: 10px 0; font-size: 15px; }
  body.nav-open .mm-col a:hover { color: #4fd1b5; }
  body.nav-open .header-nav::after { content: 'No uploads · No sign-up · 100% free'; display: inline-flex; margin-top: 18px; font-size: 13px; font-weight: 700; color: #4fd1b5; background: rgba(79,209,181,0.12); padding: 9px 16px; border-radius: 999px; }
}

/* header: never wrap labels (longer words in other languages) */
.header-nav > a, .nav-item > a, .mm-btn, .header-status, .lang-btn { white-space: nowrap; }
.header-inner { flex-wrap: nowrap; }
.header-nav { flex: 0 1 auto; min-width: 0; }
@media (max-width: 1280px) { .header-nav { gap: 18px; font-size: 14.5px; } }
@media (max-width: 1180px) { .header-status { display: none; } }
@media (max-width: 1060px) { .header-nav { gap: 14px; font-size: 14px; } }

/* header: nav shrinks before the right-hand controls do; nothing overlaps */
.header-inner > .brand, .header-right, .lang, .nav-toggle { flex: none; }
.header-nav { flex: 0 1 auto; min-width: 0; overflow: visible; }
@media (max-width: 1500px) and (min-width: 941px) { .header-status { display: none; } }

/* ===== Spreadsheets & data cards + header spacing ===== */
.tool-cat[data-cat="data"] .tc-icon { background: #2f9e6e; }
.header-right { margin-left: 12px; }
@media (max-width: 1200px) { .header-nav { gap: 18px; font-size: 14.5px; } }
