/* AI Humanizer Plus theme (approved 12 Nov 2026): faded blue, white and faded red.
   Loaded after style.css and only overrides colours; the layout is unchanged.
   Blue = main colour (buttons, links, icons). Red = small accents only (badge dot, title bars,
   "Pro" tag), so it never looks like the red "Likely AI" score. */

:root {
  --bg: #fbfcfe;
  --surface: #ffffff;
  --text: #1b2333;
  --muted: #5f6878;
  --border: #e3e8f0;
  --subtle: #f3f6fa;
  --accent: #3f63a8;        /* faded blue */
  --accent-hover: #2f4e8a;
  --accent-soft: #eef3fb;
  --brand-red: #d0605e;     /* faded red */
  --brand-red-soft: #fcefee;
  --grad: linear-gradient(135deg, #3f63a8, #7d9cd4);
  --shadow-lg: 0 12px 32px -14px rgb(63 99 168 / 0.28), 0 2px 6px rgb(27 35 51 / 0.05);
  /* score colours: green = human, amber = mixed, deep red = AI (darker than the brand red) */
  --level-high: #b42318; --level-mid: #b54708; --level-low: #1f8a4c;
}

.logo-mark { box-shadow: 0 4px 12px -4px rgb(63 99 168 / 0.6); }
.btn-primary { box-shadow: 0 6px 16px -8px rgb(63 99 168 / 0.75); }
.btn-primary:hover { background: linear-gradient(135deg, #2f4e8a, #5f82c4); }
.account-trigger:hover { border-color: rgb(63 99 168 / 0.35); }

/* Hero: soft blue glow with a hint of red, no Arabic letter behind the headline. */
.hero::before {
  background:
    radial-gradient(45% 60% at 50% 20%, rgb(125 156 212 / 0.18), transparent 70%),
    radial-gradient(30% 45% at 90% 0%, rgb(208 96 94 / 0.10), transparent 70%),
    radial-gradient(30% 45% at 8% 10%, rgb(63 99 168 / 0.10), transparent 70%);
}
.hero::after { content: none; }
.eyebrow { border-color: rgb(63 99 168 / 0.2); }
.eyebrow::before { background: var(--brand-red); box-shadow: 0 0 0 4px rgb(208 96 94 / 0.18); }

.panels::before { background: radial-gradient(55% 60% at 50% 50%, rgb(125 156 212 / 0.18), transparent 72%); }
.panel:focus-within { border-color: rgb(63 99 168 / 0.35); box-shadow: 0 0 0 4px rgb(125 156 212 / 0.15), var(--shadow-lg); }
.proc-orb span:nth-child(2) { border-top-color: var(--brand-red); }
.proc-bar span { background: linear-gradient(90deg, var(--accent), #7d9cd4); }

/* Section titles: a small blue | white | red bar. */
.section h2::after {
  width: 48px;
  background: linear-gradient(90deg, var(--accent) 0 33%, #fff 33% 67%, var(--brand-red) 67% 100%);
  box-shadow: 0 0 0 1px var(--border);
}

.card-hover:hover { border-color: rgb(63 99 168 / 0.25); }
.step-num { box-shadow: 0 4px 12px -4px rgb(63 99 168 / 0.6); }
.pattern-list li:hover { border-color: rgb(208 96 94 / 0.4); color: var(--brand-red); }

/* Pricing: the featured plan gets a blue-to-red border and a red tag. */
.price-card.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #3f63a8, #d0605e) border-box; }
.plan-tag { background: var(--brand-red); box-shadow: 0 4px 12px -4px rgb(208 96 94 / 0.6); }

.post-cta { border-color: #d9e3f3; }
.doc .post-tags li:has(a):hover { background: #d9e3f3; }

.detect-short { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: #fffaeb; color: #93370d; }

/* Header: the link to the page you are on. */
.header-actions a[aria-current='page'] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav-dropdown a[aria-current='page'] { color: var(--accent); font-weight: 600; }

/* Tool footer (12 Nov 2026): the French labels are longer, so on every screen size the footer
   has two rows, like the phone layout in style.css: word count + Effacer + Importer, then the
   main buttons side by side at full width. On the detector page Détecter l'IA is the only one. */
@media (min-width: 641px) {
  .panel-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 8px; }
  .panel-foot .foot-actions { display: contents; }
  .foot-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
  .foot-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px; }
  #detect-btn, #humanize-btn { width: 100%; min-height: 44px; }
}
.foot-main:has(> #humanize-btn[hidden]) { grid-template-columns: 1fr; }

/* The logo mark is an image (favicon.png, drawn by tools/make-brand-images.py). */
img.logo-mark { background: none; object-fit: cover; }
