/* =============================================================
   CORPROINCO — Generador de Curva S — styles.css
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components (buttons, cards, form, ad-slots)
   6. Sections (header, hero, tool, faq, footer)
   7. Tool-specific (paste boxes, mapping table, results, chart, dialog, toast)
   8. Responsive
   9. Reduced motion / print
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #f7f4ec;
  --surface:    #ffffff;
  --surface-2:  #f1ece0;
  --ink:        #211d16;
  --ink-mute:   #5c5644;
  --ink-dim:    #8a8371;
  --line:       rgba(33, 29, 22, 0.13);
  --line-soft:  rgba(33, 29, 22, 0.07);

  --gold:       #8a6a1e;
  --gold-strong:#6b5116;
  --gold-tint:  #efe3c4;
  --gold-tint-2:#f7eed9;

  --serie-prog: #5b7290;
  --serie-prog-tint: rgba(91, 114, 144, 0.14);
  --serie-ejec: #96721f;
  --serie-ejec-tint: rgba(150, 114, 31, 0.16);

  --ok:         #2f7d4f;
  --ok-tint:    #e3f2e8;
  --warn:       #b3441f;
  --warn-tint:  #fbe7de;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(33,29,22,.06), 0 8px 24px -12px rgba(33,29,22,.18);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { 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; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance; line-height: 1.12; letter-spacing: -0.01em;
  font-family: var(--serif); font-weight: 500; color: var(--ink);
}
ul { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--gold-tint); color: var(--gold-strong); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--gold); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.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;
}
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-kicker {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.35rem); max-width: 30ch; margin-bottom: .9rem; }
.section-lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--ink-mute); max-width: 62ch; line-height: 1.7; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 0; }
.text-block { max-width: 72ch; color: var(--ink-mute); font-size: 1.02rem; line-height: 1.75; }
.text-block p + p { margin-top: 1.1em; }
.text-block strong { color: var(--ink); }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 24ch; }
.subtitle { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-mute); max-width: 58ch; line-height: 1.6; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .96rem;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 6px 18px -8px rgba(138,106,30,.55); }
.btn-primary:hover { background: var(--gold-strong); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--ink-dim); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-strong); }
.btn-ghost { color: var(--gold-strong); font-weight: 600; padding: .5rem .2rem; }
.btn-ghost:hover { text-decoration: underline; }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .86rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}

.badge {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600;
  padding: .4rem .8rem; border-radius: 999px; background: var(--gold-tint-2); color: var(--gold-strong);
  border: 1px solid var(--gold-tint);
}
.badge-ok { background: var(--ok-tint); color: var(--ok); border-color: rgba(47,125,79,.25); }
.badge-warn { background: var(--warn-tint); color: var(--warn); border-color: rgba(179,68,31,.25); }

.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }

label { font-size: .88rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .4rem; }
.field-hint { font-size: .82rem; color: var(--ink-dim); margin-top: .35rem; line-height: 1.5; }
input[type="text"], input[type="number"], input[type="date"], textarea, select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem;
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
textarea { resize: vertical; font-family: var(--mono); font-size: .82rem; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(138,106,30,.14); outline: none; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* Ad slots — placeholders only */
.ad-slot {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .3rem;
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
  color: var(--ink-dim); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ad-slot small { font-size: .68rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink-dim); }
.ad-leaderboard { min-height: 100px; margin-block: 2rem; }
.ad-incontent { min-height: 250px; margin-block: 2.5rem; max-width: 728px; margin-inline: auto; }

/* =============================================================
   6. Sections
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(247,244,236,.92); backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; gap: 1rem; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.brand-kicker { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.nav-cta { font-size: .85rem; font-weight: 600; color: var(--ink-mute); display: flex; align-items: center; gap: .3rem; }
.nav-cta:hover { color: var(--gold-strong); }

.hero { padding-block: clamp(2.2rem, 6vw, 3.5rem) clamp(1.5rem, 4vw, 2rem); }
.hero-inner { max-width: 74ch; }

/* =============================================================
   7. Tool
   ============================================================= */
.tool-section { padding-block: 0 clamp(2rem, 5vw, 3rem); }
.tool-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.tool-step { display: none; }
.tool-step.is-active { display: block; }
.tool-step-title { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin-bottom: .3rem; color: var(--ink); font-family: var(--sans); font-weight: 700; }
.tool-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: var(--gold); color: #fff; font-size: .82rem; font-weight: 700; flex: none;
}
.tool-step-desc { color: var(--ink-mute); font-size: .9rem; margin-bottom: 1rem; }

.paste-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-bottom: 1.2rem; }
.paste-box textarea { min-height: 130px; }
.paste-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; flex-wrap: wrap; }
.paste-box-head label { margin-bottom: 0; }
.paste-count { font-size: .76rem; color: var(--ink-dim); font-family: var(--mono); }

/* File upload dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface-2);
  padding: clamp(1.6rem, 5vw, 2.6rem) 1.2rem; cursor: pointer;
  transition: border-color .15s var(--ease-out), background .15s var(--ease-out);
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--gold); background: var(--gold-tint-2); }
.dropzone.is-dragover { border-color: var(--gold); background: var(--gold-tint-2); box-shadow: 0 0 0 3px rgba(138,106,30,.14); }
.dropzone-icon { width: 34px; height: 34px; margin: 0 auto .6rem; color: var(--gold); }
.dropzone-text { font-size: .98rem; margin-bottom: .3rem; }
.dropzone-hint { font-size: .8rem; color: var(--ink-dim); }
.upload-file-line { font-size: .86rem; font-weight: 600; margin-top: .8rem; font-family: var(--mono); }
#uploadStatus.is-error { color: var(--warn); font-weight: 600; }

/* Expected-format hint (step 1) */
.format-hint { margin-top: 1.2rem; padding: 1rem 1.1rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .88rem; }
.format-hint-table-wrap { overflow-x: auto; margin-block: .6rem; }
.format-hint-table { font-size: .78rem; font-family: var(--mono); min-width: 100%; }
.format-hint-table th { background: var(--surface); text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 700; font-size: .72rem; text-transform: uppercase; color: var(--ink-mute); }
.format-hint-table td { padding: .35rem .6rem; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }

/* Glossary card (results) */
.glossary-card { margin-top: 1.8rem; padding: 1.2rem 1.3rem; background: var(--surface-2); border-radius: var(--radius-sm); }
.glossary-title { font-weight: 700; font-size: .92rem; margin-bottom: .7rem; }
.glossary-table-wrap { overflow-x: auto; }
.glossary-table { font-size: .84rem; min-width: 100%; }
.glossary-table td { padding: .5rem .7rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.glossary-table tr:last-child td { border-bottom: none; }
.glossary-table td:first-child { color: var(--gold-strong); white-space: nowrap; }
.glossary-table td:nth-child(2) { white-space: nowrap; font-weight: 600; }

.tool-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1rem; }
.tool-error-msg {
  display: none; background: var(--warn-tint); color: var(--warn); border: 1px solid rgba(179,68,31,.25);
  border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .88rem; margin-top: 1rem;
}
.tool-error-msg.is-visible { display: block; }

/* Mapping preview */
.mapping-block { margin-bottom: 1.6rem; }
.mapping-block-title { font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.mapping-hint { font-size: .82rem; color: var(--ink-dim); margin-bottom: .6rem; }
.mapping-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mapping-table { min-width: 100%; font-size: .84rem; }
.mapping-table th { background: var(--surface-2); padding: .3rem; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.mapping-table th select { font-size: .78rem; padding: .4rem .3rem; }
.mapping-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.mapping-table tbody tr:last-child td { border-bottom: none; }
.mapping-table td[contenteditable="true"] { cursor: text; }
.mapping-table td[contenteditable="true"]:focus { background: var(--gold-tint-2); outline: none; }
.mapping-table tbody tr:nth-child(even) { background: rgba(33,29,22,.02); }

/* Settings */
.settings-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
details.optional-fields { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .2rem .9rem; margin-top: .3rem; }
details.optional-fields > summary { cursor: pointer; padding: .7rem 0; font-weight: 600; font-size: .88rem; color: var(--gold-strong); }
details.optional-fields[open] > summary { margin-bottom: .3rem; }
.optional-fields-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; padding-bottom: .8rem; }

/* Results */
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.results-title { font-size: 1.1rem; font-weight: 700; font-family: var(--sans); }
.chart-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .6rem 1rem; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: .5rem; font-size: .84rem; }
.legend-item { display: flex; align-items: center; gap: .45rem; }
.legend-swatch { width: 18px; height: 4px; border-radius: 2px; }
.legend-swatch.prog { background: var(--serie-prog); }
.legend-swatch.ejec { background: var(--serie-ejec); }
.legend-swatch.ev { background: var(--ok); }
#sCurveCanvas { width: 100%; height: auto; display: block; }

.indicators-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; margin-block: 1.4rem; }
.indicator-card { padding: 1.1rem 1.2rem; }
.indicator-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-bottom: .35rem; }
.indicator-value { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; margin-bottom: .5rem; }
.indicator-value.ok { color: var(--ok); }
.indicator-value.warn { color: var(--warn); }
.indicator-note { font-size: .86rem; color: var(--ink-mute); line-height: 1.5; }
.indicator-card.is-empty { display: flex; flex-direction: column; justify-content: center; }
.indicator-card.is-empty input { margin-top: .5rem; }

.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.data-table { min-width: 720px; font-size: .84rem; font-family: var(--mono); }
.data-table th { background: var(--surface-2); text-align: right; padding: .6rem .7rem; font-family: var(--sans); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-mute); border-bottom: 1px solid var(--line); }
.data-table th:first-child, .data-table td:first-child { text-align: left; font-family: var(--sans); font-weight: 600; }
.data-table td { padding: .55rem .7rem; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: rgba(33,29,22,.02); }
.data-table tfoot td { font-weight: 700; border-top: 2px solid var(--line); background: var(--surface-2); }

.privacy-badge { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.3rem; padding: .9rem 1rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .86rem; color: var(--ink-mute); }
.privacy-badge svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: .1rem; }
.limits-line { font-size: .8rem; color: var(--ink-dim); margin-top: .5rem; }

/* Interstitial dialog (download popup) */
dialog#ad-interstitial {
  border: none; border-radius: 18px; padding: 0; max-width: 420px; width: calc(100% - 2rem);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.4);
}
dialog#ad-interstitial::backdrop { background: rgba(20,17,10,.55); backdrop-filter: blur(2px); }
.interstitial-inner { padding: 1.3rem; }
.interstitial-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.interstitial-top span { font-size: .8rem; font-weight: 700; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em; }
.interstitial-close { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; line-height: 1; }
.interstitial-close:hover { background: var(--line); }
.interstitial-ad { min-height: 220px; }
.interstitial-foot { text-align: center; margin-top: .9rem; font-size: .82rem; color: var(--ok); font-weight: 600; }

/* Corner toast */
.corner-toast {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .8rem .9rem .9rem; transform: translateY(12px); opacity: 0;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.corner-toast.is-visible { transform: translateY(0); opacity: 1; }
.corner-toast-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .4rem; margin-bottom: .4rem; }
.corner-toast-top span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.corner-toast-close { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font-size: .9rem; flex: none; }
.corner-toast-body { min-height: 60px; display: flex; align-items: center; justify-content: center; color: var(--ink-dim); font-size: .74rem; border: 1px dashed var(--line); border-radius: 8px; }

/* How it works */
.steps-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
.step-card { display: flex; gap: 1rem; }
.step-num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-tint); font-weight: 600; flex: none; width: 2ch; }
.step-body h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 700; margin-bottom: .3rem; }
.step-body p { font-size: .92rem; color: var(--ink-mute); line-height: 1.6; }

/* Example */
.example-card { margin-top: 1.6rem; }
.example-preview { overflow-x: auto; margin-top: 1rem; }

/* Cross-promo */
.promo-card { display: flex; flex-direction: column; gap: 1rem; background: linear-gradient(135deg, var(--gold-tint-2), var(--surface)); border: 1px solid var(--gold-tint); }
.promo-services { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .3rem; }
.promo-service-pill { font-size: .78rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); padding: .35rem .7rem; border-radius: 999px; color: var(--ink-mute); }

/* FAQ */
.faq-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: .2rem 1.1rem; }
.faq-item summary { padding: .9rem 0; cursor: pointer; font-weight: 600; font-size: .96rem; 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(--gold); flex: none; transition: transform .2s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1rem; color: var(--ink-mute); font-size: .92rem; line-height: 1.65; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 2.2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.footer-legal { font-size: .8rem; color: var(--ink-dim); line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .84rem; }
.footer-links a:hover { color: var(--gold-strong); text-decoration: underline; }
.footer-bottom { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-dim); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .paste-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .optional-fields-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .indicators-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .indicators-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) { }

/* =============================================================
   9. Reduced motion & print
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .corner-toast { transition: none; }
}

@media print {
  .site-header, .ad-slot, .result-actions, .corner-toast, dialog, .tool-step:not(.is-active-print), .paste-grid, .site-footer .footer-links { display: none !important; }
  body { background: #fff; }
  .tool-card, .card { box-shadow: none; border-color: #ccc; }
}
