/* ==========================================================================
   FGX — SEO & SEM (seo-sem/index.html)
   Builds on /assets/fgx/fgx-type.css (fonts + fluid type scale) and
   ui-ux.css (tokens, grid, buttons, word reveals, fades, CTA, theme switching).
     FGX-SEO-01 hero: live search → AI answer    FGX-SEO-06 services as search results
     FGX-SEO-02 dictionary definitions           FGX-SEO-07 scroll-filled principles
     FGX-SEO-03 sticky evolution timeline        FGX-SEO-08 "People also ask" FAQ
     FGX-SEO-04 search-surface orbit + reach     FGX-SEO-09 "found for" brief
     FGX-SEO-05 SEO/SEM blend slider
   Colour: one slow page fade (dark hero → light). The orbit, the principles
   band and the CTA carry their own panels, so the body never flips back.
   Geometry: panels and cards are square, per fgx-chrome.css. Pills, round
   controls and the orbit keep their shape.
   ========================================================================== */

body.fgx-seo { transition-duration: 1.6s, 1.6s; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
.seo .ux-eyebrow a { color: inherit; text-decoration: none; }
.seo .ux-eyebrow a:hover { color: var(--ux-red); }
.seo-intro { margin-top: 28px !important; max-width: 46ch; }
.seo-def__badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: var(--ux-red); color: #fff; font-family: var(--ux-text); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 01 Hero ------------------------------------------------------- */
.seo-hero { position: relative; padding-top: clamp(120px, 17vh, 200px); padding-bottom: clamp(88px, 11vw, 180px); overflow: hidden; }
.seo-hero::before { content: ""; position: absolute; right: -15vw; top: 20vh; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(229, 36, 33, .14), transparent 70%); }
.seo-hero__body { position: relative; display: grid; gap: 56px; margin-top: clamp(40px, 5vw, 88px); }
@media (min-width: 1200px) { .seo-hero__body { grid-template-columns: 5fr 7fr; gap: var(--ux-gap); align-items: start; } .seo-hero__copy { padding-top: 12px; } }
.seo-hero__copy .ux-lead { max-width: 26ch; }
.seo-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; }
.seo-tags li { padding: 9px 16px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ux-muted); }

.seo-sim {
  position: relative; display: grid; place-items: center; min-height: clamp(560px, 44vw, 740px); padding: clamp(64px, 6vw, 96px) 0;
  overflow: hidden; isolation: isolate; border: 0; border-radius: 0;
  background: transparent;
}
.seo-sim::before { content: none; }
.seo-sim__cap { position: absolute; left: 0; top: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .55); }
.seo-sim__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 2.4s infinite; }

.seo-win { width: min(100%, 560px); padding: 18px; background: #f7f4f2; color: #0f0f0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px rgba(0, 0, 0, .55); }
.seo-q { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(15, 15, 15, .08); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.seo-q svg, .seo-serp__bar svg, .seo-ask__box svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: .55; }
.seo-q span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seo-q__cur { flex: none; width: 2px; height: 18px; margin-left: -8px; background: var(--ux-red); animation: seo-blink 1s steps(1) infinite; }
@keyframes seo-blink { 50% { opacity: 0; } }
.seo-tabs { display: flex; gap: 18px; margin: 14px 4px 0; border-bottom: 1px solid rgba(15, 15, 15, .1); font-size: 12px; font-weight: 700; }
.seo-tabs span { display: flex; align-items: center; gap: 5px; padding: 8px 0; color: rgba(15, 15, 15, .45); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .4s, border-color .4s; }
.seo-tabs span.is-on { color: #0f0f0f; border-color: var(--ux-red); }
.seo-tabs b { color: var(--ux-red); }
.seo-panes { display: grid; margin-top: 14px; height: 318px; overflow: hidden; }
.seo-pane { grid-area: 1 / 1; list-style: none; margin: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s var(--ux-ease), transform .6s var(--ux-ease), visibility 0s .6s; }
.seo-pane.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.seo-r { position: relative; padding: 10px 12px; }
.seo-r + .seo-r { border-top: 1px solid rgba(15, 15, 15, .06); }
.seo-r p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seo-r__cite { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(15, 15, 15, .55); }
.seo-r__cite i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e6e0dc; font-style: normal; font-size: 10px; font-weight: 700; color: #0f0f0f; }
.seo-r__cite b { color: #0f0f0f; }
.seo-r__h { margin-top: 3px !important; font-size: 15px; font-weight: 700; letter-spacing: -.015em; color: #1a0dab; }
.seo-r__p { margin-top: 2px !important; font-size: 12px; color: rgba(15, 15, 15, .55); }
.seo-r--ad, .seo-r--you { background: #fff; }
.seo-r--you { padding-right: 52px; box-shadow: inset 3px 0 0 var(--ux-red); }
.seo-r--you .seo-r__cite i { background: var(--ux-red); color: #fff; }
.seo-r .seo-r__rank { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 4px 9px; border-radius: 99px; background: var(--ux-red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.seo-pane--serp .seo-r:nth-child(n+3) { opacity: .55; }

.seo-pane--ai { padding: 16px; background: linear-gradient(160deg, #fff, #fbf1ef); box-shadow: inset 0 0 0 1px rgba(229, 36, 33, .16); }
.seo-ai__hd { display: flex; align-items: center; gap: 6px; margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ux-red); }
.seo-ai__txt { min-height: 150px; margin: 12px 0 0 !important; font-size: 15px; line-height: 1.55; letter-spacing: -.01em; }
.seo-ai__txt b { background: rgba(229, 36, 33, .12); color: #0f0f0f; padding: 0 3px; }
.seo-ai__txt sup { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 2px; border-radius: 50%; background: var(--ux-red); color: #fff; font-size: 9px; font-weight: 700; vertical-align: 2px; }
.seo-ai__cites { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.seo-ai__cites li { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(15, 15, 15, .08); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ux-ease), transform .5s var(--ux-ease); }
.seo-ai__cites li.is-on { opacity: 1; transform: none; }
.seo-ai__cites i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e6e0dc; font-style: normal; font-size: 10px; }
.seo-ai__cites li.is-you { box-shadow: 0 0 0 1.5px var(--ux-red); }
.seo-ai__cites li.is-you i { background: var(--ux-red); color: #fff; }

.seo-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 14px; background: rgba(20, 20, 20, .74); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.seo-chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ux-red); font-style: normal; font-size: 11px; }
.seo-chip--1 { right: 4%; bottom: 5%; }
.seo-chip--2 { right: 4%; top: 12px; }
.seo-chip--3 { left: 4%; bottom: 5%; }
@media (max-width: 767px) {
  .seo-sim { min-height: 0; padding: 88px 12px 96px; }
  .seo-win { padding: 12px; }
  .seo-q { font-size: 13px; padding: 11px 14px; }
  .seo-panes { height: 340px; }
  .seo-r__h { white-space: normal !important; font-size: 14px; }
  .seo-r__p { display: none; }
  .seo-chip { padding: 9px 12px; font-size: 11px; }
  .seo-chip--1 { right: 4%; bottom: 54px; }
  .seo-chip--2 { right: 4%; top: 10px; }
  .seo-chip--3 { left: 4%; bottom: 10px; }
}

/* ---------- 02 Dictionary --------------------------------------------------- */
.seo-dict__grid { display: grid; gap: 12px; margin-top: clamp(48px, 6vw, 96px); }
@media (min-width: 992px) { .seo-dict__grid { grid-template-columns: repeat(3, 1fr); } }
.seo-def { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 48px); background: var(--ux-paper-2); border: 1px solid var(--ux-line); }
.seo-def__n { margin: 0 0 clamp(28px, 4vw, 64px) !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ux-red); }
.seo-def__term { margin: 0; font-family: var(--ux-display); font-weight: 600; font-size: clamp(88px, 9vw, 176px); line-height: .82; letter-spacing: -.07em; }
.seo-def__say { margin: 18px 0 0 !important; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 18px; color: var(--ux-muted); }
.seo-def__say span { font-family: var(--ux-text); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-left: 8px; color: var(--ux-red); }
.seo-def__list { margin: 28px 0 0; padding: 22px 0 0 20px; border-top: 1px solid var(--ux-line); display: grid; gap: 12px; }
.seo-def__list li { padding-left: 4px; font-size: 16px; line-height: 1.5; color: var(--ux-muted); }
.seo-def__list li::marker { font-weight: 700; color: var(--ux-red); }
.seo-def__list b { color: var(--ux-fg); }
.seo-def__ex { margin: auto 0 0 !important; padding-top: 28px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 17px; color: var(--ux-fg); }
.seo-def--new { background: var(--ux-ink); color: var(--ux-paper); border-color: transparent; --ux-line: rgba(244, 240, 238, .16); --ux-muted: rgba(244, 240, 238, .6); --ux-fg: var(--ux-paper); }
.seo-def--new::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 100% 0%, rgba(229, 36, 33, .28), transparent 70%); }

/* ---------- 03 Sticky timeline ---------------------------------------------- */
.seo-time { position: relative; height: calc(var(--n) * 62vh + 100vh); }
.seo-time__pin { position: sticky; top: 0; height: 100vh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.seo-time__inner { width: 100%; display: grid; gap: clamp(24px, 4vh, 48px); padding-top: clamp(72px, 10vh, 110px); }
.seo-time__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.seo-time__head .ux-h2 { font-size: clamp(40px, 4.6vw, 88px); }
.seo-time__stage { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: min(56vh, 520px); }
.seo-time__year { position: absolute; left: -.04em; top: 50%; z-index: -1; margin: 0 !important; transform: translateY(-58%); font-family: var(--ux-display); font-weight: 700; font-size: clamp(120px, 24vw, 460px); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(15, 15, 15, .16); pointer-events: none; font-variant-numeric: tabular-nums; }
.seo-time__list { list-style: none; margin: 0; padding: 0; display: grid; }
.seo-era { grid-area: 1 / 1; display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .7s var(--ux-ease), transform .7s var(--ux-ease), visibility 0s .7s; }
.seo-era.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 992px) { .seo-era { grid-template-columns: 5fr 6fr; } }
.seo-era__y { margin: 0 0 16px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ux-red); }
.seo-era .ux-h3 { max-width: 14ch; }
.seo-era .ux-body { margin-top: 16px !important; max-width: 40ch; }

.seo-vis { position: relative; height: clamp(220px, 30vh, 340px); padding: 22px; background: #fff; border: 1px solid rgba(15, 15, 15, .08); box-shadow: 0 30px 70px rgba(15, 15, 15, .1); overflow: hidden; }
.seo-vis--links { display: grid; align-content: start; gap: 16px; }
.seo-vis--links i { display: block; height: 10px; width: calc(80% - var(--k, 0) * 6%); background: #1a0dab; opacity: .75; box-shadow: 0 16px 0 -3px rgba(15, 15, 15, .1); }
.seo-vis--links i:nth-child(2) { --k: 2; } .seo-vis--links i:nth-child(3) { --k: 1; } .seo-vis--links i:nth-child(4) { --k: 3; } .seo-vis--links i:nth-child(5) { --k: 2; } .seo-vis--links i:nth-child(6) { --k: 4; }
.seo-vis--map { background: linear-gradient(90deg, rgba(15, 15, 15, .05) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(rgba(15, 15, 15, .05) 1px, transparent 1px) 0 0 / 34px 34px, #eef0e8; }
.seo-vis--map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 16px; background: #fff; transform: rotate(-8deg); box-shadow: 0 0 0 1px rgba(15, 15, 15, .06); }
.seo-vis--map::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 42%; width: 12px; background: #fff; transform: rotate(14deg); }
.seo-vis--map b { position: absolute; z-index: 1; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: rgba(15, 15, 15, .35); transform: rotate(-45deg); }
.seo-vis--map b:nth-child(1) { left: 22%; top: 28%; } .seo-vis--map b:nth-child(2) { left: 70%; top: 22%; } .seo-vis--map b:nth-child(3) { left: 60%; top: 66%; }
.seo-vis--map span { position: absolute; z-index: 2; left: 44%; top: 40%; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; background: var(--ux-red); transform: rotate(-45deg); box-shadow: 0 10px 24px rgba(229, 36, 33, .45); }
.seo-vis--map span::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.seo-vis--phone { display: grid; place-items: center; background: #f1ece9; }
.seo-vis--phone span { display: grid; align-content: start; gap: 10px; width: 120px; height: 100%; max-height: 250px; padding: 26px 12px; border: 7px solid #0f0f0f; border-radius: 22px; background: #fff; }
.seo-vis--phone i { display: block; height: 8px; background: rgba(15, 15, 15, .15); }
.seo-vis--phone i:first-child { height: 26px; border-radius: 99px; background: #f1ece9; }
.seo-vis--phone i:nth-child(2) { background: #1a0dab; opacity: .7; width: 85%; }
.seo-vis--chat { display: flex; flex-direction: column; justify-content: center; gap: 12px; background: #f7f4f2; }
.seo-vis--chat p { max-width: 80%; margin: 0 !important; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.seo-vis--chat p:first-child { align-self: flex-end; background: #0f0f0f; color: #fff; border-bottom-right-radius: 4px; }
.seo-vis--chat p:last-child { background: #fff; box-shadow: 0 2px 10px rgba(15, 15, 15, .08); border-bottom-left-radius: 4px; }
.seo-vis--chat b { color: var(--ux-red); }
.seo-vis--ai { display: grid; align-content: start; gap: 12px; }
.seo-vis--ai div { display: grid; gap: 8px; padding: 14px; background: #fbf1ef; box-shadow: inset 0 0 0 1px rgba(229, 36, 33, .2); }
.seo-vis--ai div b { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ux-red); }
.seo-vis--ai div i { display: block; height: 8px; background: rgba(15, 15, 15, .18); }
.seo-vis--ai div i:nth-of-type(2) { width: 90%; } .seo-vis--ai div i:nth-of-type(3) { width: 60%; }
.seo-vis--ai em { justify-self: start; padding: 4px 10px; border-radius: 99px; background: var(--ux-red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.seo-vis--ai > span { display: block; height: 9px; width: 70%; background: #1a0dab; opacity: .35; }
.seo-vis--ai > span:last-child { width: 50%; }
.seo-vis--now { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; background: #0f0f0f; }
.seo-vis--now span { padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(244, 240, 238, .2); color: #fff; font-size: 14px; font-weight: 700; }
.seo-vis--now span:nth-child(2) { background: var(--ux-red); border-color: var(--ux-red); }

.seo-time__nav { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(24px, 4vh, 44px); border-top: 1px solid var(--ux-line); }
.seo-time__nav button { all: unset; cursor: pointer; padding: 14px 0 0; font-size: 13px; font-weight: 700; color: var(--ux-muted); transition: color .4s var(--ux-ease); }
.seo-time__nav button[aria-pressed="true"] { color: var(--ux-fg); }
.seo-time__nav button:focus-visible { outline: 3px solid #f2d200; outline-offset: 2px; }
.seo-time__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; pointer-events: none; }
.seo-time__bar i { display: block; height: 100%; width: 100%; background: var(--ux-red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Without JS or with reduced motion, the timeline is a plain list */
.seo-time:not(.is-ready) { height: auto; }
.seo-time:not(.is-ready) .seo-time__pin { position: relative; height: auto; min-height: 0; padding-block: clamp(96px, 12vw, 200px); }
.seo-time:not(.is-ready) .seo-era { grid-area: auto; opacity: 1; visibility: visible; transform: none; padding-block: 32px; border-bottom: 1px solid var(--ux-line); }
.seo-time:not(.is-ready) .seo-time__nav, .seo-time:not(.is-ready) .seo-time__year { display: none; }
@media (max-width: 991px) {
  .seo-time { height: calc(var(--n) * 70vh + 100vh); }
  .seo-time__stage { min-height: 0; }
  .seo-vis { height: 190px; }
  .seo-era .ux-body { font-size: 15px; }
  .seo-time__nav button { font-size: 11px; }
}

/* ---------- 04 Orbit (own dark panel) --------------------------------------- */
.seo-reach {
  --ux-bg: var(--ux-ink); --ux-fg: var(--ux-paper); --ux-muted: rgba(244, 240, 238, .56); --ux-line: rgba(244, 240, 238, .16);
  position: relative; overflow: hidden; background: var(--ux-bg); color: var(--ux-fg);
}
.seo-reach::before { content: ""; position: absolute; left: -20vw; bottom: -30vw; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(229, 36, 33, .16), transparent 70%); }
.seo-reach .ux-h2 em, .seo-reach .ux-h3 em { color: var(--ux-red); }
.seo-orbit-wrap { position: relative; display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 96px); }
@media (min-width: 1100px) { .seo-orbit-wrap { grid-template-columns: 7fr 5fr; gap: var(--ux-gap); } }
.seo-orbit { position: relative; width: min(100%, 640px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.seo-orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(244, 240, 238, .14); pointer-events: none; }
.seo-orbit__ring--1 { inset: 8%; }
.seo-orbit__ring--2 { inset: 28%; border-style: dashed; border-color: rgba(244, 240, 238, .1); }
.seo-orbit__core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--ux-red); box-shadow: 0 0 0 14px rgba(229, 36, 33, .14), 0 0 0 32px rgba(229, 36, 33, .06), 0 30px 80px rgba(229, 36, 33, .35); text-align: center; }
.seo-orbit__core b { font-family: var(--ux-display); font-weight: 600; font-size: clamp(16px, 2vw, 28px); line-height: .95; letter-spacing: -.04em; color: #fff; }
.seo-orbit__spin { position: absolute; inset: 0; animation: seo-spin 90s linear infinite; }
.seo-orbit:hover .seo-orbit__spin, .seo-orbit:focus-within .seo-orbit__spin, .seo-orbit.is-paused .seo-orbit__spin { animation-play-state: paused; }
@keyframes seo-spin { to { transform: rotate(360deg); } }
@keyframes seo-counter { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
.seo-node {
  all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateY(-42cqi) rotate(calc(var(--a) * -1));
}
.seo-node span {
  position: absolute; left: 0; top: 0; display: block; transform: translate(-50%, -50%); white-space: nowrap; padding: 11px 16px; border-radius: 999px;
  background: rgba(30, 30, 30, .9); border: 1px solid rgba(244, 240, 238, .18); color: var(--ux-paper); font-size: 14px; font-weight: 700;
  animation: seo-counter 90s linear infinite; transition: background .35s var(--ux-ease), border-color .35s var(--ux-ease), box-shadow .35s var(--ux-ease);
}
.seo-orbit:hover .seo-node span, .seo-orbit:focus-within .seo-node span, .seo-orbit.is-paused .seo-node span { animation-play-state: paused; }
.seo-node:hover span { border-color: rgba(244, 240, 238, .6); }
.seo-node[aria-selected="true"] span { background: var(--ux-red); border-color: var(--ux-red); box-shadow: 0 12px 30px rgba(229, 36, 33, .45); }
.seo-node:focus-visible span { outline: 3px solid #f2d200; outline-offset: 3px; }

.seo-orbit__panel { position: relative; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--ux-line); background: rgba(244, 240, 238, .03); }
.seo-orbit__k { margin: 0 0 clamp(20px, 3vw, 40px) !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ux-red); }
.seo-orbit__panel .ux-body { margin-top: 16px !important; min-height: 4.5em; }
.seo-orbit__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; }
.seo-orbit__tags li { padding: 6px 12px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.seo-region { margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--ux-line); }
.seo-region__k { margin: 0 0 12px !important; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-muted); }
.seo-region__seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--ux-line); }
.seo-region__seg button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ux-muted); transition: background .35s var(--ux-ease), color .35s var(--ux-ease); }
.seo-region__seg button[aria-checked="true"] { background: var(--ux-paper); color: var(--ux-ink); }
.seo-region__seg button:focus-visible { outline: 3px solid #f2d200; outline-offset: 2px; }
.seo-region__txt { margin: 16px 0 0 !important; font-size: 16px; line-height: 1.5; color: var(--ux-fg); max-width: 40ch; }

@media (max-width: 767px) {
  .seo-node { transform: rotate(var(--a)) translateY(-35cqi) rotate(calc(var(--a) * -1)); }
  .seo-orbit__core { width: 28%; }
  .seo-region__seg button { padding: 8px 12px; font-size: 12px; }
  .seo-node span { padding: 7px 11px; font-size: 11px; }
  .seo-orbit__core b { font-size: 14px; }
}

/* ---------- 05 Blend slider ------------------------------------------------- */
.seo-mix { margin-top: clamp(48px, 6vw, 96px); padding: clamp(24px, 3.4vw, 56px); background: var(--ux-ink); color: var(--ux-paper); }
.seo-mix__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.seo-mix__cap { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .6); }
.seo-mix__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 2.4s infinite; }
.seo-mix__split { display: flex; gap: 20px; margin: 0 !important; font-size: 14px; font-weight: 700; }
.seo-mix__split b { font-family: var(--ux-display); font-size: 1.6em; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.seo-mix__sem { color: #ff8f86; }
.seo-mix__seo { color: #6ee7b7; }
.seo-mix__chart { position: relative; margin-top: clamp(28px, 3vw, 44px); }
.seo-mix__chart svg { display: block; width: 100%; height: clamp(200px, 24vw, 320px); overflow: visible; }
.seo-mix__grid line { stroke: rgba(244, 240, 238, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.seo-mix__org { fill: rgba(110, 231, 183, .28); }
.seo-mix__paid { fill: rgba(255, 110, 100, .42); }
.seo-mix__line { fill: none; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.seo-mix__months { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 240, 238, .45); }
.seo-mix__ctrl { margin-top: clamp(28px, 3vw, 44px); }
.seo-mix__label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: rgba(244, 240, 238, .7); }
.seo-mix__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 0; border-radius: 99px; background: linear-gradient(90deg, #6ee7b7, #fff 50%, #ff6e64); outline: none; cursor: pointer; }
.seo-mix__range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ux-red); border: 4px solid #fff; box-shadow: 0 8px 24px rgba(229, 36, 33, .5); transition: transform .3s var(--ux-ease); }
.seo-mix__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--ux-red); border: 4px solid #fff; box-shadow: 0 8px 24px rgba(229, 36, 33, .5); }
.seo-mix__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.seo-mix__range:focus-visible { outline: 3px solid #f2d200; outline-offset: 6px; }
.seo-mix__ends { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; font-weight: 700; color: rgba(244, 240, 238, .5); }
.seo-mix__out { display: grid; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
@media (min-width: 768px) { .seo-mix__out { grid-template-columns: repeat(3, 1fr); } }
.seo-mix__out > div { padding: 18px; border: 1px solid rgba(244, 240, 238, .12); }
.seo-mix__out p { margin: 0 !important; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 240, 238, .5); }
.seo-mix__out strong { display: block; margin-top: 8px; font-family: var(--ux-display); font-weight: 600; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.04em; }
.seo-mix__out em { display: block; height: 5px; margin-top: 12px; border-radius: 99px; background: rgba(244, 240, 238, .1); overflow: hidden; }
.seo-mix__out em i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); background: #fff; transition: width .5s var(--ux-ease); }
.seo-mix__pause { font-size: clamp(20px, 1.8vw, 26px) !important; line-height: 1.1; }

/* ---------- 06 Services as search results --------------------------------- */
.seo-serp { margin-top: clamp(48px, 6vw, 96px); max-width: 980px; }
@media (min-width: 1200px) { .seo-serp, .seo-paa { margin-left: calc((100% - var(--ux-gap)) / 6 + var(--ux-gap)); } }
.seo-serp__bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 999px; background: var(--ux-paper-2); border: 1px solid var(--ux-line); box-shadow: 0 6px 24px rgba(15, 15, 15, .06); font-size: 17px; font-weight: 700; }
.seo-serp__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.seo-serp__filters button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ux-line); font-size: 14px; font-weight: 700; color: var(--ux-fg); transition: background .35s var(--ux-ease), color .35s var(--ux-ease), border-color .35s var(--ux-ease); }
.seo-serp__filters button:hover { border-color: var(--ux-fg); }
.seo-serp__filters button[aria-pressed="true"] { background: var(--ux-ink); border-color: var(--ux-ink); color: var(--ux-paper); }
.seo-serp__filters button:focus-visible { outline: 3px solid #f2d200; outline-offset: 2px; }
.seo-serp__count { margin: 20px 0 0 !important; font-size: 13px; color: var(--ux-muted); }
.seo-serp__count span { opacity: .7; }
.seo-serp__list { list-style: none; margin: 8px 0 0; padding: 0; }
.seo-res { position: relative; padding: clamp(20px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--ux-line); }
.seo-res.is-hidden { display: none; }
.seo-res__site { display: flex; align-items: center; gap: 12px; margin: 0 !important; font-size: 13px; }
.seo-res__site i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ux-ink); color: var(--ux-paper); font-style: normal; font-size: 12px; font-weight: 700; }
.seo-res__site span { display: grid; line-height: 1.3; color: var(--ux-muted); }
.seo-res__site b { color: var(--ux-fg); }
.seo-res__t { margin: 10px 0 0; font-family: var(--ux-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.035em; color: #1a0dab; transition: color .3s var(--ux-ease); }
.seo-res:hover .seo-res__t { color: var(--ux-red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.seo-res__p { margin: 8px 0 0 !important; max-width: 70ch; font-size: 16px; line-height: 1.55; color: var(--ux-muted); }
.seo-res__p a { color: var(--ux-fg); font-weight: 700; text-decoration: none; white-space: nowrap; }
.seo-res__p a:hover { color: var(--ux-red); }
.seo-res--new .seo-res__site i { background: var(--ux-red); }
.seo-res--ad .seo-res__site b { color: var(--ux-red); }

/* ---------- 07 Scroll-filled principles (own red panel) -------------------- */
.seo-why { position: relative; padding-block: clamp(96px, 12vw, 200px); background: var(--ux-red); color: var(--ux-ink); }
.seo-why .ux-label { color: rgba(15, 15, 15, .65); }
.seo-why__hd { margin-bottom: clamp(32px, 4vw, 64px); }
.seo-fill { list-style: none; margin: 0; padding: 0; }
.seo-fill li { display: grid; gap: 8px 40px; align-items: end; padding: clamp(10px, 1.4vw, 20px) 0; border-top: 1px solid rgba(15, 15, 15, .2); }
@media (min-width: 992px) { .seo-fill li { grid-template-columns: 8fr 4fr; } }
.seo-fill__w {
  --f: 0%;
  margin: 0 !important; font-family: var(--ux-display); font-weight: 700; font-size: clamp(64px, 11.5vw, 230px); line-height: .9; letter-spacing: -.065em;
  background: linear-gradient(90deg, var(--ux-ink) var(--f), rgba(15, 15, 15, .16) var(--f)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo-fill__d { margin: 0 !important; padding-bottom: clamp(8px, 1.4vw, 24px); max-width: 34ch; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.45; font-weight: 500; }

/* ---------- 08 People also ask --------------------------------------------- */
.seo-paa { max-width: 900px; margin-top: clamp(48px, 6vw, 96px); padding: clamp(20px, 2.6vw, 36px); background: var(--ux-paper-2); border: 1px solid var(--ux-line); }
.seo-paa__hd { margin: 0 0 10px !important; font-family: var(--ux-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; }
.seo-paa details { border-top: 1px solid var(--ux-line); }
.seo-paa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 20px 2px; font-size: clamp(16px, 1.2vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.seo-paa summary::-webkit-details-marker { display: none; }
.seo-paa summary:hover { color: var(--ux-red); }
.seo-paa summary i { flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .4s var(--ux-ease); }
.seo-paa details[open] summary i { transform: rotate(-135deg) translate(-3px, -3px); }
.seo-paa__a { padding: 0 2px 24px; }
.seo-paa__a p { margin: 0 !important; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--ux-muted); }
.seo-paa__a cite { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ux-muted); }
.seo-paa__a cite i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ux-ink); color: var(--ux-paper); font-style: normal; font-size: 10px; }
.seo-paa__new summary span::after { content: "AI search"; margin-left: 10px; padding: 3px 8px; border-radius: 99px; background: var(--ux-red); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }

/* ---------- 09 CTA brief (own dark panel) ---------------------------------- */
.seo-cta {
  --ux-bg: var(--ux-ink); --ux-fg: var(--ux-paper); --ux-muted: rgba(244, 240, 238, .56); --ux-line: rgba(244, 240, 238, .16);
  background: var(--ux-bg); color: var(--ux-fg);
}
.seo-ask { margin-top: 32px; }
.seo-ask__label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.seo-ask__box { display: flex; align-items: center; gap: 12px; max-width: 560px; padding: 6px 8px 6px 22px; border-radius: 999px; background: #fff; color: #0f0f0f; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.seo-ask__box input { flex: 1; min-width: 0; padding: 14px 8px 14px 0; border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 700; color: inherit; outline: none; }
.seo-ask__box input::placeholder { color: rgba(15, 15, 15, .4); font-weight: 500; }
.seo-ask__box:focus-within { box-shadow: 0 0 0 3px #f2d200, 0 20px 50px rgba(0, 0, 0, .35); }
.seo-ask__where { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.seo-ask__where button {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; transition: background .35s var(--ux-ease), border-color .35s var(--ux-ease);
}
.seo-ask__where button:hover { border-color: #fff; }
.seo-ask__where button[aria-pressed="true"] { background: var(--ux-red); border-color: var(--ux-red); }
.seo-ask__where button:focus-visible { outline: 3px solid #f2d200; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .seo-sim__rec, .seo-mix__dot, .seo-q__cur { animation: none; }
  .seo-orbit__spin, .seo-node span { animation: none; }
  .seo-fill__w { --f: 100% !important; }
}

/* Static audit introduction: equal columns instead of the label/content grid. */
.seo-plan { scroll-margin-top: 100px; }
.seo-plan__heading .ux-label { margin-bottom: 24px; }
.seo-plan__heading .ux-h2 { font-size: clamp(42px, 6vw, 88px); line-height: 1.04; margin: 0; }
.seo-plan__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 4vw, 64px); }
.seo-plan__step { min-width: 0; border-top: 1px solid var(--ux-line); padding-top: 24px; }
.seo-plan__step .ux-h4 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.15; max-width: 22ch; margin: 0 0 18px; }
.seo-plan__step .ux-body { max-width: 52ch; margin: 0; }
@media (max-width: 700px) {
  .seo-plan { scroll-margin-top: 80px; }
  .seo-plan__steps { grid-template-columns: 1fr; }
}
