/* /services/seo/technical-seo/ (30 Oct 2026). Sits on svc.css and its tone variables. One signature moment: the hero's
   three-page journey through crawl, render, index, rank and cite; the same five steps become the tabs further down.
   Everything else is quiet: tables, lists and three small tools (Core Web Vitals check, self-check, glossary search). */
.ts-hero { --okc: #5FB98A; --noc: #E0705F; }

/* hero: the journey */
.jy { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.jy figcaption { margin: 0 0 18px; font: 700 1.1rem/1.3 var(--serif); }
.jy-gates { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 6px; padding: 0; list-style: none; }
.jy-gates li { text-align: center; font: 600 .74rem/1.2 var(--mono); letter-spacing: .06em; color: var(--muted); }
.jy-gates li span { display: inline-block; padding: 6px 0 8px; border-bottom: 2px solid var(--line); min-width: 70%; }
.jy-rows { display: grid; gap: 18px; margin: 14px 0 0; padding: 0; list-style: none; }
.jy-row { display: grid; gap: 7px; }
.jy-row code { font: 400 .78rem/1.2 var(--mono); color: var(--ink); opacity: .82; overflow-wrap: anywhere; }
.jy-track { position: relative; height: 18px; }
.jy-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 2px; background: var(--line); }
.jy-track { background: radial-gradient(circle, var(--muted) 0 2.5px, transparent 3px) 0 0 / 20% 18px repeat-x; background-position: 0 0; }
.jy-track::after { content: ""; position: absolute; left: 10%; top: 8px; height: 2px; width: calc((var(--s) - 1) * 20%); background: var(--gold); transform-origin: left; }
.jy-dot { position: absolute; top: 3px; left: calc((var(--s) - .5) * 20%); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(205,168,95,.18); }
.jy-row b { font: 600 .82rem/1.3 var(--sans); }
.jy-row b.ok { color: var(--okc); } .jy-row b.no { color: var(--noc); }
.jy-row b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.jy-row:has(b.no) .jy-dot { background: var(--noc); box-shadow: 0 0 0 4px rgba(224,112,95,.2); }
.jy .note { margin-top: 18px !important; }
@media (prefers-reduced-motion: no-preference) {
  .jy-track::after { animation: jyLine calc(var(--s) * .45s) calc(.5s + var(--r) * .5s) cubic-bezier(.45, 0, .3, 1) both; }
  .jy-dot { animation: jyDot calc(var(--s) * .45s) calc(.5s + var(--r) * .5s) cubic-bezier(.45, 0, .3, 1) both; }
  .jy-row b { animation: jyIn .5s calc(.5s + var(--r) * .5s + var(--s) * .45s) both; }
  .jy-gates li span { animation: jyIn .5s calc(.1s + var(--g) * .08s) both; }
}
@keyframes jyLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jyDot { from { left: 10%; } }
@keyframes jyIn { from { opacity: 0; transform: translateY(6px); } }

/* what it is */
.tw-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tw-grid > div > p:not(.lead):not(.eb) { max-width: 38em; color: var(--muted); }
.ts-what a, .ts-cwv .note a, .ts-check .micro a { color: var(--accent-text); text-underline-offset: 3px; }
.tw-cols { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tw-c { padding: 22px 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); }
.tw-c.on { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.tw-c h3 { margin-bottom: 6px; }
.tw-c p { margin: 0 0 6px !important; color: var(--muted); font-size: .95rem; }
.tw-c .tw-q { color: var(--ink); font-weight: 600; }
.tw-c a { font-size: .95rem; }

/* the five steps, as tabs */
.pipe { margin-top: clamp(28px, 4vh, 44px); }
.pipe-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pipe-tabs button { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; font: inherit; transition: color .3s, border-color .3s, background .3s; }
.pipe-tabs em { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; font: 600 .78rem/1 var(--mono); font-style: normal; }
.pipe-tabs b { font: 700 1.15rem/1.2 var(--serif); }
.pipe-tabs button[aria-selected="true"] { border-color: var(--gold); background: var(--gold); color: var(--espresso); }
@media (hover: hover) { .pipe-tabs button:hover:not([aria-selected="true"]) { color: var(--ink); border-color: var(--gold); } }
.pipe-tabs button:focus-visible, .tc-reset:focus-visible, .ts-check input:focus-visible + label, .vt input:focus-visible, .gl-bar input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pipe-bar { display: none; }
.pipe-panes { margin-top: 14px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); }
.pp-what { max-width: 32em; margin: 0 0 28px !important; font: 700 clamp(1.3rem, 2.1vw, 1.75rem)/1.3 var(--serif); letter-spacing: -0.01em; }
.pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); }
.pp-cols h3 { font: 600 .78rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pp-x { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pp-x li { position: relative; padding-left: 30px; }
.pp-x li::before, .pp-x li::after { content: ""; position: absolute; left: 3px; top: .72em; width: 14px; height: 1.6px; background: #E0705F; transform: rotate(45deg); }
.pp-x li::after { transform: rotate(-45deg); }
.pp-more { margin: 30px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.pp-more a { color: var(--gold); text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .pp:not([hidden]) { animation: jyIn .45s var(--ease) both; } }

/* Core Web Vitals check */
.vts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vh, 44px); }
.vt { --okc: #5FB98A; --mid: #E2B04A; --noc: #E0705F; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); }
.vt h3 { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.vt abbr { text-decoration: none; font: 700 2.2rem/1 var(--serif); color: var(--gold); }
.vt h3 span { font: 600 .95rem/1.3 var(--sans); }
.vt-what { color: var(--muted); font-size: .95rem; }
.vt-l { font: 600 .8rem/1.2 var(--mono); color: var(--muted); }
.vt-in { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 6px; }
.vt-rng { position: relative; margin: 18px 0 10px; }
.vt input { -webkit-appearance: none; appearance: none; position: absolute; left: -9px; top: 50%; width: calc(100% + 18px); height: 34px; margin: -17px 0 0; background: transparent; cursor: pointer; }
.vt input::-webkit-slider-runnable-track { height: 34px; background: transparent; }
.vt input::-moz-range-track { height: 34px; background: transparent; }
.vt input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: 8px; border-radius: 50%; background: var(--bone); border: 3px solid var(--espresso); box-shadow: 0 0 0 2px var(--gold); }
.vt input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--bone); border: 3px solid var(--espresso); box-shadow: 0 0 0 2px var(--gold); }
.vt output { min-width: 5.2em; text-align: right; font: 700 1.35rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.vt-scale { position: relative; display: flex; height: 8px; margin: 0; border-radius: 99px; overflow: visible; }
.vt-scale i { display: block; height: 100%; }
.vt-scale .z1 { width: calc(var(--g) * 100%); background: var(--okc); border-radius: 99px 0 0 99px; }
.vt-scale .z2 { width: calc((var(--p) - var(--g)) * 100%); background: var(--mid); }
.vt-scale .z3 { flex: 1; background: var(--noc); border-radius: 0 99px 99px 0; }
.vt-scale .vt-ours { position: absolute; top: -5px; left: calc(var(--o) * 100%); width: 3px; height: 18px; margin-left: -1px; border-radius: 2px; background: var(--bone); }
.vt-th { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 14px !important; font: 400 .76rem/1.3 var(--mono); color: var(--muted); }
.vt-band { margin: 0 0 12px !important; } .vt-band b { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1.2 var(--sans); }
.vt-band b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.vt[data-band="good"] .vt-band b { color: var(--okc); } .vt[data-band="mid"] .vt-band b { color: var(--mid); } .vt[data-band="poor"] .vt-band b { color: var(--noc); }
.vt-fix { margin: 0 !important; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.vt-all { margin: 22px 0 0 !important; font: 700 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--serif); min-height: 1.4em; }

/* robots.txt / noindex / canonical / redirect */
.ts-t tbody th { width: 15%; font: 700 1rem/1.3 var(--serif); color: var(--ink); }
.ts-t td:last-child { color: var(--muted); }

/* self-check */
.tc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tc-side { position: sticky; top: 104px; }
.tc-meter { margin-top: 26px; padding: 22px 24px; border-radius: 16px; background: var(--espresso); color: var(--bone); }
.tc-nx { margin: 0 0 12px !important; font: 400 .9rem/1.2 var(--mono); color: #B9AA98; } .tc-nx b { font: 700 2rem/1 var(--serif); color: var(--bone); margin-right: 4px; }
.tc-bar { display: block; height: 6px; border-radius: 99px; background: rgba(241,233,222,.14); overflow: hidden; }
.tc-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(var(--k, 0)); transform-origin: left; transition: transform .5s var(--ease); }
.tc-vx { margin: 14px 0 0 !important; font: 700 1.05rem/1.4 var(--serif); }
.tc-reset { margin-top: 14px; min-height: 44px; padding: 0 18px; border: 1px solid var(--rule); border-radius: 99px; background: transparent; color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.tc-list { display: grid; gap: 28px; }
.tc-g { margin: 0; padding: 0; border: 0; }
.tc-g legend { padding: 0; margin-bottom: 10px; font: 600 .78rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.tc-g ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.tc-g li { position: relative; border-bottom: 1px solid var(--rule); }
.tc-g input { position: absolute; left: 4px; top: 20px; width: 22px; height: 22px; margin: 0; accent-color: #A9853D; cursor: pointer; }
.tc-g label { display: grid; gap: 3px; min-height: 44px; padding: 16px 0 16px 42px; cursor: pointer; }
.tc-g label b { font: 600 1rem/1.4 var(--sans); }
.tc-g label span { color: var(--muted); font-size: .9rem; }
.tc-g input:checked + label b { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; color: var(--muted); }

/* proof */
.tp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.tp-grid > div > p:not(.note):not(.tp-big) { color: var(--muted); max-width: 36em; }
.tp-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 26px 0 0; padding: 0; list-style: none; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.tp-st li { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--bg); }
.tp-st b { font: 700 clamp(1.25rem, 1.9vw, 1.6rem)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.tp-st span { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.tp-case { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); }
.tp-big { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 0 !important; }
.tp-big b { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--serif); color: var(--gold); letter-spacing: -0.02em; }
.tp-big span { color: var(--muted); font-size: .92rem; }
.tp-case .btn { margin-top: 22px; }

/* glossary */
.gl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: clamp(22px, 3vh, 34px) 0 26px; }
.gl-bar label { font: 600 .8rem/1.2 var(--mono); color: var(--muted); }
.gl-bar input { flex: 1 1 320px; max-width: 520px; min-height: 52px; padding: 0 20px; border: 1px solid var(--rule); border-radius: 99px; background: var(--panel); color: var(--ink); font: 400 1rem/1 var(--sans); }
.gl-bar input::placeholder { color: var(--muted); }
.gl-c { margin: 0 !important; font: 400 .85rem/1 var(--mono); color: var(--muted); }
.gl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); margin: 0; border-top: 1px solid var(--rule); }
.gl-i { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.gl-i[hidden] { display: none; }
.gl dt { margin-bottom: 6px; font: 700 1.08rem/1.25 var(--serif); color: var(--ink); }
.gl dd { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.gl-none { margin-top: 20px !important; color: var(--muted); }

/* further reading */
.ts-h2b { margin-top: clamp(56px, 9vh, 90px) !important; font-size: clamp(1.6rem, 3vw, 2.4rem) !important; }

@media (max-width: 1100px) { .gl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp-st { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .tw-grid, .tc-grid, .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-side { position: static; }
  .vts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pipe-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .pipe-tabs button { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px; text-align: center; }
  .pipe-tabs b { font-size: .86rem; }
  .pp-cols { grid-template-columns: minmax(0, 1fr); }
  .gl { grid-template-columns: minmax(0, 1fr); }
  .tp-st { grid-template-columns: minmax(0, 1fr); }
  .jy-gates li { font-size: .62rem; letter-spacing: 0; }
}
