/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #faf8f3;
  --bg-alt: #f1ede3;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #55504a;
  --border: #e3ddd0;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-soft: #fdece0;
  --teal: #0f6e66;
  --teal-soft: #e2f2ef;
  --danger: #c1121f;
  --danger-soft: #fbe4e4;
  --ok: #1b8a5a;
  --ok-soft: #e3f5ec;
  --warn: #b5790a;
  --warn-soft: #fcefd9;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 3px rgba(28,26,23,.08);
  --shadow-m: 0 8px 28px rgba(28,26,23,.10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171512;
    --bg-alt: #201d19;
    --surface: #211e1a;
    --ink: #f3efe6;
    --ink-soft: #b9b1a4;
    --border: #38332c;
    --accent: #ff8a3d;
    --accent-ink: #1c1204;
    --accent-soft: #382415;
    --teal: #4fd6c7;
    --teal-soft: #103330;
    --danger: #ff6b6b;
    --danger-soft: #3a1616;
    --ok: #59d69a;
    --ok-soft: #123326;
    --warn: #f2b544;
    --warn-soft: #3a2c0c;
    --shadow-s: 0 1px 3px rgba(0,0,0,.3);
    --shadow-m: 0 8px 28px rgba(0,0,0,.4);
  }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.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-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: var(--bg); z-index: 9999; border-radius: 8px; font-weight: 600; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 1rem; }
.section { padding-block: 3.2rem; }
.section--tight { padding-block: 1.6rem; }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; padding: .45rem .8rem; border-radius: 999px; }
.badge--privacy { background: var(--teal-soft); color: var(--teal); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }

/* =============================================================
   4. Header / nav
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: .68rem; font-weight: 700; flex: none; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.4rem; align-items: center; }
.main-nav a { font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: color .2s var(--ease-out); }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); }
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: .6rem 0 1rem; }
.mobile-nav a { display: block; padding: .55rem 1.25rem; font-weight: 600; }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* =============================================================
   5. Buttons & form controls
   ============================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .96rem; transition: transform .18s var(--ease-out), background .18s var(--ease-out), box-shadow .18s var(--ease-out); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-s); }
.btn--primary:hover { box-shadow: var(--shadow-m); }
.btn--secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn--ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--border); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.field input[type="text"], .field input[type="url"], .field input[type="password"], .field select, .field textarea {
  padding: .7rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-hint { font-size: .78rem; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 540px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }

.color-field { display: flex; align-items: center; gap: .6rem; }
.color-field input[type="color"] { width: 42px; height: 42px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: none; cursor: pointer; }
.color-field span { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); }

.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .86rem; font-weight: 600; color: var(--ink-soft); transition: all .16s var(--ease-out); }
.pill:hover { border-color: var(--accent); color: var(--ink); }
.pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.tab-group { display: flex; gap: .4rem; border-bottom: 1px solid var(--border); margin-bottom: 1.1rem; }
.tab { padding: .6rem .3rem; font-weight: 700; font-size: .92rem; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--ink); border-color: var(--accent); }

/* =============================================================
   6. Cards & tool shell
   ============================================================= */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.tool-shell { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 960px) { .tool-shell { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.tool-card { padding: 1.4rem; }
@media (min-width: 640px) { .tool-card { padding: 1.9rem; } }

.dropzone { border: 2px dashed var(--border); border-radius: var(--radius-m); padding: 2rem 1.2rem; text-align: center; cursor: pointer; transition: border-color .2s var(--ease-out), background .2s var(--ease-out); }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { width: 38px; height: 38px; margin: 0 auto .7rem; color: var(--ink-soft); }
.dropzone strong { display: block; margin-bottom: .25rem; }
.dropzone small { color: var(--ink-soft); }

.file-row { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: .6rem; background: var(--bg-alt); }
.file-row__thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; background: var(--surface); border: 1px solid var(--border); }
.file-row__meta { flex: 1; min-width: 0; }
.file-row__name { font-weight: 600; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row__size { font-size: .76rem; color: var(--ink-soft); }
.file-row__progress { height: 4px; background: var(--border); border-radius: 999px; margin-top: .35rem; overflow: hidden; }
.file-row__progress i { display: block; height: 100%; background: var(--accent); width: 0%; transition: width .2s var(--ease-out); }
.file-row__remove { flex: none; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-soft); }
.file-row__remove:hover { background: var(--bg); color: var(--danger); }

[data-state] .state-idle, [data-state] .state-loading-engine, [data-state] .state-working, [data-state] .state-done, [data-state] .state-error { display: none; }
[data-state="idle"] .state-idle,
[data-state="loading-engine"] .state-loading-engine,
[data-state="working"] .state-working,
[data-state="done"] .state-done,
[data-state="error"] .state-error { display: block; }

.progress-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin-block: .8rem; }
.progress-bar i { display: block; height: 100%; width: 8%; background: var(--accent); border-radius: 999px; transition: width .25s var(--ease-out); }
.progress-bar.is-indeterminate i { width: 40%; animation: barSlide 1.1s ease-in-out infinite; }
@keyframes barSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.loading-line { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .9rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.result-box { text-align: center; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--bg-alt); }
.result-box__stat { font-size: .92rem; color: var(--ink-soft); margin-bottom: .9rem; }
.result-box__stat strong { color: var(--ok); }
.error-box { padding: 1.1rem 1.2rem; border-radius: var(--radius-m); background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: .92rem; }
.reset-link { display: inline-block; margin-top: .9rem; font-size: .86rem; font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.reset-link:hover { color: var(--accent); }

.privacy-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.privacy-note svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; color: var(--teal); }
.limits-note { font-size: .78rem; color: var(--ink-soft); margin-top: .35rem; }

/* =============================================================
   7. QR3D-specific
   ============================================================= */
.qr-preview-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.2rem; background: var(--bg-alt); border-radius: var(--radius-m); border: 1px solid var(--border); }
#qr-canvas-holder { width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; box-shadow: var(--shadow-s); overflow: hidden; }
#qr-canvas-holder canvas, #qr-canvas-holder img, #qr-canvas-holder svg { max-width: 100%; max-height: 100%; }
.viewer-3d { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-m); overflow: hidden; background: linear-gradient(160deg, var(--bg-alt), var(--surface)); border: 1px solid var(--border); }
.viewer-3d canvas { width: 100% !important; height: 100% !important; }
.viewer-3d__hint { position: absolute; inset: auto 0 10px 0; text-align: center; font-size: .72rem; color: var(--ink-soft); pointer-events: none; }
.viewer-3d__status { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1rem; background: var(--bg-alt); }
.viewer-3d.is-ready .viewer-3d__status { display: none; }

.warn-list { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.warn-item { display: flex; gap: .55rem; align-items: flex-start; font-size: .84rem; padding: .6rem .75rem; border-radius: var(--radius-s); }
.warn-item svg { width: 17px; height: 17px; flex: none; margin-top: .05rem; }
.warn-item--ok { background: var(--ok-soft); color: var(--ok); }
.warn-item--warn { background: var(--warn-soft); color: var(--warn); }
.warn-item--danger { background: var(--danger-soft); color: var(--danger); }

.swatch-picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; max-height: 160px; overflow-y: auto; padding: .3rem; }
.swatch-picker button { aspect-ratio: 1; border-radius: 8px; font-size: 1.2rem; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); }
.swatch-picker button.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.logo-upload-row { display: flex; align-items: center; gap: .7rem; }
.logo-thumb { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); object-fit: contain; background: var(--surface); }

.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.format-card { padding: .8rem .5rem; border-radius: var(--radius-s); border: 1px solid var(--border); text-align: center; font-size: .82rem; font-weight: 700; }
.format-card svg { width: 30px; height: 30px; margin: 0 auto .4rem; color: var(--ink-soft); }
.format-card.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.format-card.is-active svg { color: var(--accent); }

/* =============================================================
   8. Content sections (how-it-works, ideas, faq, related tools)
   ============================================================= */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 1.4rem; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-family: var(--mono); font-size: .9rem; margin-bottom: .8rem; }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .92rem; }

.ideas-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ideas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ideas-grid { grid-template-columns: repeat(4, 1fr); } }
.idea-card { padding: 1.2rem; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.idea-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.idea-card .emoji { font-size: 1.7rem; margin-bottom: .6rem; display: block; }
.idea-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.idea-card p { font-size: .86rem; color: var(--ink-soft); }

.seo-copy { max-width: 760px; color: var(--ink-soft); font-size: 1rem; }
.seo-copy h2, .seo-copy h3 { color: var(--ink); margin-top: 1.4rem; margin-bottom: .5rem; }
.seo-copy h2:first-child, .seo-copy h3:first-child { margin-top: 0; }
.seo-copy p { margin-bottom: .9rem; }
.seo-copy ul { list-style: disc; padding-left: 1.3rem; margin-bottom: .9rem; }
.seo-copy li { margin-bottom: .35rem; }

.faq-list { display: flex; flex-direction: column; gap: .6rem; max-width: 780px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); overflow: hidden; }
.faq-item summary { padding: 1.05rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex: none; transition: transform .2s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-size: .92rem; }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border-radius: var(--radius-m); border: 1px solid var(--border); background: var(--surface); transition: transform .2s var(--ease-out), border-color .2s var(--ease-out); }
.related-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.related-card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.related-card .icon svg { width: 21px; height: 21px; }
.related-card h3 { font-size: .96rem; margin-bottom: .2rem; }
.related-card p { font-size: .82rem; color: var(--ink-soft); }

/* =============================================================
   9. Ad slots
   ============================================================= */
.ad-slot { display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--border); border-radius: var(--radius-s); background: var(--bg-alt); color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ad-slot--leaderboard { min-height: 90px; margin-block: 2rem; }
.ad-slot--incontent { min-height: 250px; margin-block: 2.4rem; max-width: 780px; }
.ad-slot--footer { min-height: 90px; margin-block: 1.5rem; }

.ad-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; max-width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-m); padding: .9rem 1rem; display: none; }
.ad-toast.is-visible { display: block; animation: toastIn .35s var(--ease-out); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ad-toast__close { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-soft); }
.ad-toast__close:hover { background: var(--bg-alt); }
.ad-toast strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: .3rem; }
.ad-toast .ad-slot { min-height: 60px; margin: 0; }

dialog.ad-dialog { border: none; border-radius: var(--radius-l); padding: 0; max-width: 420px; width: calc(100% - 2rem); background: var(--surface); box-shadow: var(--shadow-m); }
dialog.ad-dialog::backdrop { background: rgba(20,17,12,.55); backdrop-filter: blur(2px); }
.ad-dialog__inner { padding: 1.4rem; }
.ad-dialog__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.ad-dialog__head strong { font-size: .95rem; }
.ad-dialog__close { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--border); }
.ad-dialog__close:hover { background: var(--bg-alt); }
.ad-dialog .ad-slot { min-height: 220px; margin: 0; }
.ad-dialog__foot { margin-top: 1rem; text-align: right; }

/* =============================================================
   10. Footer
   ============================================================= */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.4rem; margin-top: 2rem; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { color: var(--ink-soft); font-size: .88rem; margin-top: .6rem; max-width: 320px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .7rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .88rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); }
.footer-credits { font-size: .74rem; color: var(--ink-soft); opacity: .8; margin-top: .5rem; }

/* =============================================================
   11. Effects (reveal)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; }
}

/* =============================================================
   12. Legal pages
   ============================================================= */
.legal-body { max-width: 760px; color: var(--ink-soft); }
.legal-body h2 { color: var(--ink); margin-top: 1.6rem; margin-bottom: .6rem; font-size: 1.2rem; }
.legal-body p, .legal-body li { margin-bottom: .7rem; font-size: .95rem; }
.legal-body ul { list-style: disc; padding-left: 1.3rem; }

/* =============================================================
   13. Responsive helpers
   ============================================================= */
.hero { padding-block: 2.4rem 1.4rem; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .6rem; }
.hero p.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 640px; }
@media (min-width: 720px) { .hero { padding-block: 3.4rem 1.6rem; } }
