@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/fonts/bricolage.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}
/* mp4tomp3now.com — v2 design */
:root {
  --bg: #F5F6FB;
  --surface: #FFFFFF;
  --ink: #0F1A3A;
  --ink-2: #2E3A5C;
  --muted: #5E6886;
  --line: #E3E7F1;
  --line-2: #D3D9E8;
  --brand: #4F46E5;
  --brand-2: #2D5BFF;
  --brand-ink: #3730C9;
  --brand-wash: #EEEDFF;
  --amber: #FFB000;
  --amber-deep: #F07C00;
  --red: #D7263D;
  --green: #0E8A62;
  --hero-1: #0F1A3A;
  --hero-2: #2A1F7A;
  --hero-3: #4F46E5;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 58, .06), 0 2px 8px rgba(15, 26, 58, .05);
  --shadow: 0 2px 6px rgba(15, 26, 58, .05), 0 12px 32px rgba(15, 26, 58, .09);
  --shadow-lg: 0 6px 16px rgba(15, 26, 58, .10), 0 30px 70px rgba(26, 20, 90, .28);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 70ch;
  /* category colours */
  --c-video: #2D5BFF; --c-video-bg: #E8EEFF;
  --c-audio: #7C3AED; --c-audio-bg: #F1E9FF;
  --c-v2a: #0F8BA8; --c-v2a-bg: #E2F5FA;
  --c-gif: #DB2777; --c-gif-bg: #FDE8F2;
  --c-device: #EA6A0C; --c-device-bg: #FFEEDF;
  --c-compress: #0E8A62; --c-compress-bg: #DFF5EC;
  --c-atools: #9333EA; --c-atools-bg: #F4E8FF;
  --c-vtools: #0D9488; --c-vtools-bg: #DDF5F2;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(15, 26, 58, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -0.02em; }
.logo:hover { color: #fff; }
.logo-mark { display: inline-flex; gap: 2px; align-items: flex-end; height: 22px; }
.logo-mark i { display: block; width: 4px; background: var(--amber); border-radius: 2px; }
.logo-mark i:nth-child(1) { height: 9px; } .logo-mark i:nth-child(2) { height: 17px; } .logo-mark i:nth-child(3) { height: 22px; } .logo-mark i:nth-child(4) { height: 13px; }
.logo b { color: var(--amber); font-weight: 700; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.nav a { color: #C9D0E6; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.nav a.nav-cta { background: #fff; color: var(--ink); font-weight: 700; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--amber); color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 10px; padding: 7px 14px; font: inherit; font-size: 15px; }

/* ============ Hero band ============ */
.hero { position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255,176,0,.22), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(45,91,255,.45), transparent 60%),
    linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%);
  padding: 26px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.hero-copy { max-width: 760px; }
.hero h1 { font: 800 clamp(34px, 5.2vw, 58px)/1.04 var(--display); letter-spacing: -0.035em; margin: 10px 0 12px; }
.hero .pair { display: inline-flex; align-items: center; gap: .26em; flex-wrap: wrap; }
.hero .pair .to { color: rgba(255,255,255,.55); font-weight: 600; }
.hero .pair .hl { background: linear-gradient(90deg, #FFD36A, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: rgba(255,255,255,.82); margin: 0; max-width: 62ch; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #E7EBFA; }
.badge i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--ink); }
.badge i svg { width: 14px; height: 14px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.65); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: rgba(255,255,255,.4); }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.format-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.format-strip a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #E7EBFA; text-decoration: none; font-size: 14px; font-weight: 600; }
.format-strip a:hover { background: #fff; color: var(--ink); }

/* Tool card sits in the hero */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; margin-top: 26px; }
.no-ads .tool-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: center; }
.tool-card { position: relative; background: var(--surface); color: var(--ink); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-lg); }
.tool-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.aside-ad { position: sticky; top: 90px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #7CF0C5; flex: none; }

/* Hero illustration (desktop, when no side ad) */
.hero-art { display: grid; gap: 18px; padding: 22px; border-radius: var(--radius-xl); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.art-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.art-file { display: grid; justify-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.2); position: relative; }
.art-file::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: linear-gradient(225deg, var(--hero-2) 50%, #E6E8F5 50%); border-radius: 0 16px 0 6px; opacity: .9; }
.art-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.art-ic svg { width: 22px; height: 22px; }
.k-video .art-ic { color: var(--c-video); background: var(--c-video-bg); }
.k-audio .art-ic { color: var(--c-audio); background: var(--c-audio-bg); }
.k-image .art-ic { color: var(--c-gif); background: var(--c-gif-bg); }
.art-ext { font: 800 18px/1 var(--display); letter-spacing: -.01em; }
.art-file.to { outline: 3px solid var(--amber); outline-offset: 3px; }
.art-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--ink); }
.art-arrow svg { width: 20px; height: 20px; }
.art-solo { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.art-solo .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.art-solo .ic svg { width: 24px; height: 24px; }
.art-solo strong { font: 800 18px/1.2 var(--display); }
.art-wave { display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 4px; }
.art-wave i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #FFD36A, var(--amber)); opacity: .9; transform-origin: center; animation: wave 1.6s ease-in-out var(--d) infinite alternate; }
.art-wave i:nth-child(n+15) { background: linear-gradient(180deg, #A5B4FF, #6D7BFF); }
@keyframes wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.art-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: rgba(255,255,255,.88); }
.art-list li { display: flex; align-items: center; gap: 10px; }
.art-list svg { width: 18px; height: 18px; color: #7CF0C5; }

/* ============ Drop zone & tool UI ============ */
.drop { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 42px 20px; border: 2px dashed #C3CBEA; border-radius: 18px;
  background: linear-gradient(180deg, #FAFBFF, #F3F5FF); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: linear-gradient(180deg, #F3F2FF, #E9E8FF); }
.drop.over { transform: scale(1.01); }
.drop-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 24px rgba(79,70,229,.35); }
.drop-icon svg { width: 30px; height: 30px; }
.drop-text { font-size: 17px; }
.drop-text strong { display: inline-block; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); padding: 11px 22px; border-radius: 12px; font-size: 17px; margin-right: 6px; box-shadow: 0 6px 16px rgba(79,70,229,.3); }
.drop:hover .drop-text strong { filter: brightness(1.08); }
.drop-text span { color: var(--muted); }
.drop-hint { font-size: 14px; color: var(--muted); }
.drop.compact { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 12px 16px; gap: 2px 14px; border-style: solid; border-width: 1px; }
.drop.compact .drop-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; box-shadow: none; }
.drop.compact .drop-icon svg { width: 22px; height: 22px; }
.drop.compact .drop-text strong { background: none; color: var(--brand-ink); padding: 0; box-shadow: none; font-size: 16px; }

.file-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #FBFCFF; min-width: 0; flex-wrap: wrap; }
.file-list .fname { flex: 1 1 140px; }
.fname { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fmeta { color: var(--muted); font-size: 14px; margin-left: auto; white-space: nowrap; }
.remove { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 6px; }
.remove:hover { color: var(--red); }

.extra { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.extra-name { color: var(--muted); font-size: 15px; }

.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 16px; margin-top: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-label { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.field select, .field input[type="text"], .field input[type="number"] { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; width: 100%; min-height: 46px; transition: border-color .15s, box-shadow .15s; }
.field select:focus, .field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); outline: none; }
.field small { color: var(--muted); font-size: 13px; }
.field-checkbox { grid-template-columns: auto 1fr; align-items: center; grid-column: 1 / -1; background: #FAFBFF; border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; }
.field-checkbox input { width: 20px; height: 20px; accent-color: var(--brand); }

.actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 17px/1 var(--body); border-radius: 12px; padding: 15px 24px; border: 1px solid transparent; cursor: pointer; text-decoration: none; min-height: 52px; transition: transform .12s, box-shadow .12s, filter .12s; }
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.32); }
.btn-primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(79,70,229,.38); }
.btn-primary:disabled { background: #B9BEEA; box-shadow: none; cursor: not-allowed; transform: none; filter: none; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-2); font-weight: 650; }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn.small { padding: 9px 14px; min-height: 40px; font-size: 15px; }
.go { min-width: 220px; }
.btn-download { background: linear-gradient(135deg, #12A36F, var(--green)); box-shadow: 0 8px 20px rgba(14,138,98,.3); }
.btn-download:hover { box-shadow: 0 12px 26px rgba(14,138,98,.38); }

/* VU meter */
.meter { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin-top: 18px; height: 16px; }
.meter .seg { background: #E8EBF5; border-radius: 3px; transition: background .12s; }
.meter .seg.on { background: var(--brand-2); }
.meter .seg.warm.on { background: var(--amber); }
.meter .seg.hot.on { background: var(--amber-deep); }

.status:empty { display: none; }
.status { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.status.error { color: var(--red); font-weight: 650; background: #FFF0F2; border: 1px solid #FFD1D8; padding: 10px 12px; border-radius: 10px; }
.status.ok { color: var(--green); font-weight: 700; }
.notes { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.notes:empty { display: none; }

.results { margin-top: 16px; padding: 18px; border-radius: 16px; background: linear-gradient(180deg, #F0FBF6, #FFFFFF); border: 1px solid #CDEFE0; display: grid; gap: 14px; animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.result-main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.result-meta { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.result-list { list-style: none; padding: 0; margin: 0; max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.result-list li { display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.result-list li:last-child { border-bottom: 0; }
.preview { max-width: 100%; max-height: 320px; border-radius: 10px; justify-self: start; }
audio.preview { width: 100%; max-width: 520px; }
.again { justify-self: start; }
.next-steps { border-top: 1px solid #D6EFE3; padding-top: 14px; }
.next-steps p { margin: 0 0 8px; font-weight: 700; color: var(--ink); font-size: 15px; }
.next-steps ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.next-steps a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.next-steps a:hover { border-color: var(--brand); color: var(--brand-ink); }

.infobox { margin-top: 16px; }
.infobox h3 { font: 700 18px/1.3 var(--display); margin: 14px 0 8px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.info-table th { width: 38%; color: var(--muted); font-weight: 600; }
.infobox details { margin: 12px 0; }
.infobox pre { background: #0E1730; color: #DCE3F5; padding: 12px; border-radius: 10px; overflow: auto; font-size: 12px; }
.infobox .btn { margin-right: 8px; }

/* ============ Feature strip under hero ============ */
.features { margin-top: -34px; position: relative; z-index: 2; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.feature .ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature strong { display: block; font: 700 16px/1.25 var(--display); }
.feature span { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; margin-top: 2px; }
.ic-a { color: var(--c-video); background: var(--c-video-bg); }
.ic-b { color: var(--c-compress); background: var(--c-compress-bg); }
.ic-c { color: var(--c-device); background: var(--c-device-bg); }
.ic-d { color: var(--c-audio); background: var(--c-audio-bg); }

/* ============ Sections ============ */
.section { padding: 56px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.section-head h2 { font: 800 clamp(26px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -0.025em; margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head .more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.section-head .more svg { width: 18px; height: 18px; }

/* tool cards */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.tcard { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.tcard .ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.tcard .ic svg { width: 23px; height: 23px; }
.tcard strong { display: block; font: 700 17px/1.2 var(--display); letter-spacing: -0.01em; }
.tcard span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; line-height: 1.35; }
.tcard.small { padding: 12px; gap: 12px; }
.tcard.small .ic { width: 38px; height: 38px; border-radius: 11px; }
.tcard.small .ic svg { width: 19px; height: 19px; }
.tcard.small strong { font-size: 15.5px; }

/* category colour helpers */
.c-video-converters .ic, .ic.c-video-converters { color: var(--c-video); background: var(--c-video-bg); }
.c-audio-converters .ic, .ic.c-audio-converters { color: var(--c-audio); background: var(--c-audio-bg); }
.c-video-to-audio .ic, .ic.c-video-to-audio { color: var(--c-v2a); background: var(--c-v2a-bg); }
.c-gif-tools .ic, .ic.c-gif-tools { color: var(--c-gif); background: var(--c-gif-bg); }
.c-device-converters .ic, .ic.c-device-converters { color: var(--c-device); background: var(--c-device-bg); }
.c-compress .ic, .ic.c-compress { color: var(--c-compress); background: var(--c-compress-bg); }
.c-audio-tools .ic, .ic.c-audio-tools { color: var(--c-atools); background: var(--c-atools-bg); }
.c-video-tools .ic, .ic.c-video-tools { color: var(--c-vtools); background: var(--c-vtools-bg); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s; }
.ccard:hover { box-shadow: var(--shadow); }
.ccard-top { display: flex; gap: 14px; align-items: center; }
.ccard .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; flex: none; }
.ccard .ic svg { width: 26px; height: 26px; }
.ccard h3 { margin: 0; font: 800 21px/1.15 var(--display); letter-spacing: -0.015em; }
.ccard h3 a { color: var(--ink); text-decoration: none; }
.ccard h3 a:hover { color: var(--brand); }
.ccard .count { color: var(--muted); font-size: 14px; font-weight: 600; }
.ccard p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chips a { display: inline-block; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #FAFBFF; font-size: 14px; color: var(--ink-2); text-decoration: none; font-weight: 550; }
.chips a:hover { border-color: var(--brand); color: var(--brand-ink); background: #fff; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: h; padding: 0; margin: 0; }
.how li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; position: relative; box-shadow: var(--shadow-sm); }
.how ol { padding: 0; margin: 0; display: contents; }
.how .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); margin-bottom: 14px; }
.how .ic svg { width: 26px; height: 26px; }
.how li::after { counter-increment: h; content: counter(h); position: absolute; top: 18px; right: 22px; font: 800 44px/1 var(--display); color: #EEF0F8; }
.how strong { display: block; font: 800 20px/1.2 var(--display); margin-bottom: 4px; }
.how span { color: var(--muted); font-size: 15px; }

/* search */
.tool-search { position: relative; max-width: 560px; }
.tool-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.tool-search input { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px 14px 46px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-sm); min-height: 52px; }
.tool-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }
.hero .tool-search input { border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.search-empty { color: var(--muted); margin: 14px 0 0; }

/* ============ Article content ============ */
.content { padding: 48px 0 20px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.prose { max-width: var(--measure); }
.prose > h2 { font: 800 clamp(24px, 3vw, 31px)/1.15 var(--display); letter-spacing: -0.02em; margin: 46px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font: 700 20px/1.25 var(--display); margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose ul li::marker { color: var(--brand); }
.prose .steps, .steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.steps li { counter-increment: s; position: relative; margin: 0; padding: 16px 16px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--ink-2); font-size: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font: 800 16px/1 var(--display); }
.steps strong { color: var(--ink); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0; font-size: 15.5px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: #F3F4FB; font-family: var(--display); font-size: 16px; color: var(--ink); }
.compare tbody th { color: var(--muted); font-weight: 600; width: 30%; }
.table-scroll { overflow-x: auto; }
.callout { background: linear-gradient(135deg, #EEF0FF, #F6F1FF); border: 1px solid #DEDCFB; border-radius: var(--radius-lg); padding: 16px 18px; color: var(--ink); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 18px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #D6D3FA; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 32px 16px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 16px; }

/* sidebar */
.sidebar { position: sticky; top: 90px; display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 18px; box-shadow: var(--shadow-sm); }
.side-card h2 { font: 800 18px/1.2 var(--display); margin: 0 0 12px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.side-list a:hover { background: #F4F5FC; color: var(--brand-ink); }
.side-list .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex: none; }
.side-list .ic svg { width: 17px; height: 17px; }
.side-card.promo { background: linear-gradient(145deg, var(--hero-2), var(--hero-3)); color: #fff; border: 0; }
.side-card.promo h2 { color: #fff; }
.side-card.promo p { color: rgba(255,255,255,.82); margin: 0 0 14px; font-size: 15px; }
.side-card.promo a.btn { background: #fff; color: var(--ink); width: 100%; min-height: 46px; padding: 12px; }

.related { padding: 50px 0 10px; }

/* Ads */
.ad { display: grid; place-items: center; min-height: 100px; border-radius: 12px; }
.ad-band { margin: 34px 0; min-height: 90px; }
.ad-side { min-height: 600px; }

/* ============ Page (category / legal) ============ */
.page-hero { padding-bottom: 54px; }
.page { padding: 40px 0 60px; }
.page .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.page .updated { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.group { margin-bottom: 38px; }
.group h2 { display: flex; align-items: center; gap: 12px; font: 800 24px/1.2 var(--display); margin: 0 0 14px; letter-spacing: -0.015em; }
.group h2 .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.group h2 .ic svg { width: 21px; height: 21px; }
.group h2 a { color: var(--ink); text-decoration: none; }
.group h2 small { font: 600 14px var(--body); color: var(--muted); }

/* ============ Footer ============ */
.site-footer { background: #0B1430; color: #B9C2DB; padding: 54px 0 28px; margin-top: 70px; font-size: 15px; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--hero-2), var(--hero-3)); margin: -110px 0 44px; box-shadow: var(--shadow-lg); }
.foot-cta strong { display: block; color: #fff; font: 800 clamp(22px, 3vw, 28px)/1.15 var(--display); }
.foot-cta span { color: rgba(255,255,255,.8); }
.foot-cta .btn { background: #fff; color: var(--ink); }
.foot-cta .btn:hover { background: var(--amber); color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h2 { color: #fff; font: 700 16px/1.2 var(--display); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #B9C2DB; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; color: #8792B0; font-size: 14px; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .tool-layout, .no-ads .tool-layout, .content-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .aside-ad, .ad-side { display: none; }
  .sidebar { position: static; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { padding: 18px 0 54px; }
  .hero .lede { font-size: 17px; }
  .tool-card { padding: 16px; border-radius: 20px; }
  .drop { padding: 28px 14px; }
  .drop-text strong { display: block; margin: 0 auto 6px; }
  .go { width: 100%; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { flex-direction: column; gap: 8px; padding: 14px; }
  .feature span { display: none; }
  .feature .ic { width: 36px; height: 36px; }
  .features { margin-top: -30px; }
  .how { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust { gap: 8px 16px; font-size: 14px; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tcard { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .tcard span { display: none; }
  .tcard strong { font-size: 15.5px; }
}
