/* Background.ai: yellow + ink, "sticker" cards (ink outline + hard offset shadow) echoing the logo tile. */
:root {
  --yellow: #ffd60a;
  --yellow-deep: #f5c400;
  --yellow-soft: #fff6c7;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e9e9e4;
  --bg: #ffffff;
  --bg-2: #fbfaf5;
  --danger: #c62828;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -18px rgba(0, 0, 0, .22);
  --sticker: 4px 4px 0 var(--ink);
  --sticker-lg: 6px 6px 0 var(--ink);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -.03em; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: .85em 1.6em;
  transition: transform .15s var(--ease), background .15s ease, box-shadow .15s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-sticker { box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink); }
.btn-sticker:hover { transform: translate(-1px, -1px); box-shadow: inset 0 0 0 2px var(--ink), 5px 5px 0 var(--ink); }
.btn-sticker:active { transform: translate(2px, 2px); box-shadow: inset 0 0 0 2px var(--ink), 1px 1px 0 var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 1em 2em; }
.btn[disabled] { opacity: .6; cursor: progress; }

.card-sticker { border: 2px solid var(--ink); box-shadow: var(--sticker); border-radius: var(--radius); background: #fff; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .94rem; padding: 8px 14px; border-radius: 99px; transition: background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--yellow-soft); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: .6em 1.2em; font-size: .92rem; }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { height: 34px; width: auto; display: block; transition: transform .25s var(--ease); }
.logo:hover .logo-img { transform: rotate(-3deg) scale(1.03); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 56px 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 85% 10%, rgba(255, 214, 10, .35), transparent 70%),
    radial-gradient(500px 380px at 0% 100%, rgba(255, 214, 10, .18), transparent 70%),
    radial-gradient(circle, rgba(17, 17, 17, .09) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px 5px 6px; box-shadow: 2px 2px 0 var(--ink); }
.eyebrow-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.eyebrow-icon svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -.045em; margin: 22px 0 18px; font-weight: 800; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 32em; margin: 0 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: #14a04a; }

.hero-visual { position: relative; padding: 28px 18px; }
.hero-card { transform: rotate(1.5deg); border-radius: 24px; border: 2px solid var(--ink); box-shadow: var(--sticker-lg); overflow: hidden; background: #fff; }
.hero-card .compare { border-radius: 0; box-shadow: none; }
.hero-hint { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; margin: 18px 0 0; letter-spacing: .02em; }
.sticker {
  position: absolute; pointer-events: none; height: auto;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 10px 14px rgba(0, 0, 0, .22));
  animation: bob 6s ease-in-out infinite;
}
.sticker-a { width: 210px; left: -64px; bottom: 40px; --r: -10deg; transform: rotate(var(--r)); }
.sticker-b { width: 104px; right: -46px; top: -70px; --r: 9deg; transform: rotate(var(--r)); animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
.pill { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 6px 12px; font-size: .82rem; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
.pill svg { width: 15px; height: 15px; }
.pill-a { top: 58%; right: -30px; background: var(--yellow); transform: rotate(4deg); }
.pill-b { top: -2px; left: 70px; transform: rotate(-5deg); z-index: 2; }

/* ---------- Upload box ---------- */
.upload-card { background: #fff; border-radius: 24px; padding: 12px; border: 2px solid var(--ink); box-shadow: var(--sticker-lg); }
.dropzone {
  position: relative; border: 2px dashed #cfcfc8; border-radius: 16px; padding: 36px 24px; text-align: center;
  background: var(--bg-2); transition: border-color .15s, background .15s; cursor: pointer;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--ink); background: var(--yellow-soft); }
.dropzone.is-drag { transform: scale(.99); }
.dropzone:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.dropzone-icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 16px; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; transform: rotate(-4deg); transition: transform .2s var(--ease); }
.dropzone:hover .dropzone-icon { transform: rotate(4deg) translateY(-2px); }
.dropzone-icon svg { width: 26px; height: 26px; }
.dropzone h3 { margin: 0 0 4px; font-size: 1.2rem; }
.dropzone p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.dropzone .btn { margin-top: 16px; box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink); }
.dropzone kbd { font-family: inherit; font-size: .78rem; background: #fff; border: 1px solid #ddd; border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.upload-error { color: var(--danger); font-size: .92rem; margin: 10px 4px 2px; text-align: center; font-weight: 600; }
.upload-progress { padding: 50px 24px; text-align: center; }
.progress-bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 16px auto 0; max-width: 320px; border: 2px solid var(--ink); }
.progress-bar > div { height: 100%; background: var(--yellow); transition: width .2s ease; }
.samples { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 2px; font-size: .86rem; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.samples button { border: 2px solid var(--ink); padding: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden; width: 48px; height: 48px; transition: transform .15s var(--ease), box-shadow .15s; }
.samples button:nth-of-type(odd) { transform: rotate(-4deg); }
.samples button:nth-of-type(even) { transform: rotate(4deg); }
.samples button:hover, .samples button:focus-visible { transform: rotate(0) scale(1.1); box-shadow: 2px 2px 0 var(--ink); outline: none; }
.samples img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Checkerboard ---------- */
.checker {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #ececec 25%, transparent 25%), linear-gradient(-45deg, #ececec 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ececec 75%), linear-gradient(-45deg, transparent 75%, #ececec 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

/* ---------- Compare slider ---------- */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: var(--shadow); background: var(--bg-2); }
.compare img { width: 100%; height: auto; display: block; pointer-events: none; }
.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: contain; }
.compare-handle { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--ink); transform: translateX(-50%); }
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  display: grid; place-items: center; transition: transform .15s var(--ease);
}
.compare:active .compare-knob { transform: translate(-50%, -50%) scale(1.1); }
.compare-knob svg { width: 22px; height: 22px; }
.compare-tag { position: absolute; top: 14px; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--ink); border: 2px solid var(--ink); letter-spacing: .02em; }
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; background: var(--yellow); }
.compare:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-block: 2px solid var(--ink); transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; padding-block: 14px; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.ticker i { color: var(--yellow); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding-block: 96px; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; margin: 14px 0 14px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.kicker { display: inline-block; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 3px 12px; transform: rotate(-2deg); }

/* Examples */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 28px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 5px; width: max-content; max-width: 100%; box-shadow: 3px 3px 0 var(--ink); }
.tab { border: 0; background: none; padding: 9px 22px; border-radius: 99px; font-weight: 700; cursor: pointer; transition: background .15s; }
.tab:hover { background: var(--yellow-soft); }
.tab.on { background: var(--ink); color: #fff; }
.tab:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }
.examples { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; }
.examples-stage { overflow: hidden; border-radius: 24px; box-shadow: var(--sticker-lg); }
.examples-stage .compare { border-radius: 0; box-shadow: none; }
.examples-side { display: grid; gap: 18px; justify-items: start; }
.thumbs { display: flex; gap: 10px; }
.thumb { border: 2px solid var(--line); padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; width: 64px; height: 64px; background: none; transition: transform .15s var(--ease), border-color .15s; }
.thumb:hover { transform: translateY(-2px); }
.thumb.on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.example-note { width: 100%; padding: 24px; animation: pop .35s var(--ease); }
.example-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.example-note h3 { margin: 6px 0 8px; font-size: 1.25rem; }
.example-note p { margin: 0 0 16px; color: var(--ink-2); }
.example-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; font-weight: 600; }
.example-note li { display: flex; gap: 8px; align-items: center; }
.example-note svg { width: 18px; height: 18px; color: #14a04a; flex: none; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* Anywhere */
.anywhere { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.anywhere-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; margin: 14px 0 12px; }
.anywhere-copy p { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 24px; }
.chooser { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.swatch-lg { width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.swatch-lg:hover { transform: translateY(-2px) rotate(-4deg); }
.swatch-lg.on { box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px); }
.swatch-lg.checker { background-size: 12px 12px; background-position: 0 0, 0 6px, 6px -6px, -6px 0; }
.anywhere-canvas { position: relative; aspect-ratio: 1; border-radius: 26px; box-shadow: var(--sticker-lg); overflow: hidden; transition: background .4s ease; display: grid; place-items: end center; }
.anywhere-canvas img { width: 92%; height: 92%; object-fit: contain; object-position: bottom; animation: pop .45s var(--ease); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .18)); }
.canvas-label { position: absolute; left: 16px; top: 16px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 3px 12px; font-size: .78rem; font-weight: 800; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step:hover { transform: translate(-2px, -2px); box-shadow: var(--sticker-lg); }
.step:nth-child(2) { transform: translateY(14px); }
.step:nth-child(2):hover { transform: translate(-2px, 12px); }
.step-visual { height: 170px; border-bottom: 2px solid var(--ink); position: relative; display: grid; place-items: center; overflow: hidden; }
.sv-upload { background: var(--yellow-soft); }
.sv-drop { display: grid; place-items: center; gap: 6px; border: 2px dashed var(--ink); border-radius: 16px; padding: 18px 26px; font-weight: 700; font-size: .9rem; background: #fff; }
.sv-drop svg { width: 26px; height: 26px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-4px); } }
.sv-scan { background: #222; }
.sv-scan img { width: 100%; height: 100%; object-fit: cover; object-position: center 95%; opacity: .9; }
.sv-done img { height: 138px; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .22)); }
.sv-badge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: .8rem; }
.step-body { padding: 22px 24px 26px; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: .9rem; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-2); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; }
.bento-card { padding: 24px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.bento-card:hover { transform: translate(-2px, -2px); box-shadow: var(--sticker-lg); }
.bento-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.bento-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.bento-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.bento-icon svg { width: 20px; height: 20px; }
.bento-hero { grid-column: span 2; grid-row: span 2; background: var(--yellow); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.bento-hero h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.04em; max-width: 12em; }
.bento-hero p { max-width: 22em; color: #2b2b2b; }
.bento-hero img { width: 62%; max-width: 330px; align-self: flex-end; margin: 10px -6px -26px 0; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .25)); transition: transform .3s var(--ease); }
.bento-hero:hover img { transform: rotate(-3deg) translateY(-6px); }
.bento-dark { background: var(--ink); color: #fff; }
.bento-dark p { color: #cfcfcf; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; background: var(--yellow); color: var(--ink); padding: 3px 9px; border-radius: 99px; margin-left: 8px; vertical-align: middle; letter-spacing: .02em; }

/* Use cases */
.usecases-wrap { margin-top: 72px; }
.usecases-title { text-align: center; font-size: 1.5rem; margin: 0 0 22px; }
.usecases { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip { padding: 9px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--line); font-weight: 650; font-size: .94rem; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, transform .15s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.chip.on { background: var(--yellow); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.usecase-panel { max-width: 620px; margin: 26px auto 0; text-align: center; }
.usecase-panel p { margin: 0 0 18px; color: var(--ink-2); font-size: 1.08rem; min-height: 3.3em; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan { padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--yellow-soft); box-shadow: 8px 8px 0 var(--ink); transform: translateY(-8px); }
.plan-flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: var(--ink); color: var(--yellow); font-weight: 800; font-size: .78rem; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .desc { color: var(--muted); margin: 0 0 20px; font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #14a04a; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 2px solid var(--ink); border-radius: 16px; padding: 18px 22px; background: #fff; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--sticker); background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; font-weight: 800; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA */
.cta-wrap { padding-block: 40px 96px; }
.cta { position: relative; background: var(--yellow); border-radius: 32px; padding: 64px 48px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(17, 17, 17, .12) 1.2px, transparent 1.4px) 0 0 / 20px 20px; pointer-events: none; }
.cta-copy { position: relative; max-width: 560px; }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.045em; margin: 0 0 12px; line-height: 1.05; }
.cta p { margin: 0 0 28px; font-size: 1.12rem; color: #2b2b2b; }
.cta-tiger, .cta-puppy { position: absolute; bottom: -12px; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .25)); transition: transform .35s var(--ease); }
.cta-tiger { right: 220px; width: 150px; transform: rotate(-6deg); }
.cta-puppy { right: 24px; width: 230px; transform: rotate(5deg); }
.cta:hover .cta-tiger { transform: rotate(-2deg) translateY(-8px); }
.cta:hover .cta-puppy { transform: rotate(2deg) translateY(-6px); }

/* Footer */
.footer { background: var(--ink); color: #bdbdbd; padding-block: 56px 32px; font-size: .94rem; }
.footer .logo-img { height: 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid #2c2c2c; }
.footer-brand p { max-width: 26em; margin: 16px 0 0; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { color: #fff; margin: 0 0 12px; font-size: .92rem; }
.footer-cols a { display: block; text-decoration: none; padding: 4px 0; transition: color .15s; }
.footer-cols a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .86rem; }
.footer-heart { color: var(--yellow); }

/* ---------- Upload/result page ---------- */
.result-page { padding-block: 40px 40px; }
.result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.result-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; letter-spacing: -.04em; }
.result-head p { margin: 6px 0 0; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.stage { max-width: 100%; }
.stage .compare { border: 2px solid var(--ink); box-shadow: var(--sticker-lg); }
.panel { border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; background: #fff; display: grid; gap: 12px; position: sticky; top: 92px; box-shadow: var(--sticker); }
.panel h2 { font-size: 1.05rem; margin: 0 0 4px; }
.panel .meta { font-size: .88rem; color: var(--muted); }
.panel .btn { width: 100%; }
.panel .btn-primary { box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 var(--ink); }
.panel hr { border: 0; border-top: 2px dashed var(--line); margin: 6px 0; width: 100%; }
.bg-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s var(--ease); }
.swatch:hover { transform: rotate(-6deg); }
.swatch.on { box-shadow: 2px 2px 0 var(--ink); transform: translate(-1px, -1px); }
.swatch.checker { background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; }

.processing { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); box-shadow: var(--sticker-lg); background: var(--bg-2); }
.processing img { width: 100%; height: auto; filter: saturate(.85); }
.scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, rgba(255, 214, 10, 0) 0%, rgba(255, 214, 10, .55) 85%, var(--yellow) 100%); animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
.processing-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: .92rem; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(90deg, #f2f2f2 25%, #fafafa 50%, #f2f2f2 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.error-box { border: 2px solid var(--ink); background: #fff6f6; border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--sticker); }
.error-box h2 { margin: 0 0 8px; }
.error-box p { color: var(--ink-2); margin: 0 0 20px; }
.error-box .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.again { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sticker-a { left: -20px; width: 170px; }
  .pill-a { right: -6px; }
}
@media (max-width: 960px) {
  .hero-grid, .result-grid, .anywhere, .faq-grid, .examples { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .panel { position: static; }
  .examples-side { justify-items: stretch; }
  .cta-tiger { display: none; }
  .cta-puppy { width: 170px; opacity: .95; }
  .plan.featured { transform: none; }
}
@media (max-width: 640px) {
  .steps, .pricing, .bento { grid-template-columns: 1fr; }
  .bento-hero { grid-column: auto; grid-row: auto; }
  .hero { padding-block: 32px 64px; }
  section.block { padding-block: 72px; }
  .dropzone { padding: 28px 14px; }
  .nav-actions .btn-ghost { display: none; }
  .sticker-a { width: 120px; left: -6px; bottom: 30px; }
  .sticker-b { width: 80px; right: -4px; }
  .pill-a, .pill-b { font-size: .74rem; }
  .pill-a { right: 0; }
  .pill-b { left: 0; }
  .cta { padding: 44px 22px 160px; border-radius: 24px; }
  .cta-puppy { width: 150px; right: 50%; transform: translateX(50%) rotate(4deg); }
  .cta:hover .cta-puppy { transform: translateX(50%) rotate(2deg); }
  .footer-cols { gap: 40px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
