/* =============================================================
   ConvertiYa · styles.css
   Single file, sectioned. Tool-first, mobile-first, trustworthy.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f6f8fc;
  --surface:   #ffffff;
  --surface-2: #eef2fb;
  --ink:       #101728;
  --ink-soft:  #46506a;
  --ink-faint: #78829c;
  --line:      #e2e8f5;
  --line-2:    #d3dcef;

  --accent:      #3b5bfd;
  --accent-ink:  #2540d8;
  --accent-soft: #eaeeff;
  --accent-2:    #14b8a6;
  --danger:      #e5484d;
  --ok:          #16a34a;
  --warn:        #b7791f;

  --cream: #ffffff;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Manrope", var(--sans);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(16,23,40,.06), 0 1px 3px rgba(16,23,40,.04);
  --shadow:    0 8px 24px rgba(24,39,90,.08), 0 2px 6px rgba(24,39,90,.05);
  --shadow-lg: 0 24px 60px rgba(24,39,90,.14), 0 6px 16px rgba(24,39,90,.08);

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0b1020;
    --surface:   #121a2e;
    --surface-2: #182241;
    --ink:       #eef2fb;
    --ink-soft:  #b3bdd6;
    --ink-faint: #8a94af;
    --line:      #24304f;
    --line-2:    #33416a;
    --accent:      #6d84ff;
    --accent-ink:  #93a5ff;
    --accent-soft: #1b2547;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow:    0 10px 30px rgba(0,0,0,.4);
    --shadow-lg: 0 26px 64px rgba(0,0,0,.5);
  }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
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; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.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(--accent); color: #fff; z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }
.muted { color: var(--ink-faint); }
.center { text-align: center; }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: .35em .8em; border-radius: 999px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-soft); }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

/* =============================================================
   5. Components
   ============================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 12px; font-weight: 650; font-size: .98rem; transition: transform .2s var(--ease-out), background .2s, box-shadow .2s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { padding: 1em 1.8em; font-size: 1.08rem; border-radius: 14px; }
.btn-block { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; font-weight: 600; color: var(--ink-soft); background: var(--surface-2); padding: .4em .8em; border-radius: 999px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.16rem; letter-spacing: -0.03em; color: var(--ink); }
.brand .logo { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--accent); }
.nav-spacer { flex: 1; }
.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a { padding: .5rem .8rem; border-radius: 9px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: background .18s, color .18s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.lang-select { border: 1px solid var(--line-2); background: var(--surface); border-radius: 9px; padding: .45rem .6rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--surface-2); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: .15rem; background: var(--surface); border-bottom: 1px solid var(--line); padding: .8rem var(--gutter) 1.2rem; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: .8rem .7rem; font-size: 1rem; }
  .lang-select { margin-top: .4rem; }
}

/* Hero */
.hero { padding: clamp(2.4rem, 6vw, 4.2rem) 0 1.4rem; text-align: center; }
.hero h1 { margin: .5rem auto .6rem; max-width: 16ch; }
.hero .lead { max-width: 52ch; margin-inline: auto; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem .7rem; justify-content: center; margin-top: 1.1rem; }

/* Tool card */
.tool-wrap { max-width: 720px; margin: 1.4rem auto 0; }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(1.1rem, 3vw, 1.8rem); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; min-height: 210px; padding: 1.6rem; border: 2px dashed var(--line-2); border-radius: 16px; background: var(--surface-2); text-align: center; transition: border-color .2s, background .2s; cursor: pointer; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .dz-icon { width: 46px; height: 46px; color: var(--accent); }
.dropzone .dz-title { font-weight: 700; font-size: 1.08rem; }
.dropzone .dz-sub { font-size: .9rem; color: var(--ink-faint); }
.dropzone .dz-meta { font-size: .82rem; color: var(--ink-faint); margin-top: .2rem; }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.tool-options { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-end; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field input[type=text], .field input[type=number], .field select { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: .6rem .7rem; min-width: 130px; }
.field .range-wrap { display: flex; align-items: center; gap: .6rem; }
.field input[type=range] { accent-color: var(--accent); }

/* Progress + states */
.progress { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 1rem; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .25s var(--ease-soft); }
.status-line { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { margin-top: 1rem; padding: 1.1rem; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--line); text-align: center; }
.result h3 { color: var(--accent-ink); margin-bottom: .3rem; }
.result .meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: .9rem; }
.result .actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.savings { font-weight: 700; color: var(--ok); }

.error-box { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); color: var(--ink); font-size: .95rem; }
.warn-box { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); font-size: .9rem; color: var(--ink); }

.file-list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.file-list li { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .9rem; }
.file-list li .fl-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li .fl-remove, .file-list li .fl-move { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-soft); }
.file-list li .fl-remove:hover { background: color-mix(in srgb, var(--danger) 18%, var(--surface-2)); color: var(--danger); }

.privacy-badge { display: flex; align-items: center; gap: .55rem; justify-content: center; margin-top: 1rem; font-size: .9rem; color: var(--ink-soft); }
.privacy-badge svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.nojs-note { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--surface-2); text-align: center; font-size: .92rem; color: var(--ink-soft); }

/* Ad slots */
.ad-slot { margin: 1.6rem auto; max-width: var(--maxw); min-height: 100px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--ink-faint); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.ad-slot[data-size=leaderboard] { min-height: 100px; }
.ad-slot[data-size=in-content] { min-height: 250px; }

/* Category & tool grids */
.section { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.section h2 { text-align: center; }
.section > .container > .lead { text-align: center; max-width: 56ch; margin: .6rem auto 0; }
.cat-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: .95rem; box-shadow: var(--shadow-sm); transition: transform .18s, border-color .18s; }
.cat-chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.cat-chip svg { width: 18px; height: 18px; color: var(--accent); }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.tool-tile { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
.tool-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tool-tile .tile-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.tool-tile .tile-icon svg { width: 22px; height: 22px; }
.tool-tile h3 { font-size: 1.05rem; }
.tool-tile p { font-size: .88rem; color: var(--ink-faint); line-height: 1.5; }
.tool-tile .tile-go { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--accent-ink); }

/* Feature (why us) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.feature { padding: 1.2rem; }
.feature .f-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .7rem; }
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.feature p { font-size: .92rem; color: var(--ink-soft); }

/* SEO prose */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { text-align: left; margin: 1.8rem 0 .7rem; }
.prose h3 { margin: 1.3rem 0 .5rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .4rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin: 1.6rem 0; list-style: none; }
.steps li { padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.steps .step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: .6rem; }

/* FAQ */
.faq { max-width: 760px; margin: 1.6rem auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: .7rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.1rem; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.1rem 1.1rem; color: var(--ink-soft); font-size: .95rem; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--ink-faint); padding-top: 1rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span { margin: 0 .35rem; }

/* Footer */
.site-footer { margin-top: 2.5rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.6rem; padding: 2.4rem 0 1.6rem; }
.footer-grid h4 { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { color: var(--ink-soft); font-size: .92rem; }
.footer-grid a:hover { color: var(--accent-ink); }
.footer-about p { font-size: .9rem; color: var(--ink-soft); margin-top: .6rem; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; padding: 1.1rem 0 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-faint); }
.footer-credits { font-size: .78rem; color: var(--ink-faint); max-width: 60ch; }
.footer-credits a { text-decoration: underline; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.2rem; margin-top: 1.8rem; }
.post-card { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card time { font-size: .8rem; color: var(--ink-faint); }
.post-card h3 { font-size: 1.1rem; }
.post-card p { font-size: .9rem; color: var(--ink-soft); }
.post-card .tile-go { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--accent-ink); }
article.post { max-width: 740px; margin-inline: auto; }
article.post .prose { max-width: none; }

/* =============================================================
   9. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 1.4s; }
  * { transition-duration: .01ms !important; }
}

/* =============================================================
   10. Modern polish (v2) — aurora bg, depth, reveals
   ============================================================= */
html { background: var(--bg); }
body { background: transparent; position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 12% -5%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(50% 40% at 105% 0%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 72%),
    radial-gradient(45% 45% at 50% 120%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}

/* Gradient wordmark accent + hero heading */
.brand b { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Primary button: subtle gradient + glow */
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-ink)); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent); }

/* Landing hero: two columns on desktop */
.hero-landing .hero-inner { display: grid; gap: 1.6rem; align-items: center; }
.hero-landing .hero-copy { text-align: center; }
.hero-visual { margin: 0 auto; max-width: 520px; width: 100%; filter: drop-shadow(0 24px 48px rgba(24,39,90,.16)); }
.hero-visual svg { width: 100%; height: auto; }
@media (min-width: 960px) {
  .hero-landing .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 2.4rem; }
  .hero-landing .hero-copy { text-align: left; }
  .hero-landing .hero-copy .trust-row, .hero-landing .hero-copy .hero-cta { justify-content: flex-start; }
  .hero-landing .hero-copy h1, .hero-landing .hero-copy .lead { margin-left: 0; }
  .hero-landing .hero-copy .lead { margin-inline: 0; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.3rem; }

/* Tool tiles: gradient icon chips, ring, deeper hover */
.tool-tile { position: relative; overflow: hidden; }
.tool-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.tool-tile:hover::after { opacity: 1; }
.tool-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-tile .tile-icon { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--accent-soft)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
.tool-tile .tile-go { transition: transform .2s var(--ease-out); }
.tool-tile:hover .tile-go { transform: translateX(3px); }

/* Category blocks on the "todas las herramientas" section */
.cat-block { margin-bottom: 2.2rem; }
.cat-block > h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .4rem; }
.cat-block > h3 svg { width: 20px; height: 20px; color: var(--accent); }

/* Feature icons: gradient */
.feature .f-icon { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--accent-soft)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent); }

/* Dropzone: gradient hover glow */
.dropzone { transition: border-color .2s, background .2s, box-shadow .2s; }
.dropzone:hover, .dropzone.drag { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.dropzone .dz-icon { transition: transform .25s var(--ease-out); }
.dropzone:hover .dz-icon { transform: translateY(-3px); }

/* Tool card: gradient top hairline */
.tool-card { position: relative; }
.tool-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Trust badges: gradient dot */
.badge { border: 1px solid var(--line); }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.is-ready [data-reveal] { } /* no-op hook */

@media (prefers-reduced-motion: reduce) {
  body::before { opacity: .5; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .tool-tile:hover { transform: none; }
}

/* Ad slots in production: invisible reserved space until a real ad renders */
.ad-slot { border: 0; background: transparent; color: transparent; min-height: 0; margin: 1.2rem auto; }
.ad-slot .adsbygoogle { display: block; }
