/* QRLand — estilos. Un acento (naranja filamento) + escala neutra. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #15161a;
  --ink-2: #3a3d46;
  --muted: #646876;
  --line: #e4e1d9;
  --line-2: #d6d2c7;
  --accent: #f05a1a;
  --accent-ink: #b8410b;
  --accent-soft: #fdeee5;
  --ok: #1f7a4d;
  --ok-soft: #e6f4ec;
  --warn: #9a6200;
  --warn-soft: #fdf3dc;
  --bad: #b42318;
  --bad-soft: #fde8e6;
  --btn: #15161a;
  --btn-ink: #ffffff;
  --stage: radial-gradient(120% 90% at 50% 15%, #ffffff 0%, #efede7 70%, #e6e3db 100%);
  --ad: #f1efe9;
  --ad-ink: #9a968b;
  --shadow: 0 1px 2px rgba(20, 20, 25, .04), 0 8px 24px -12px rgba(20, 20, 25, .12);
  --radius: 16px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111215; --surface: #191a1f; --surface-2: #1e2026; --ink: #f1f0ec; --ink-2: #d2d1cc;
    --muted: #a2a3ab; --line: #2b2d34; --line-2: #3a3c45; --accent: #ff7a3d; --accent-ink: #ff9a66;
    --accent-soft: #3a2116; --ok: #5fd39a; --ok-soft: #14291f; --warn: #f2c15b; --warn-soft: #2e2512;
    --bad: #ff8a80; --bad-soft: #351816; --btn: #f1f0ec; --btn-ink: #111215;
    --stage: radial-gradient(120% 90% at 50% 15%, #2a2c33 0%, #1b1c21 75%, #15161a 100%);
    --ad: #1d1f24; --ad-ink: #6f7079; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111215; --surface: #191a1f; --surface-2: #1e2026; --ink: #f1f0ec; --ink-2: #d2d1cc;
  --muted: #a2a3ab; --line: #2b2d34; --line-2: #3a3c45; --accent: #ff7a3d; --accent-ink: #ff9a66;
  --accent-soft: #3a2116; --ok: #5fd39a; --ok-soft: #14291f; --warn: #f2c15b; --warn-soft: #2e2512;
  --bad: #ff8a80; --bad-soft: #351816; --btn: #f1f0ec; --btn-ink: #111215;
  --stage: radial-gradient(120% 90% at 50% 15%, #2a2c33 0%, #1b1c21 75%, #15161a 100%);
  --ad: #1d1f24; --ad-ink: #6f7079; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- cabecera ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.brand b { color: var(--accent); font-weight: 700; }
.site-nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--accent-ink); }
@media (max-width: 640px) { .site-nav { display: none; } }

/* ---------- héroe ---------- */
.hero { padding: 26px 0 18px; }
.hero h1 { font: 700 clamp(28px, 4.4vw, 44px)/1.08 var(--display); letter-spacing: -.025em; margin: 0 0 8px; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin: 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 760px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.badge.hot { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }

/* ---------- herramienta ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 18px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.col-preview { position: sticky; top: 14px; }
@media (max-height: 760px) { .col-preview { position: static; } }
@media (max-width: 960px) {
  .tool { display: flex; flex-direction: column; gap: 14px; }
  .col { display: contents; }
  #p-content { order: 1; } #p-2d { order: 2; } #p-design { order: 3; }
  #p-object { order: 4; } #p-3d { order: 5; }
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.panel-head h2 { font: 700 16.5px/1.2 var(--font); margin: 0; letter-spacing: -.01em; }
.step { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--font); background: var(--ink); color: var(--surface); }
.panel-head .sub { margin-left: auto; font-size: 12.5px; color: var(--muted); }

/* pestañas de contenido */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }

.field { display: block; margin-bottom: 12px; }
.field > span, .label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.input, .select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.input.big { height: 54px; font-size: 17px; }
.input[aria-invalid="true"] { border-color: var(--bad); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.hint.err { color: var(--bad); font-weight: 600; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.pane[hidden] { display: none; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }

/* colores */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); padding: 0; cursor: pointer; display: grid; place-items: center; background: var(--c1); position: relative; overflow: hidden; }
.swatch i { width: 20px; height: 20px; border-radius: 5px; background: var(--c2); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.color { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.color input[type="color"] { width: 34px; height: 34px; border: 0; padding: 0; background: none; border-radius: 8px; cursor: pointer; flex: none; }
.color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color input[type="color"]::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.15); border-radius: 8px; }
.color b { display: block; font-size: 13px; }
.color small { display: block; font-size: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* estilos de puntos */
.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.style-opt { border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); padding: 10px 6px 8px; cursor: pointer; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.style-opt svg { width: 46px; height: 46px; color: var(--ink); }
.style-opt[aria-checked="true"] { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--ink); }

/* segmentado */
.seg { display: inline-flex; background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 3px; gap: 3px; margin-bottom: 10px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.emojis { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 21px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.emoji[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.emoji.none { font-size: 11px; font-weight: 700; color: var(--muted); }
.emoji-custom { width: 88px; height: 40px; border-radius: 10px; border: 1.5px dashed var(--line-2); background: var(--surface-2); text-align: center; font-size: 18px; }
.upload { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer; background: var(--surface-2); }
.upload:hover { border-color: var(--ink-2); }
.upload .thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--surface) center/contain no-repeat; border: 1px solid var(--line); flex: none; display: grid; place-items: center; color: var(--muted); }
.upload b { display: block; font-size: 14px; }
.upload small { color: var(--muted); font-size: 12.5px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent-ink); font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* formatos 3D */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.format { border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface-2); padding: 12px 8px 10px; cursor: pointer; display: grid; justify-items: center; gap: 4px; text-align: center; }
.format svg { width: 54px; height: 44px; color: var(--ink-2); }
.format b { font-size: 14px; }
.format small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.format[aria-checked="true"] { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.format[aria-checked="true"] svg { color: var(--accent); }
.slider { margin-bottom: 14px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.slider-top output { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.label-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.label-row .select { width: 92px; font-size: 20px; padding: 0 8px; }

/* vista previa */
.preview2d .stage2d { display: grid; grid-template-columns: 168px 1fr; gap: 16px; align-items: center; }
.qr-frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 1; }
.qr-frame canvas { width: 100%; height: 100%; }
.sample { position: absolute; top: 6px; left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: var(--surface); }
.preview2d h2, .preview3d h2 { font: 700 15px/1.2 var(--font); margin: 0 0 4px; }
.preview2d p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 800; font-size: 14.5px; cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .08s, background .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); height: 54px; font-size: 16px; width: 100%; }
.btn.primary small { font-weight: 600; opacity: .7; font-size: 12.5px; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.stage3d { position: relative; height: 330px; border-radius: 12px; background: var(--stage); border: 1px solid var(--line); overflow: hidden; margin: 10px 0 12px; }
.stage3d canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.stage3d canvas.is-dragging { cursor: grabbing; }
.stage-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-size: 14px; color: var(--muted); }
.stage-msg[hidden] { display: none; }
.stage-tools { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.stage-tools span { font-size: 12px; color: var(--muted); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 4px 8px; border-radius: 8px; }
.stage-tools button { pointer-events: auto; border: 1px solid var(--line-2); background: var(--surface); border-radius: 9px; height: 32px; padding: 0 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.dims { position: absolute; top: 10px; left: 10px; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border: 1px solid var(--line); padding: 6px 8px; border-radius: 8px; }
.legend { position: absolute; top: 10px; right: 10px; display: grid; gap: 4px; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); padding: 6px 8px; border-radius: 8px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.2); }
.checks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; padding: 7px 10px; border-radius: 10px; }
.checks li::before { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; margin-top: 1px; color: #fff; }
.checks .ok { background: var(--ok-soft); color: var(--ok); }
.checks .ok::before { content: "✓"; background: var(--ok); }
.checks .warn { background: var(--warn-soft); color: var(--warn); }
.checks .warn::before { content: "!"; background: var(--warn); }
.checks .bad { background: var(--bad-soft); color: var(--bad); }
.checks .bad::before { content: "×"; background: var(--bad); }
.secondary-dl { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.secondary-dl button { font-size: 13.5px; }
.busy { opacity: .6; pointer-events: none; }
.notice { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; font-weight: 700; }

.privacy { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; margin: 16px auto 0; font-size: 14px; color: var(--ink-2); }
.privacy svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* ---------- anuncios (huecos marcados) ---------- */
.ad-slot { display: grid; place-items: center; background: var(--ad); color: var(--ad-ink); border: 1.5px dashed var(--line-2); border-radius: 12px; font: 800 12px/1 var(--font); letter-spacing: .18em; margin-inline: auto; position: relative; }
.ad-slot::after { content: attr(data-size); position: absolute; bottom: 6px; right: 8px; font-weight: 600; letter-spacing: 0; font-size: 10.5px; opacity: .8; }
.ad-leaderboard { width: min(728px, 100%); min-height: 90px; margin-top: 22px; }
.ad-incontent { width: min(336px, 100%); min-height: 280px; margin-block: 8px 40px; }
@media (min-width: 760px) { .ad-incontent { width: min(728px, 100%); min-height: 90px; } }
.ad-popup { border: 0; padding: 0; border-radius: 18px; width: min(380px, calc(100% - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.ad-popup::backdrop { background: rgba(15, 15, 20, .55); }
.ad-popup .in { padding: 18px; display: grid; gap: 12px; }
.ad-popup header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ad-popup header p { margin: 0; font-weight: 700; font-size: 14.5px; }
.ad-popup header small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.ad-popup .ad-slot { width: 100%; min-height: 250px; }
.x { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.x:hover { border-color: var(--ink); }
.ad-toast { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 300px; max-width: calc(100% - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px -18px rgba(0,0,0,.4); padding: 10px; transform: translateY(16px); opacity: 0; transition: transform .25s, opacity .25s; }
.ad-toast.show { transform: none; opacity: 1; }
.ad-toast[hidden] { display: none; }
.ad-toast .ad-slot { min-height: 100px; width: 100%; }
.ad-toast .x { position: absolute; top: -12px; right: -12px; width: 30px; height: 30px; font-size: 17px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .ad-toast { right: 10px; bottom: 10px; width: 260px; } }

/* ---------- contenido ---------- */
.section { padding: 56px 0 10px; }
.section h2 { font: 700 clamp(24px, 3vw, 32px)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.section > .wrap > p.intro { color: var(--muted); margin: 0 0 24px; max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font: 800 17px/1 var(--display); margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ideas { grid-template-columns: 1fr; } }
.idea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.idea .ico { font-size: 26px; line-height: 1; }
.idea h3 { margin: 4px 0 0; font-size: 16px; }
.idea p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.idea .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.idea button { align-self: flex-start; margin-top: 6px; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } }
.guide h3 { font-size: 17px; margin: 0 0 6px; }
.guide p { margin: 0 0 8px; color: var(--ink-2); }
.guide ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.guide li { margin-bottom: 4px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-size: 13px; color: var(--muted); background: var(--surface-2); }
.specs tr:last-child td { border-bottom: 0; }
.faq { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--ink-2); }
.faq details p { margin: 0 0 8px; }

.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.noscript { background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 14px; }

@media (max-width: 520px) {
  .wrap { width: calc(100% - 24px); }
  .panel { padding: 14px; }
  .preview2d .stage2d { grid-template-columns: 120px 1fr; gap: 12px; }
  .stage3d { height: 320px; }
  .stage-tools span { display: none; }
  .stage-tools { justify-content: flex-end; }
  .badges .badge:nth-child(n+4) { display: none; }
  .privacy { justify-content: flex-start; text-align: left; font-size: 13.5px; }
  .styles { gap: 6px; }
  .style-opt svg { width: 38px; height: 38px; }
  .format small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-toast { transition: none; }
}
