/* ============================================================
   VIDEO2EDITOR.COM — SHARED STYLESHEET
   Used by index.html and all ten tool pages.
   ============================================================ */

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --brand-primary: #6366f1;
  --brand-secondary: #06b6d4;
  --brand-hover: #4f46e5;

  --c-edit: #6366f1;
  --c-convert: #06b6d4;
  --c-audio: #f59e0b;
  --c-ai: #ec4899;

  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 25px -5px rgba(99, 102, 241, 0.08), 0 8px 10px -6px rgba(0,0,0,0.01);
  --shadow-lg: 0 20px 30px -10px rgba(99, 102, 241, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --bg-main: #090d16;
  --bg-card: #131b2e;
  --bg-nav: rgba(19, 27, 46, 0.85);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: #1e293b;
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }

body { background-color: var(--bg-main); color: var(--text-main);
  transition: background-color .3s ease, color .3s ease; line-height: 1.6; }

a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }
img, video, canvas { max-width: 100%; }

/* ==================== HEADER & NAVBAR ==================== */
header { position: sticky; top: 0; z-index: 1000; background: var(--bg-nav);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }

.nav-container { max-width: 1280px; margin: 0 auto; padding: .8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav-left { display: flex; align-items: center; gap: .8rem; }

.logo-container { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-text { font-size: 1.6rem; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: center; }
.logo-text span.digit { background: var(--brand-gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; padding: 0 2px; }
.logo-text span.domain { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-primary); }

.nav-actions { display: flex; align-items: center; gap: .8rem; }

.theme-toggle { background: var(--bg-card); border: 1px solid var(--border-color);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-main);
  box-shadow: var(--shadow-sm); transition: transform .2s; }
.theme-toggle:hover { transform: scale(1.05); }

.btn-primary { background: var(--brand-gradient); color: #fff; padding: .65rem 1.4rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; border: none;
  cursor: pointer; box-shadow: 0 4px 14px rgba(99,102,241,.3);
  transition: transform .2s, box-shadow .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,102,241,.4); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* hamburger */
.burger { width: 42px; height: 42px; border: 1px solid var(--border-color); border-radius: 12px;
  background: var(--bg-card); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; cursor: pointer; flex: none; padding: 0; }
.burger:hover { border-color: var(--brand-primary); }
.burger i { display: block; width: 17px; height: 2px; background: var(--text-main);
  border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==================== LEFT DRAWER ==================== */
.scrim { position: fixed; inset: 0; background: rgba(2,6,23,.55); opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s; z-index: 1100; }
.scrim.open { opacity: 1; visibility: visible; }

.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 86vw;
  background: var(--bg-card); border-right: 1px solid var(--border-color);
  transform: translateX(-100%); transition: transform .26s cubic-bezier(.32,.72,0,1);
  z-index: 1101; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.drawer.open { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid var(--border-color); position: sticky; top: 0;
  background: var(--bg-card); z-index: 2; }
.drawer-close { width: 36px; height: 36px; border: 1px solid var(--border-color);
  border-radius: 10px; background: transparent; color: var(--text-main); font-size: 1.2rem;
  line-height: 1; cursor: pointer; }
.drawer-close:hover { border-color: var(--brand-primary); }

.drawer-sec { padding: 1rem .7rem .3rem; }
.drawer-sec h4 { font-size: .72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px; margin: 0 0 .6rem .7rem; }

.drawer-link { display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem;
  border-radius: 10px; font-size: .95rem; font-weight: 600; color: var(--text-main); }
.drawer-link:hover { background: rgba(99,102,241,.08); }
.drawer-link.here { background: rgba(99,102,241,.12); color: var(--brand-primary); }
.drawer-link .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--brand-primary)); flex: none; }
.drawer-link small { display: block; font-weight: 500; font-size: .76rem; color: var(--text-muted); }
.drawer-link.plain { font-weight: 500; font-size: .92rem; color: var(--text-muted); }
.drawer-link.plain:hover { color: var(--brand-primary); }
.drawer-foot { margin-top: auto; padding: 1rem; border-top: 1px solid var(--border-color);
  font-size: .82rem; color: var(--text-muted); }

/* ==================== HERO ==================== */
.hero { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem 3rem; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2); padding: .4rem 1rem; border-radius: 50px;
  color: var(--brand-primary); font-weight: 700; font-size: .85rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 1.2rem; }
.gradient-text { background: var(--brand-gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 680px; margin: 0 auto 2.5rem; }

/* tool page hero */
.tool-hero { max-width: 900px; margin: 0 auto; padding: 2.6rem 1.5rem 1.6rem; text-align: center; }
.tool-hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem;
  font-weight: 700; color: var(--c, var(--brand-primary)); background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.18); padding: .3rem .85rem; border-radius: 50px; margin-bottom: 1rem; }
.tool-hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: .8rem; }
.tool-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ==================== DROPZONE ==================== */
.dropzone-box { max-width: 800px; margin: 0 auto 2rem; background: var(--bg-card);
  border: 2px dashed var(--brand-primary); border-radius: var(--radius-lg); padding: 3rem 2rem;
  text-align: center; cursor: pointer; box-shadow: var(--shadow-md); transition: all .25s ease; }
.dropzone-box:hover, .dropzone-box.over { border-color: #ec4899; transform: translateY(-3px);
  box-shadow: var(--shadow-lg); }
.dropzone-box:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.dropzone-icon { width: 64px; height: 64px; background: rgba(99,102,241,.1); color: var(--brand-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.dropzone-title { font-size: 1.3rem; font-weight: 700; margin-bottom: .4rem; }
.dropzone-sub { color: var(--text-muted); font-size: .9rem; }
.file-input { display: none; }

/* hero tool chooser (after a file is dropped on the home page) */
.chooser { max-width: 800px; margin: -1rem auto 2rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.4rem;
  box-shadow: var(--shadow-md); text-align: left; }
.chooser h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.chooser p { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.chooser-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.chooser-grid a { border: 1px solid var(--border-color); border-radius: 50px; padding: .45rem 1rem;
  font-size: .88rem; font-weight: 600; color: var(--text-muted); background: var(--bg-main); }
.chooser-grid a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ==================== FEATURE STRIP ==================== */
.features-strip { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.feature-item svg { color: var(--ok); }

/* ==================== AD SLOT ==================== */
.ad-slot { max-width: 970px; margin: 2rem auto; min-height: 90px; background: rgba(0,0,0,.02);
  border: 1px dashed var(--border-color); border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center; color: var(--text-muted); font-size: .8rem;
  text-transform: uppercase; letter-spacing: 1px; }

/* ==================== TOOLS GRID ==================== */
.tools-section { max-width: 1280px; margin: 2rem auto 5rem; padding: 0 1.5rem; }
.filter-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.search-bar-container { position: relative; max-width: 600px; margin: 0 auto; width: 100%; }
.search-input { width: 100%; padding: 1rem 1.2rem 1rem 3.2rem; border-radius: 50px;
  border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-main);
  font-size: 1rem; outline: none; box-shadow: var(--shadow-sm); transition: all .2s; }
.search-input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.search-icon { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.category-pills { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.pill-btn { background: var(--bg-card); border: 1px solid var(--border-color); padding: .5rem 1.2rem;
  border-radius: 50px; font-size: .9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; }
.pill-btn:hover, .pill-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.no-results { text-align: center; color: var(--text-muted); padding: 3rem 1rem; grid-column: 1/-1; }

.tool-card { background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 1.8rem; display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c, var(--brand-primary)); }
.tool-card:focus-visible { outline: 3px solid var(--c, var(--brand-primary)); outline-offset: 2px; }

.card-icon { width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--c, var(--brand-primary)) 12%, transparent);
  color: var(--c, var(--brand-primary)); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; transition: background .2s, color .2s; }
.tool-card:hover .card-icon { background: var(--c, var(--brand-primary)); color: #fff; }

.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.card-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: .6rem; }
.card-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: .2rem .6rem; border-radius: 4px;
  background: color-mix(in srgb, var(--c, var(--brand-primary)) 12%, transparent);
  color: var(--c, var(--brand-primary)); }
.card-link { font-weight: 700; font-size: .9rem; color: var(--c, var(--brand-primary));
  display: flex; align-items: center; gap: 4px; }

/* ==================== TOOL WORKSPACE ==================== */
.tool-wrap { max-width: 1180px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.panel { background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 1.6rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-sm); }

.studio { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 1.6rem; align-items: start; }
.stage video, .stage canvas.preview { width: 100%; border-radius: var(--radius-sm);
  background: #000; display: block; border: 1px solid var(--border-color); }

.controls h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border-color); }
.field { margin-bottom: 1rem; }
.field label, .flabel { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .4rem;
  text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); }
.field label .val { float: right; text-transform: none; letter-spacing: 0; color: var(--brand-primary); }

select, input[type=text], input[type=number] { width: 100%; padding: .65rem .8rem;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-main);
  color: var(--text-main); font-size: .95rem; outline: none; }
select:focus, input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
input[type=range] { width: 100%; accent-color: var(--brand-primary); }
textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); background: var(--bg-main); color: var(--text-main);
  font-size: .95rem; outline: none; resize: vertical; font-family: inherit; }

.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; margin: .7rem 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-primary); margin-top: 2px; flex: none; }

.seg { display: flex; border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-main); margin-bottom: 1rem; }
.seg button { flex: 1; padding: .6rem .4rem; border: 0; background: transparent; color: var(--text-muted);
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand-primary); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: .6rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  background: var(--bg-card); color: var(--text-main); font: inherit; font-weight: 600;
  font-size: .9rem; cursor: pointer; }
.btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); border-color: rgba(239,68,68,.3); }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* trim bar */
.trim-box { background: var(--bg-main); border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); padding: 1rem; margin-top: 1rem; }
.trim-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem;
  color: var(--text-muted); font-weight: 600; }
.trim-head b { color: var(--text-main); font-size: 1rem; font-variant-numeric: tabular-nums; }
.trim-line { display: flex; align-items: center; gap: .7rem; margin-top: .6rem; }
.trim-line label { font-size: .75rem; font-weight: 700; color: var(--text-muted); width: 38px; flex: none; }

/* progress */
.work { display: none; margin-top: 1.2rem; }
.work-label { display: flex; justify-content: space-between; font-size: .85rem;
  color: var(--text-muted); margin-bottom: .5rem; font-weight: 600; }
.bar { height: 10px; background: var(--bg-main); border: 1px solid var(--border-color);
  border-radius: 50px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--brand-gradient); transition: width .15s linear; }

/* messages */
.msg { border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-top: 1rem;
  display: none; border: 1px solid var(--border-color); background: var(--bg-main); }
.msg.ok { display: block; border-color: rgba(16,185,129,.4); }
.msg.err { display: block; border-color: rgba(239,68,68,.4); color: var(--danger); }
.msg.warn { display: block; border-color: rgba(245,158,11,.45); }

/* result */
.result { display: none; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border-color); }
.result h3 { font-size: 1rem; margin-bottom: .8rem; }
.stats { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); margin-top: .9rem; }
.stats b { color: var(--text-main); font-size: 1rem; display: block; }

/* file meta table */
.meta { font-size: .85rem; }
.meta div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0;
  border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
.meta div:last-child { border-bottom: 0; }
.meta b { color: var(--text-main); font-weight: 700; }

/* ==================== CROP OVERLAY ==================== */
.crop-stage { position: relative; display: inline-block; width: 100%; line-height: 0; }
.crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(2,6,23,.55);
  cursor: move; touch-action: none; }
.crop-box .handle { position: absolute; width: 16px; height: 16px; background: #fff;
  border: 2px solid var(--brand-primary); border-radius: 3px; touch-action: none; }
.crop-box .handle.br { right: -9px; bottom: -9px; cursor: nwse-resize; }
.crop-box .grid-l { position: absolute; background: rgba(255,255,255,.35); }

/* ==================== SUBTITLE EDITOR ==================== */
.cue-list { max-height: 420px; overflow-y: auto; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); }
.cue { display: grid; grid-template-columns: 44px 1fr auto; gap: .6rem; align-items: start;
  padding: .7rem; border-bottom: 1px solid var(--border-color); }
.cue:last-child { border-bottom: 0; }
.cue.active { background: rgba(99,102,241,.08); }
.cue .num { font-size: .75rem; font-weight: 700; color: var(--text-muted); padding-top: .4rem; }
.cue .times { display: flex; gap: .4rem; margin-bottom: .4rem; }
.cue .times input { width: 100px; font-size: .8rem; padding: .3rem .4rem;
  font-variant-numeric: tabular-nums; }
.cue textarea { font-size: .9rem; min-height: 46px; }
.sub-overlay { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center;
  pointer-events: none; padding: 0 8%; }
.sub-overlay span { display: inline-block; background: rgba(0,0,0,.72); color: #fff;
  padding: .25rem .7rem; border-radius: 5px; font-size: clamp(.8rem, 2.2vw, 1.1rem);
  font-weight: 600; line-height: 1.35; }

/* ==================== SEO / FAQ / FOOTER ==================== */
.seo-section { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 4rem 1.5rem; }
.seo-container { max-width: 1000px; margin: 0 auto; }
.seo-container h2 { font-size: 1.8rem; margin-bottom: 1rem; letter-spacing: -.5px; }
.seo-container h3 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
.seo-container p { color: var(--text-muted); margin-bottom: 1rem; }
.seo-container ul { color: var(--text-muted); margin: 0 0 1rem 1.2rem; }
.seo-container li { margin-bottom: .4rem; }

details { border-bottom: 1px solid var(--border-color); padding: 1rem 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--text-muted); font-weight: 700; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--text-muted); margin: .7rem 0 0; font-size: .95rem; }

footer { background: var(--bg-main); border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem; color: var(--text-muted); font-size: .9rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.6rem; margin-bottom: 2rem; text-align: left; }
.footer-cols h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-main); margin-bottom: .7rem; }
.footer-cols a { display: block; padding: .22rem 0; color: var(--text-muted); font-size: .88rem; }
.footer-cols a:hover { color: var(--brand-primary); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1000px) {
  .studio { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 2.6rem 1.2rem 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .tool-hero h1 { font-size: 1.8rem; }
  .nav-links { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.25rem; }
  .logo-text span.domain { display: none; }
  .btn-primary.nav-cta { display: none; }
  .dropzone-box { padding: 2rem 1.2rem; }
  .panel { padding: 1.1rem; }
  .tool-wrap { padding: 0 1rem; }
}
@media (min-width: 769px) {
  .burger { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
