/* Pixmoo — spacing scale: 4 8 12 16 24 32 48 64 96 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --card: #ffffff;
  --ink: #0a0f1c;
  --ink-2: #4a5468;
  --muted: #8a94a6;
  --line: #e8ebf0;
  --line-2: #d9dee7;
  --brand: #2f5bff;
  --brand-d: #1f47e6;
  --brand-soft: #eef2ff;
  --green: #10b37a;
  --checker: #eef0f4;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 20px;
  --wrap: 1160px;
  --sh-sm: 0 1px 2px rgba(10, 15, 28, .06);
  --sh: 0 1px 2px rgba(10, 15, 28, .04), 0 4px 12px rgba(10, 15, 28, .05), 0 24px 48px -16px rgba(10, 15, 28, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
svg.i { width: 18px; height: 18px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
h1, h2, h3 { font-family: var(--display); }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 18px var(--display); letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: url(/assets/favicon.svg) center/cover no-repeat; flex: none; }
.links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.links a { transition: color .15s; }
.links a:hover { color: var(--ink); }
.cta-sm { margin-left: auto; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); transition: opacity .15s; }
.cta-sm:hover { opacity: .85; }
@media (max-width: 760px) { .links { display: none; } .nav { padding: 0 16px; } }

main { padding-bottom: 32px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0 32px; }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 4px 12px 4px 8px; border: 1px solid var(--line); border-radius: 99px; margin-bottom: 24px; background: var(--card); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 460px; margin: 0 0 32px; }

.drop { max-width: 460px; }
.drop-inner { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 8px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--card); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.drop-inner:hover, .drop.over .drop-inner { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.upload-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font: 600 16px var(--font); padding: 14px 24px; border-radius: var(--r); border: 0; cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(10, 15, 28, .2), 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); transition: background .15s, transform .15s var(--ease); }
.upload-btn:hover { background: var(--brand-d); }
.upload-btn:active { transform: scale(.98); }
.drop-text { font-size: 14px; color: var(--muted); }
kbd { font: 500 11px var(--font); padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; color: var(--ink-2); background: var(--bg-2); }
@media (max-width: 480px) { .drop-inner { flex-direction: column; padding: 16px; } .upload-btn { width: 100%; } }

.samples { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.samples > span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.sample { width: 40px; height: 40px; border-radius: var(--r-sm); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.sample:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--brand); }
.sample img { width: 100%; height: 100%; object-fit: cover; display: block; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 460px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.trust svg { width: 16px; height: 16px; color: var(--green); stroke-width: 2.5; }

/* Before / after */
.hero-visual { position: relative; }
.compare { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); cursor: ew-resize; user-select: none; touch-action: none; outline: 1px solid var(--line); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.c-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.c-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.c-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #0a0f1c; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.compare:not(.touched) { animation: sweep 6s ease-in-out 1s infinite; }
@keyframes sweep { 0%, 100% { --pos: 50%; } 30% { --pos: 22%; } 70% { --pos: 78%; } }
@media (prefers-reduced-motion: reduce) { .compare:not(.touched) { animation: none; } }
.c-tag { position: absolute; top: 16px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(10, 15, 28, .6); color: #fff; backdrop-filter: blur(8px); }
.c-tag-l { left: 16px; } .c-tag-r { right: 16px; }
.demo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 16px auto 0; padding: 4px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.chip { border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: 99px; cursor: pointer; }
.chip.active { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; } .hero-visual { max-width: 520px; } }

/* Transparency grid: always light and low-contrast, in both themes */
.checker { background-color: #fff; background-image: conic-gradient(#eceef2 25%, transparent 0 50%, #eceef2 0 75%, transparent 0); background-size: 14px 14px; }

/* Editor */
.editor { display: none; padding: 32px 0 0; }
.editor.show { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 16px; }
@media (max-width: 920px) { .editor-grid { grid-template-columns: 1fr; } }
.card, .canvas-card, .side { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); }
.canvas-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.canvas-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.group { display: flex; gap: 4px; }
.ibtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; background: transparent; color: var(--ink-2); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.ibtn svg { width: 16px; height: 16px; }
.ibtn:hover { background: var(--bg-2); color: var(--ink); }
.ibtn:disabled { opacity: .35; cursor: default; background: transparent; }
.stage { position: relative; flex: 1; min-height: 480px; display: flex; align-items: center; justify-content: center; padding: 32px; background: var(--bg-2); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; }
.frame { position: relative; line-height: 0; overflow: hidden; border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(10, 15, 28, .3); transition: transform .4s var(--ease); }
#out { display: block; max-width: 100%; max-height: 66vh; touch-action: none; transition: filter .5s var(--ease); }
#cursor { position: fixed; pointer-events: none; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5); border-radius: 50%; transform: translate(-50%, -50%); display: none; z-index: 30; }

/* Processing animation */
.frame.busy #out { filter: saturate(.4) brightness(.92) blur(1px); }
.frame.busy { transform: scale(.985); }
.scan { position: absolute; inset: 0; display: none; pointer-events: none; overflow: hidden; }
.scan.show { display: block; }
.scan::before { content: ""; position: absolute; inset: -50%; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); animation: shimmer 1.8s linear infinite; }
.scan::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px); background-size: 14px 14px; animation: dots 2.4s ease-in-out infinite; }
@keyframes shimmer { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
@keyframes dots { 0%, 100% { opacity: .15; } 50% { opacity: .5; } }

.status { position: absolute; left: 50%; bottom: 24px; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; display: flex; flex-direction: column; gap: 8px; width: 260px; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(12px); box-shadow: var(--sh); border: 1px solid var(--line); transition: opacity .25s, transform .25s var(--ease); }
.status.show { opacity: 1; transform: translate(-50%, 0); }
.st-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--brand); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track { position: relative; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--brand); transition: width .3s var(--ease); }
.status.indeterminate .track i { width: 35% !important; animation: indet 1.2s var(--ease) infinite; }
@keyframes indet { from { left: -35%; } to { left: 100%; } }

/* Reveal: original wipes away left-to-right */
#ghost { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.wipe { position: absolute; top: 0; bottom: 0; width: 3px; left: 0; display: none; pointer-events: none; background: #fff; box-shadow: 0 0 16px 4px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 2px #fff; }
.frame.reveal #ghost { display: block; animation: wipeImg 1.1s var(--ease) forwards; }
.frame.reveal .wipe { display: block; animation: wipeLine 1.1s var(--ease) forwards; }
@keyframes wipeImg { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes wipeLine { from { left: 0; opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scan::before, .scan::after, .frame.reveal #ghost, .frame.reveal .wipe { animation: none; display: none; } }

/* Side panel */
.side { display: flex; flex-direction: column; align-self: start; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; margin: 12px 12px 4px; background: var(--bg-2); border-radius: 10px; }
.tab { border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; padding: 6px; border-radius: 7px; cursor: pointer; transition: color .15s; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm), 0 0 0 1px var(--line); }
.pane { display: none; padding: 12px 16px 16px; flex-direction: column; gap: 20px; }
.pane.active { display: flex; }
.label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.tool svg { width: 16px; height: 16px; color: var(--ink-2); }
.tool:hover { border-color: var(--line-2); background: var(--bg-2); }
.tool.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.tool.active svg { color: var(--brand); }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; }
.slider output { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--brand); margin: 0; }
.hint { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; padding: 12px; background: var(--bg-2); border-radius: var(--r-sm); }
.wide { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.wide svg { width: 16px; height: 16px; color: var(--ink-2); }
.wide:hover { border-color: var(--line-2); background: var(--bg-2); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sw { aspect-ratio: 1; border-radius: var(--r-sm); border: 0; box-shadow: inset 0 0 0 1px rgba(10, 15, 28, .1); cursor: pointer; padding: 0; position: relative; display: grid; place-items: center; color: var(--ink-2); background-color: var(--card); transition: transform .15s var(--ease); }
.sw:hover { transform: scale(1.06); }
.sw.checker { background-size: 8px 8px; }
.sw.active { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--brand); }
.sw input[type=color] { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.sw svg { width: 16px; height: 16px; }
select { width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 14px var(--font); }
.actions { padding: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
.dl { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; border-radius: var(--r-sm); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); transition: background .15s; }
.dl:hover { background: var(--brand-d); }
.dl:disabled { opacity: .5; cursor: default; }
.sq { height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: var(--r-sm); cursor: pointer; }
.sq:hover { background: var(--bg-2); color: var(--ink); }
.meta { font-size: 12px; color: var(--muted); padding: 0 16px 16px; font-variant-numeric: tabular-nums; }

/* Sections */
section.block { padding: 112px 0 0; }
.sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.sec-head .kicker { display: block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; margin: 0 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { padding: 32px; border-right: 1px solid var(--line); background: var(--card); }
.step:last-child { border-right: 0; }
.num { font: 600 13px var(--font); color: var(--brand); margin-bottom: 32px; }
.num::before { content: "Step "; }
.step h3, .feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.step p, .feature p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.feature { padding: 0; }
.ficon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--sh-sm); }
.ficon svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 32px; } }

.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; }
.uses span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--card); }

.prose-block { max-width: 720px; margin: 0 auto; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose-block p { margin: 0 0 16px; }
.prose-block h3 { color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 32px 0 8px; }
.prose-block a, .prose a { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.prose-block a:hover, .prose a:hover { text-decoration-color: var(--brand); }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.post-card:hover { border-color: var(--line-2); box-shadow: var(--sh); transform: translateY(-2px); }
.post-card .tag { font-size: 12px; font-weight: 600; color: var(--brand); }
.post-card h3 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.post-card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.post-card .more { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.post-card:hover .more { color: var(--brand); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.center { text-align: center; margin-top: 32px; }
.btn-line { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 500; font-size: 14px; background: var(--card); box-shadow: var(--sh-sm); }
.btn-line:hover { background: var(--bg-2); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details p { color: var(--ink-2); margin: 12px 0 0; font-size: 15px; line-height: 1.65; padding-right: 32px; }

/* CTA band */
.band { margin-top: 112px; background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent); pointer-events: none; }
.band > * { position: relative; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; margin: 0; }
.band p { margin: 8px 0 0; opacity: .7; }
@media (max-width: 640px) { .band { padding: 40px 24px; } }

/* Footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); }
.foot { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 12px; }
.foot p { color: var(--ink-2); font-size: 14px; margin: 0; max-width: 300px; }
.foot h4 { font-size: 13px; font-weight: 600; margin: 4px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.foot ul a:hover { color: var(--ink); }
.legal { max-width: var(--wrap); margin: 0 auto; padding: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } .legal { flex-direction: column; gap: 4px; } }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; transition: opacity .25s, transform .25s var(--ease); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; z-index: 50; pointer-events: none; max-width: calc(100% - 32px); box-shadow: var(--sh); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Blog & article */
.page-head { text-align: center; padding: 72px 0 48px; }
.page-head .kicker { display: block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; margin: 0 0 12px; }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 520px; margin: 0 auto; }

.article { padding-top: 48px; }
.art-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.article h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; margin: 0 0 16px; }
.byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--muted); font-size: 14px; }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; justify-content: center; }
.art-grid > * { min-width: 0; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc strong { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); font-size: 13px; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); line-height: 1.45; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
@media (max-width: 960px) { .art-grid { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; } }

.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > p:first-child { font-size: 19px; line-height: 1.65; color: var(--ink); }
.prose p { margin: 0 0 20px; }
.prose h2 { color: var(--ink); font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -.03em; margin: 56px 0 16px; scroll-margin-top: 96px; }
.prose h3 { color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 32px 0 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 20px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--muted); }
.prose code { font-size: .88em; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; font-size: 13px; border-bottom-color: var(--line-2); }
.tip, .prose blockquote { margin: 24px 0; padding: 16px 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-size: 15px; line-height: 1.6; }
.prose details { padding: 16px 0; }
.cta-box { margin: 56px 0; padding: 40px; text-align: center; background: var(--ink); color: var(--bg); border-radius: var(--r-lg); }
.cta-box h2 { color: var(--bg); margin: 0 0 8px; font-size: 24px; }
.cta-box p { opacity: .7; margin: 0 0 24px; font-size: 15px; color: var(--bg); }
.cta-box .upload-btn { text-decoration: none; color: #fff; }
.related { margin-top: 96px; }

.static { max-width: 720px; margin: 0 auto; }

/* Floating refine toolbar */
.stage { flex-direction: column; gap: 20px; }
.dock { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); z-index: 2; flex-wrap: wrap; justify-content: center; }
.dock .tool { border: 0; padding: 0 12px; height: 36px; background: transparent; flex-direction: row; }
.dock .tool:hover { background: var(--bg-2); }
.dock .tool.active { background: var(--brand); color: #fff; }
.dock .tool.active svg { color: #fff; }
.dock-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.dock-size { display: flex; align-items: center; gap: 8px; padding: 0 8px; height: 36px; }
.dock-size input { width: 96px; accent-color: var(--brand); }
.dot-prev { width: 20px; height: 20px; display: grid; place-items: center; }
.dot-prev::before { content: ""; width: var(--dot, 8px); height: var(--dot, 8px); border-radius: 50%; background: var(--ink-2); }
@media (max-width: 560px) { .dock .tool span { display: none; } .dock-size input { width: 72px; } }

/* Brush cursor tinted by tool */
#cursor.erase { border-color: #fff; background: rgba(239, 68, 68, .18); }
#cursor.restore { border-color: #fff; background: rgba(16, 179, 122, .2); }

@media (max-width: 560px) {
  .demo-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .demo-chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; padding: 6px 12px; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
}

/* Tighter vertical rhythm for the sections below the hero */
section.block { padding-top: 72px; }
.sec-head { margin-bottom: 32px; }
.sec-head .kicker { margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.sec-head p { font-size: 16px; }
.step { padding: 24px; }
.num { margin-bottom: 16px; }
.features { gap: 32px 40px; }
.prose-block h3 { margin-top: 24px; }
.band { margin-top: 72px; padding: 48px; }
.band h2 { font-size: clamp(24px, 2.8vw, 32px); }
footer { margin-top: 64px; }
@media (max-width: 640px) {
  section.block { padding-top: 56px; }
  .sec-head { margin-bottom: 24px; }
  .band { padding: 32px 24px; margin-top: 56px; }
  footer { margin-top: 48px; }
}

/* ---------- Tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.tool-card:hover { border-color: var(--line-2); box-shadow: var(--sh); transform: translateY(-2px); }
.tc-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
.tc-icon svg { width: 20px; height: 20px; }
.tool-card h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.tool-card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.tool-head { text-align: center; padding: 48px 0 32px; max-width: 680px; margin: 0 auto; }
.tool-head h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; margin: 0 0 12px; }
.tool-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.tool-app { max-width: 980px; margin: 0 auto; }
.tdrop { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.tdrop:hover, .tdrop.over { border-color: var(--brand); background: var(--brand-soft); }
.tool-text { max-width: 720px; margin: 64px auto 0; }

.panel { margin-top: 16px; padding: 24px; }
.ctrls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.fld input, .fld select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 500 14px var(--font); color: var(--ink); background: var(--card); min-width: 120px; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.fld-wide { min-width: 240px; flex: 1; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); height: 40px; cursor: pointer; }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.pcts { display: flex; gap: 4px; }
.pcts .chip { border: 1px solid var(--line); background: var(--card); }
.pcts .chip:hover { border-color: var(--line-2); }
#list { display: flex; flex-direction: column; }
.r-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.r-row img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-2); flex: none; }
.r-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.r-meta b { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-out { color: var(--ink-2); font-weight: 500; }
.r-out.good { color: var(--green); }
.btn-sm { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.btn-sm:hover { border-color: var(--brand); color: var(--brand); }
.row-actions { display: flex; gap: 8px; padding-top: 20px; }
.row-actions .dl { padding: 0 20px; }
.row-actions .btn-line { cursor: pointer; }

/* Passport */
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
@media (max-width: 860px) { .pp-grid { grid-template-columns: 1fr; } }
.pp-stage { padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: var(--bg-2); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; }
.pp-frame { position: relative; line-height: 0; box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(10, 15, 28, .3); }
#pv { height: min(420px, 60vh); width: auto; max-width: 100%; cursor: grab; touch-action: none; display: block; }
#pv:active { cursor: grabbing; }
.pp-guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: rgba(47, 91, 255, .8); stroke-width: .5; stroke-dasharray: 2 1.5; vector-effect: non-scaling-stroke; }
.pp-guide ellipse, .pp-guide line { vector-effect: non-scaling-stroke; stroke-width: 1.5; }
.no-guides .pp-guide { display: none; }
.pp-stage.busy #pv { filter: saturate(.4) blur(1px); }
.pp-frame .status { width: 220px; bottom: 16px; }
.pp-tip { margin: 0; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; }
.pp-side { padding: 20px; display: flex; flex-direction: column; gap: 20px; align-self: start; }
.pp-side .swatches { grid-template-columns: repeat(6, 1fr); }
.meta-sm { font-size: 12px; color: var(--muted); margin-top: 6px; }
.pp-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.pp-actions .btn-line { justify-content: center; height: 44px; cursor: pointer; }
.pp-actions .ibtn { justify-content: center; }

/* Watermark remover */
.wm-frame { max-width: 100%; }
#wm { display: block; max-width: 100%; max-height: 64vh; }
#wm-ov { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: none; }
.wm-cursor { position: fixed; pointer-events: none; display: none; z-index: 30; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5); background: rgba(255, 60, 90, .2); transform: translate(-50%, -50%); }
.wm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wm-row .btn-line { justify-content: center; cursor: pointer; }
.wm-row .btn-line:disabled, .dl:disabled { opacity: .45; cursor: default; }
.wm-sep { height: 1px; background: var(--line); }
.pp-side .dl { width: 100%; }
.pp-stage.busy #wm { filter: saturate(.5) blur(1px); transition: filter .3s; }

/* ---------- Polish ---------- */
/* Soft brand glow + fading grid behind the hero */
main { position: relative; }
main:not(.wrap)::before { content: ""; position: absolute; inset: -64px 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 360px at 78% 30%, rgba(47, 91, 255, .10), transparent 70%),
    radial-gradient(520px 320px at 12% 10%, rgba(16, 179, 122, .07), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(#000 30%, transparent);
          mask-image: linear-gradient(#000 30%, transparent); opacity: .9; }
.hero h1 em { background: linear-gradient(90deg, #2f5bff, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(8px); }
.stats div { padding: 20px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stats div:last-child { border-right: 0; }
.stats b { font: 700 28px var(--display); letter-spacing: -.03em; }
.stats span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats b { font-size: 22px; } }

/* Tool cards: a colour per tool, badge, arrow */
.tool-card { position: relative; overflow: hidden; }
.tool-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--tc, var(--brand)); opacity: .06; transition: opacity .25s, transform .4s var(--ease); }
.tool-card:hover::after { opacity: .12; transform: scale(1.3); }
.tool-card .tc-icon { background: color-mix(in srgb, var(--tc, var(--brand)) 12%, transparent); color: var(--tc, var(--brand)); }
.tc-bg { --tc: #2f5bff; } .tc-id { --tc: #10b37a; } .tc-eraser { --tc: #e5484d; }
.tc-resize { --tc: #f08c00; } .tc-compress { --tc: #7a5cff; } .tc-convert { --tc: #0ea5e9; }
.tc-badge { position: absolute; top: 20px; right: 20px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; }
.tc-go { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--tc, var(--brand)); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); }
.tool-card:hover .tc-go { opacity: 1; transform: none; }
@media (hover: none) { .tc-go { opacity: 1; transform: none; } }

/* Feature icons pick up a little colour too */
.feature:nth-child(1) .ficon { color: #2f5bff; } .feature:nth-child(2) .ficon { color: #10b37a; }
.feature:nth-child(3) .ficon { color: #7a5cff; } .feature:nth-child(4) .ficon { color: #f08c00; }
.feature:nth-child(5) .ficon { color: #e5484d; } .feature:nth-child(6) .ficon { color: #0ea5e9; }

/* Steps get a subtle hover */
.step { transition: background .2s; }
.step:hover { background: var(--bg-2); }

/* Covers + related-tool CTA */
.post-card { padding: 0; overflow: hidden; }
.post-card > :not(.pc-img) { margin-left: 24px; margin-right: 24px; }
.post-card .tag { margin-top: 16px; }
.post-card .more { margin-bottom: 24px; }
.pc-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform .4s var(--ease); }
.post-card:hover .pc-img { transform: scale(1.02); }
.art-cover { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto 48px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh); }
.tool-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; text-align: left; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); padding: 28px; }
.tool-cta h2 { color: var(--ink); font-size: 20px; margin: 0 0 4px; }
.tool-cta p { color: var(--ink-2); opacity: 1; margin: 0; font-size: 14px; }
.tool-cta .tc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc, var(--brand)) 14%, transparent); color: var(--tc, var(--brand)); }
.tool-cta .tc-icon svg { width: 24px; height: 24px; }
.tool-cta .upload-btn { font-size: 14px; padding: 12px 18px; }
@media (max-width: 640px) { .tool-cta { grid-template-columns: 1fr; } }

/* Segmented control */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; background: var(--bg-2); border-radius: 10px; }
.seg button { border: 0; background: transparent; padding: 8px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.seg button.active { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm), 0 0 0 1px var(--line); }
#wm-ov { cursor: crosshair; }
.wm-frame .status { width: 240px; bottom: 16px; }

/* ---------- Tools dropdown ---------- */
.nav { gap: 32px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; margin: 0 -10px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; border-radius: var(--r-sm); }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.dd:hover .dd-btn, .dd.open .dd-btn { color: var(--ink); }
.dd:hover .dd-btn svg, .dd.open .dd-btn svg { transform: rotate(180deg); }
/* The ::before bridges the gap so the menu doesn't close while the pointer moves down. */
.dd-menu { position: absolute; top: 100%; left: -16px; margin-top: 12px; width: 620px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 64px -16px rgba(10, 15, 28, .25), var(--sh-sm);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; z-index: 40; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd:hover .dd-menu, .dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 10px; transition: background .15s; }
.dd-item:hover { background: var(--bg-2); }
.dd-item .tc-icon { width: 36px; height: 36px; flex: none; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc, var(--brand)) 12%, transparent); color: var(--tc, var(--brand)); }
.dd-item .tc-icon svg { width: 18px; height: 18px; }
.dd-item b { font-size: 14px; font-weight: 600; color: var(--ink); }
.dd-item em { font-style: normal; font-size: 10px; font-weight: 700; margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: var(--ink); color: #fff; vertical-align: 2px; }
.dd-item small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.dd-all { display: block; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--brand); text-align: center; }
@media (max-width: 760px) {
  .dd { position: static; }
  .dd-menu { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; margin-top: 0; max-height: calc(100vh - 88px); overflow: auto; }
  .dd-grid { grid-template-columns: 1fr; }
  .dd-item small { display: none; }
}

/* Tool card image + tool page example preview */
.tool-card { padding: 0; }
.tool-card > :not(.tc-img):not(.tc-badge) { margin-left: 24px; margin-right: 24px; }
.tool-card .tc-icon { margin-top: -20px; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--card); background: color-mix(in srgb, var(--tc, var(--brand)) 12%, var(--card)); }
.tool-card .tc-go { margin-bottom: 24px; }
.tc-img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 378; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform .4s var(--ease); }
.tool-card:hover .tc-img { transform: scale(1.02); }
.tool-card::after { display: none; }
.tool-preview { max-width: 980px; margin: 32px auto 0; }
.tool-preview img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh); }
.tool-preview figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* Elements with the hidden attribute stay hidden even when a class sets display. */
[hidden] { display: none !important; }
.tool-card .tc-badge { display: none; }  /* the thumbnail already carries the AI chip */

/* ---------- Mobile menu (hamburger) ---------- */
.links { margin-left: auto; }
.burger { display: none; }
.mnav { display: none; }
@media (max-width: 760px) {
  .dd { display: none; }
  .burger { display: grid; place-content: center; gap: 5px; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; order: 3; }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* header has backdrop-filter, so fixed children size against it: give an explicit height */
  .mnav { display: block; position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px); z-index: 30; background: rgba(10, 15, 28, .35); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .menu-open .mnav { opacity: 1; visibility: visible; }
  .menu-open, .menu-open body { overflow: hidden; }
  .mnav-in { max-height: 100%; overflow: auto; padding: 8px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgba(10, 15, 28, .3); transform: translateY(-8px); transition: transform .25s var(--ease); }
  .menu-open .mnav-in { transform: none; }
  .m-h { margin: 16px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .m-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; }
  .m-item b { font-weight: 600; color: var(--ink); line-height: 1.25; }
  .m-item em { font-style: normal; font-size: 10px; font-weight: 700; margin-left: auto; padding: 1px 6px; border-radius: 99px; background: var(--ink); color: var(--bg); }
  .m-item .tc-icon { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc, var(--brand)) 12%, transparent); color: var(--tc, var(--brand)); }
  .m-item .tc-icon svg { width: 18px; height: 18px; }
  .m-links { display: grid; grid-template-columns: 1fr 1fr; }
  .m-links a { padding: 12px 4px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .m-cta { display: block; margin-top: 20px; padding: 14px; border-radius: 12px; background: var(--brand); color: #fff; text-align: center; font-weight: 600; }
}

/* Wordmark matches the brand logo: lowercase, heavier, slightly larger mark */
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.03em; gap: 10px; }
.brand .logo { width: 30px; height: 30px; }
