/* FEU-SEO static frontend — no framework, no WordPress runtime */
:root {
  --bg: #080808;
  --bg-soft: #101010;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --text: #f7f4ef;
  --muted: #aaa49d;
  --line: #2b2927;
  --orange: #ff641e;
  --orange-2: #ff9a3c;
  --orange-soft: rgba(255, 100, 30, .13);
  --green: #57d38c;
  --red: #ff6b6b;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,.32);
  --container: 1180px;
  --reading: 820px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; background: var(--bg); }
body { margin: 0; min-width: 320px; font: 400 16px/1.7 var(--font); color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--orange); }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.reading { width: min(calc(100% - 40px), var(--reading)); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 125px) 0; position: relative; }
.section-tight { padding: clamp(45px, 6vw, 82px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--orange-2); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
h1, h2, h3, h4 { margin: 0 0 .65em; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 7.4vw, 106px); }
h2 { font-size: clamp(32px, 4.5vw, 64px); }
h3 { font-size: clamp(21px, 2.1vw, 30px); }
p { margin: 0 0 1.1em; }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.58; }
.muted { color: var(--muted); }
.orange { color: var(--orange); }
.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; z-index: 9999; top: 8px; left: 8px; transform: translateY(-140%); padding: 10px 14px; color: #000; background: var(--orange-2); border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: none; }

/* Header — reproduction fidèle du frontend historique */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.04); background: rgba(24,24,24,.97); }
.header-inner { min-height: 100px; display: grid; grid-template-columns: 76px minmax(0,1fr) 76px; align-items: center; gap: 24px; }
.header-inner::after { content: ""; width: 46px; height: 46px; justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 48px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 28px rgba(255,100,30,.12); }
.brand span { font-size: 17px; }
.header-brand { margin: 0; justify-self: start; }
.header-brand img { width: 66px; box-shadow: none; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 38px; }
.main-nav a { position: relative; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.main-nav a::before { content: ""; position: absolute; top: 50%; left: -16px; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; transform: translateY(-50%); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-2); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: #fff; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 850; line-height: 1.2; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #090909; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 12px 34px rgba(255,100,30,.22); }
.btn-secondary { border-color: var(--line); color: #fff; background: var(--panel); }
.btn-secondary:hover { border-color: #555; }
.btn-small { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.arrow { font-size: 1.15em; }

/* Home — version statique fidèle à l’accueil historique */
.legacy-hero { position: relative; min-height: 660px; display: grid; align-items: center; overflow: hidden; background: #101214 url('/assets/home/hero-spheres.webp') center/cover no-repeat; }
.legacy-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.08) 60%,rgba(0,0,0,.18)); pointer-events: none; }
.legacy-hero-inner { position: relative; z-index: 1; min-height: 660px; display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: center; gap: 48px; padding-inline: 32px; }
.legacy-hero-copy { width: 100%; max-width: 760px; justify-self: center; padding: 0; text-align: center; }
.legacy-hero-copy h1 { margin: 0; font-size: clamp(52px,4.6vw,68px); letter-spacing: -.02em; }
.legacy-hero-copy h1 > span { display: block; }
.legacy-hero-copy .legacy-site-name { margin-bottom: 22px; font-size: 30px; letter-spacing: -.02em; }
.legacy-hero-copy p { margin: 22px 0 24px; color: #fff; font-size: 23px; font-weight: 750; }
.legacy-cta { display: inline-flex; min-height: 64px; align-items: center; justify-content: center; padding: 0 29px; border-radius: 9px; color: #fff; background: #f58a24; font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.legacy-cta:hover { background: var(--orange); }
.legacy-metrics { width: 320px; display: grid; justify-self: end; gap: 36px; }
.legacy-metric { display: grid; grid-template-columns: 170px 120px; align-items: center; justify-content: end; gap: 14px; }
.legacy-metric strong { text-align: right; font-size: clamp(44px,5vw,67px); line-height: .95; letter-spacing: -.055em; }
.legacy-metric span { font-size: 17px; font-weight: 650; line-height: 1.35; }
.legacy-section { padding: clamp(78px,9vw,130px) 0; background: #181818; }
.legacy-kicker { margin: 0 0 16px; color: #999; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.legacy-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px,10vw,150px); }
.legacy-story h2 { font-size: clamp(29px,3vw,42px); font-weight: 500; letter-spacing: -.03em; }
.legacy-story-copy { max-width: 680px; }
.legacy-story-copy p { margin: 0; color: #f0eeeb; font-size: clamp(17px,1.6vw,21px); line-height: 1.75; }
.legacy-story-copy p + p { margin-top: 4px; }
.home-tools { padding-top: 10px; }
.home-tools h2 { margin-bottom: 70px; font-size: clamp(38px,4vw,58px); }
.home-tool-rows { border-top: 1px solid #696969; }
.home-tool-row { position: relative; display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr) 30px; gap: 50px; align-items: center; min-height: 175px; padding: 30px 75px; border-bottom: 1px solid #696969; transition: color .2s,background .2s; }
.home-tool-row:hover { color: var(--orange-2); background: rgba(255,255,255,.02); }
.home-tool-row h3 { margin: 0; font-size: clamp(27px,3vw,40px); }
.home-tool-row p { margin: 0; color: #e1ded9; font-size: clamp(17px,1.5vw,20px); line-height: 1.65; }
.home-tool-row > span { opacity: 0; font-size: 24px; transition: opacity .2s; }
.home-tool-row:hover > span { opacity: 1; }
.home-tool-more { display: flex; justify-content: space-between; align-items: center; padding: 55px 75px 15px; color: #fff; font-size: clamp(28px,3vw,42px); font-weight: 800; }
.home-tool-more span { color: var(--orange-2); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.before-after { padding-top: 30px; text-align: center; }
.before-after h2 { margin-bottom: 55px; font-size: 22px; font-weight: 500; letter-spacing: 0; }
.before-after figure { width: min(100%,900px); margin: 0 auto; }
.before-after img { width: 100%; }
.home-offers { padding-top: 70px; }
.home-offers > .container > h2 { margin-bottom: 65px; font-size: clamp(45px,6vw,76px); }
.offers-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(55px,9vw,130px); align-items: center; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 75px; }
.offer-list a { position: relative; padding-left: 31px; }
.offer-list a::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; border: 1px solid #fff; border-radius: 50%; }
.offer-list h3 { margin: 0 0 15px; font-size: 29px; }
.offer-list p { margin: 0; color: #c8c4be; font-size: 17px; line-height: 1.75; }
.offer-visual { position: relative; }
.offer-visual > img { width: 100%; }
.fire-mark { position: absolute; inset: 50% auto auto 50%; width: 120px; height: 120px; display: grid; place-items: center; border: 3px solid #818996; border-radius: 50%; color: #818996; transform: translate(-50%,-50%); font-size: 42px; }
.lets-talk { display: grid; grid-template-columns: auto 170px; justify-content: start; align-items: center; gap: 55px; margin-top: 130px; color: #fff; }
.lets-talk span { font-size: clamp(90px,15vw,220px); font-weight: 850; line-height: .8; letter-spacing: -.07em; }
.lets-talk img { width: 170px; }

/* Cards / hubs */
.page-hero { padding: clamp(78px, 10vw, 145px) 0 clamp(55px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1020px; font-size: clamp(43px, 7vw, 92px); }
.page-hero .lead { max-width: 820px; margin-top: 22px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { position: relative; min-height: 290px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
a.card:hover { transform: translateY(-5px); border-color: #5a4437; background: #181512; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,100,30,.28); border-radius: 12px; color: var(--orange-2); background: var(--orange-soft); font-size: 23px; }
.card h2, .card h3 { margin: auto 0 10px; font-size: clamp(22px, 2vw, 28px); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .card-arrow { position: absolute; top: 30px; right: 30px; color: var(--muted); font-size: 20px; }
.card-badge { position: absolute; top: 24px; right: 24px; padding: 5px 9px; border-radius: 999px; color: var(--orange-2); background: var(--orange-soft); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.article-card img { width: 100%; aspect-ratio: 16/7; object-fit: cover; filter: saturate(.84); }
.article-card-body { padding: 28px; }
.article-card h2 { font-size: clamp(26px, 3vw, 38px); }
.article-card p { color: var(--muted); }
.article-card-meta { display: flex; gap: 12px; margin-bottom: 14px; color: var(--orange-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* Resources */
.resources-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.resource-card { min-height: 310px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.resource-logo { width: 100%; height: 78px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; padding: 10px 14px; overflow: hidden; border: 1px solid #2d2b29; border-radius: 12px; background: #0d0d0d; }
.resource-logo img { width: auto; height: 54px; max-width: 100%; max-height: 54px; object-fit: contain; object-position: center; }
#runpod .resource-logo img { width: 52px; height: 52px; }
#linkavista .resource-logo img { width: 74px; height: 54px; }
#spyserp .resource-logo img { width: 150px; height: auto; }
#emelia .resource-logo img { width: 164px; height: auto; filter: brightness(1.65) contrast(1.05); }
.resource-card h2 { margin: 0 0 8px; font-size: 25px; }
.resource-card p { color: var(--muted); font-size: 14px; }
.resource-card .deal { margin-top: auto; padding-top: 18px; color: var(--orange-2); font-size: 12px; font-weight: 800; }
.resource-card .out { margin-top: 12px; font-weight: 800; }
.disclosure { margin-top: 30px; padding: 18px 20px; border-left: 3px solid var(--orange); color: var(--muted); background: var(--panel); font-size: 13px; }

/* Tool pages */
.tool-shell { width: min(calc(100% - 40px), 1000px); margin: 0 auto; }
.tool-intro { max-width: 800px; margin-bottom: 34px; }
.tool-runtime { --feu-primary: #ff641e; --feu-primary-hover: #ff8b42; --feu-bg-primary: #111; --feu-bg-secondary: #181818; --feu-bg-tertiary: #202020; --feu-text-primary: #f5f3ef; --feu-text-secondary: #aaa49d; --feu-border-color: #34312e; }
.tool-runtime .feu-seo-tool { margin: 0 !important; box-shadow: none !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; background: var(--panel) !important; }
.tool-runtime input, .tool-runtime textarea, .tool-runtime select { min-height: 46px; color: var(--text) !important; background: #0c0c0c !important; border-color: #383532 !important; }
.tool-runtime textarea { min-height: 150px; }
.tool-runtime button, .tool-runtime .feu-seo-btn { min-height: 46px; border-radius: 999px !important; }
.serp-captcha { margin: 24px 0; padding: 20px; border: 1px solid #3b3835; border-radius: 14px; background: #0d0d0d; }
.serp-captcha-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.serp-captcha-head strong { color: #fff; font-size: 15px; }
.serp-captcha-refresh { min-height: auto !important; padding: 5px 10px !important; border: 0 !important; color: var(--orange-2) !important; background: transparent !important; font-size: 12px !important; font-weight: 800; cursor: pointer; }
.serp-captcha-challenge { display: block; margin-bottom: 10px; color: #fff; font-size: 19px; font-weight: 800; }
.serp-captcha-answer { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 13px; }
.serp-captcha-answer input { min-height: 48px; text-align: center; font-size: 20px; font-weight: 800; }
.serp-captcha-answer span { color: var(--muted); font-size: 13px; }
.serp-captcha-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.tool-copy { margin-top: 42px; padding-top: 35px; border-top: 1px solid var(--line); color: #c9c4bd; }
.tool-copy h2, .tool-copy h3 { margin-top: 1.6em; }
.tool-copy a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.tool-faq { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.tool-faq > h2 { margin-bottom: 28px; font-size: clamp(30px,4vw,46px); }
.tool-faq-list { border-top: 1px solid var(--line); }
.tool-faq details { border-bottom: 1px solid var(--line); }
.tool-faq summary { position: relative; padding: 23px 54px 23px 0; cursor: pointer; color: #fff; font-size: 18px; font-weight: 800; list-style: none; }
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq summary::after { content: "+"; position: absolute; top: 50%; right: 8px; color: var(--orange-2); transform: translateY(-50%); font-size: 28px; font-weight: 400; }
.tool-faq details[open] summary::after { content: "−"; }
.tool-faq details p { max-width: 820px; margin: -2px 0 24px; color: var(--muted); }
.cannibal-score-card { display: flex; align-items: center; gap: 24px; margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.cannibal-score-circle { flex: 0 0 120px; }
.cannibal-circular-chart { width: 120px; height: 120px; }
.cannibal-circle-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3; }
.cannibal-circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray .8s ease-out; }
.cannibal-percentage { fill: #fff; font-size: 8px; font-weight: 700; text-anchor: middle; }
.cannibal-score-info { flex: 1; }
.cannibal-verdict { margin: 0 0 8px; color: #fff; font-size: 20px; }
.cannibal-explanation { margin: 0; color: var(--muted); font-size: 14px; }
.cannibal-score-card.high-similarity .cannibal-verdict { color: var(--green); }
.cannibal-score-card.medium-similarity .cannibal-verdict { color: #e6a23c; }
.cannibal-score-card.low-similarity .cannibal-verdict { color: var(--red); }
.feu-seo-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cannibal-stat { padding: 16px; border-radius: 8px; text-align: center; background: rgba(255,255,255,.03); }
.cannibal-stat-value { display: block; color: var(--orange-2); font-size: 28px; font-weight: 800; }
.cannibal-stat-label { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.cannibal-url-list { margin-top: 12px; }
.cannibal-url-item { margin-bottom: 6px; padding: 10px 14px; border-radius: 6px; color: #d4cec7; background: rgba(255,255,255,.03); font-size: 13px; overflow-wrap: anywhere; }
.tool-runtime .elementor-section, .tool-runtime .elementor-container, .tool-runtime .elementor-column, .tool-runtime .elementor-widget-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.tool-runtime .elementor-element + .elementor-element { margin-top: 22px; }
.tool-runtime .elementor-widget-heading, .tool-runtime .elementor-widget-text-editor { display: none; }

/* Article */
.article-head { padding: clamp(70px, 9vw, 120px) 0 45px; }
.article-head .reading { position: relative; }
.article-head h1 { max-width: 980px; font-size: clamp(42px, 7vw, 82px); }
.article-kicker { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.article-cover { width: min(calc(100% - 40px), 1180px); margin: 0 auto 60px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article-body { color: #d5d0c9; font-size: clamp(16px, 1.4vw, 18px); }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 2.1em 0 .7em; color: #fff; font-size: clamp(29px, 4vw, 46px); }
.article-body h3 { margin: 1.8em 0 .7em; color: #fff; font-size: clamp(22px, 3vw, 30px); }
.article-body h4 { margin-top: 1.5em; color: #fff; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.25em; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body li { margin-bottom: .55em; }
.article-body a { color: var(--orange-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body strong { color: #fff; }
.article-body img { width: 100%; margin: 30px 0; border-radius: 14px; }
.article-body figure { margin: 30px 0; }
.article-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 15px; }
.article-body pre, .article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article-body code { padding: .18em .4em; border: 1px solid #3a3734; border-radius: 5px; color: #ffd2b8; background: #111; font-size: .88em; }
.article-body pre { position: relative; padding: 22px; overflow-x: auto; border: 1px solid #34312e; border-radius: 13px; color: #f6dfd1; background: #0c0c0c; line-height: 1.55; }
.article-body pre code { padding: 0; border: 0; background: transparent; }
.article-body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--orange); background: var(--panel); }
.article-body .wp-block-button { margin: 25px 0; }
.article-body .wp-block-button__link { display: inline-flex; min-height: 48px; align-items: center; padding: 0 23px; border-radius: 999px; color: #090909; background: var(--orange); text-decoration: none; font-weight: 850; }
.article-body .video-button-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 25px 0 45px; }
.article-body .video-link { display: flex; align-items: center; gap: 15px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; color: #fff; background: var(--panel); text-decoration: none; }
.article-body .video-link:hover { border-color: var(--orange); }
.article-body .play { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #090909; background: var(--orange); }
.article-body .table-wrap { overflow-x: auto; margin: 28px 0; }
.article-body table { width: 100%; min-width: 580px; border-collapse: collapse; border: 1px solid var(--line); }
.article-body th, .article-body td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; }
.article-body th { color: #fff; background: var(--panel-2); }
.article-body .toc { margin: 30px 0 45px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.article-body .toc strong { display: block; margin-bottom: 10px; }
.article-body .toc ol { margin: 0; }
.article-body .faq { margin-top: 60px; }
.article-body details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-body summary { cursor: pointer; color: #fff; font-weight: 800; }
.article-body details p { margin: 12px 0 0; }

/* Legal/contact */
.legal { color: #d2cdc6; }
.legal h1 { font-size: clamp(42px, 6vw, 72px); }
.legal h2 { margin-top: 1.8em; font-size: 30px; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

/* Easter eggs */
.easter { min-height: calc(100svh - 82px); display: grid; place-items: center; padding: 40px 20px; text-align: center; background: #050505; }
.easter-card { width: min(100%, 820px); }
.easter-card img, .easter-card video, .easter-card iframe { width: 100%; margin-inline: auto; border: 0; border-radius: 18px; }
.easter-card iframe { aspect-ratio: 16/9; }
.easter-card .secret-link { display: inline-block; margin-top: 18px; color: #777; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.empty-easter { animation: breathe 4s ease-in-out infinite; color: #222; font-size: clamp(50px, 14vw, 180px); }
@keyframes breathe { 50% { color: #3a160a; transform: scale(1.03); } }

/* Footer */
.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--line); background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 50px; }
.footer-brand p { max-width: 430px; color: var(--muted); }
.footer-col h2 { margin-bottom: 17px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); color: #777; font-size: 12px; }
.back-top { position: fixed; z-index: 50; right: 18px; bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #fff; background: rgba(18,18,18,.85); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.embed-frame { width: 100%; height: auto; min-height: 0; aspect-ratio: 1/1; border: 1px solid #3a2d25; border-radius: var(--radius); background: #080808; color-scheme: dark; }
audio { width: 100%; margin: .45rem 0 1.2rem; color-scheme: dark; }

/* Error pages */
.error-page { min-height: 72svh; display: grid; place-items: center; text-align: center; }
.error-code { color: var(--orange); font-size: clamp(76px, 18vw, 220px); font-weight: 950; line-height: .8; letter-spacing: -.08em; }
.error-page p { color: var(--muted); font-size: 19px; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-toggle { display: block; justify-self: start; }
  .header-brand { justify-self: center; }
  .main-nav { position: fixed; z-index: 90; inset: 100px 0 auto; display: grid; gap: 0; padding: 15px 20px 22px; border-bottom: 1px solid var(--line); background: #181818; transform: translateY(-140%); transition: transform .24s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 22px; border-bottom: 1px solid #2a2a2a; font-size: 17px; }
  .main-nav a::before { left: 1px; }
  .legacy-hero-copy { padding-left: 0; }
  .legacy-hero-inner { grid-template-columns: minmax(0,1fr) 230px; gap: 30px; padding-inline: 16px; }
  .legacy-metrics { width: 230px; }
  .legacy-metric { grid-template-columns: 126px 94px; gap: 10px; }
  .legacy-story-grid { grid-template-columns: 1fr 1.2fr; gap: 55px; }
  .home-tool-row { padding-inline: 30px; }
  .offers-layout { grid-template-columns: 1fr; }
  .offer-visual { width: min(100%,650px); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .resources-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 660px) {
  .container, .reading, .tool-shell, .article-cover { width: min(calc(100% - 40px), var(--container)); }
  .header-inner { min-height: 60px; }
  .header-brand img { width: 54px; }
  .main-nav { top: 60px; }
  .serp-captcha-answer { grid-template-columns: 1fr; }
  .serp-captcha-answer input { width: 100%; }
  .legacy-hero { min-height: 702px; background-position: 48% center; }
  .legacy-hero-inner { min-height: 702px; display: block; padding-top: 67px; }
  .legacy-hero-copy { max-width: none; padding: 0; }
  .legacy-hero-copy h1 { font-size: 43px; line-height: 1.18; }
  .legacy-hero-copy .legacy-site-name { margin-bottom: 32px; font-size: 28px; }
  .legacy-hero-copy p { width: 280px; margin: 28px auto 28px; font-size: 20px; line-height: 2.05; }
  .legacy-cta { width: 284px; min-height: 78px; padding-inline: 22px; line-height: 1.15; }
  .legacy-metrics { position: absolute; inset: auto 0 42px; width: auto; grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .legacy-metric { min-width: 0; grid-template-columns: auto auto; justify-content: center; gap: 7px; }
  .legacy-metric:first-child { grid-column: 1/-1; }
  .legacy-metric strong { font-size: 33px; }
  .legacy-metric:first-child strong { font-size: 61px; }
  .legacy-metric span { min-width: 0; font-size: 15px; line-height: 1.25; }
  .legacy-section { padding: 78px 0; }
  .legacy-story-grid { grid-template-columns: 1fr; gap: 42px; }
  .legacy-story h2 { font-size: 23px; }
  .legacy-story-copy p { font-size: 18px; line-height: 1.65; }
  .home-tools { padding-top: 20px; }
  .home-tools h2 { margin-bottom: 60px; font-size: 37px; }
  .home-tool-row { grid-template-columns: 1fr; gap: 20px; min-height: 265px; padding: 44px 7px; text-align: center; }
  .home-tool-row h3 { font-size: 29px; }
  .home-tool-row p { font-size: 18px; }
  .home-tool-row > span { display: none; }
  .home-tool-more { display: block; padding: 48px 0 0; text-align: center; font-size: 28px; }
  .home-tool-more span { display: block; margin-top: 14px; }
  .before-after { padding-top: 20px; }
  .before-after h2 { margin-bottom: 32px; }
  .before-after figure { width: 100%; }
  .home-offers { padding-top: 80px; }
  .home-offers > .container > h2 { margin-bottom: 55px; font-size: 31px; }
  .offer-list { grid-template-columns: 1fr; gap: 62px; }
  .offer-list h3 { font-size: 29px; }
  .offer-list p { font-size: 18px; }
  .offer-visual { margin-top: 40px; }
  .fire-mark { width: 100px; height: 100px; }
  .lets-talk { grid-template-columns: auto 64px; gap: 15px; margin-top: 78px; }
  .lets-talk span { white-space: nowrap; font-size: 50px; }
  .lets-talk img { width: 64px; }
  .actions .btn { width: 100%; }
  .tool-preview, .card-grid, .blog-grid, .resources-grid, .contact-box { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(38px, 11.5vw, 58px); overflow-wrap: anywhere; }
  .embed-frame { width: 100%; height: auto; min-height: 0; aspect-ratio: 1/1; }
  .cannibal-score-card { align-items: flex-start; flex-direction: column; }
  .feu-seo-grid-3 { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .resource-card { min-height: 270px; }
  .article-head h1 { font-size: clamp(38px, 11vw, 56px); overflow-wrap: anywhere; }
  .article-body .video-button-grid { grid-template-columns: 1fr; }
  .article-body pre { margin-inline: -3px; padding: 17px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .back-top { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .back-top, .actions, .video-button-grid { display: none !important; }
  body { color: #000; background: #fff; }
  .article-body, .article-body h1, .article-body h2, .article-body h3 { color: #000; }
  a { color: #000; text-decoration: underline; }
}
