/* AKSEO Labs redesign. One ground, one accent, type that holds the frame. Motion rule, measured in Firefox on this site's
   owner's 120Hz laptop: no infinite animation, no filter or backdrop blur, no blend modes, nothing full-screen that moves. */
@font-face {
  font-family: 'AK Sans';
  src: url(ak-sans-700.woff2) format('woff2');
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+3000-303F, U+3400-9FFF, U+FF00-FFEF;
}

body.v4 {
  --bg: #0a0e0d; --bg2: #0e1412; --card: #121a17; --card2: #17211d;
  --line: #222d29; --line2: #33423c;
  --ink: #f2f6f3; --ink2: #b9c4be; --ink3: #8a978f;
  --green: #00e599; --green2: #7dffcb; --amber: #ffb877;
  /* JhengHei first: on Windows, looking up the two missing families added about a second to a phone-speed first layout. */
  --sans: 'Inter Variable', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', sans-serif;
  --display: 'Inter Variable', 'AK Sans', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --color-dark-bg: var(--bg); --color-dark-card: var(--card); --color-dark-border: var(--line);
  --color-text-primary: var(--ink); --color-text-secondary: var(--ink2); --color-text-muted: var(--ink3);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.v4 main { padding-top: 72px; }
.v4 h1, .v4 h2, .v4 h3 { font-family: var(--display); text-wrap: balance; }
/* The old route decorations must not leak into the new layouts: a generated box becomes a stray grid cell. */
body.v4 main article::before, body.v4 main article::after { content: none !important; }
.v4 :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.v4 ::selection { background: var(--green); color: #04130d; }

.v4-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.v4-sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.v4-eyebrow { font: 500 14px/1.4 var(--mono); color: var(--green); margin: 0 0 18px; }
.v4-eyebrow a { color: inherit; }
.v4-link { display: inline-block; font-weight: 600; color: var(--green); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.v4-link:hover { background-size: 100% 1px; }

.v4-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.v4-head h2, .v4-services h2, .v4-faq h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; color: var(--ink); }
.v4-head h2 span { color: var(--green); }
.v4-head > p:not(.v4-eyebrow), .v4-head div > p:not(.v4-eyebrow) { margin: 22px 0 0; color: var(--ink2); max-width: 62ch; }
.v4-head a:not(.v4-link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.v4-head--wide { max-width: 920px; }
.v4-head--row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
.v4-head--row div > p:not(.v4-eyebrow) { margin: 0 0 12px; }
.v4-head--end > div:last-child { justify-self: end; }

/* ── Reveal ── */
.js [data-r] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-r].is-in { opacity: 1; transform: none; }

/* ── Nav ── */
.v4-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.v4-nav { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.v4-nav__in { max-width: 1240px; height: 71px; margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 32px; }
.v4-nav__brand { flex: none; display: block; }
.v4-nav__brand img { display: block; height: 30px; width: auto; }
.v4-nav__links { display: flex; gap: 4px; margin-right: auto; }
.v4-nav__links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--ink2); text-decoration: none; transition: color .15s, background-color .15s; }
.v4-nav__links a:hover { color: var(--ink); background: var(--card); }
.v4-nav__links a[aria-current] { color: var(--green); }
.v4-nav__end { display: flex; align-items: center; gap: 10px; }
.v4-nav__search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--ink3); font-size: 14px; cursor: pointer; transition: color .15s, border-color .15s; }
.v4-nav__search:hover { color: var(--ink); border-color: var(--line2); }
.v4-nav__search svg, .v4-nav__icon svg { width: 16px; height: 16px; }
.v4-nav__search kbd { font: 500 11px var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--card); }
.v4-nav__icon { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.v4-nav__burger { flex-direction: column; gap: 6px; }
.v4-nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); }
.v4-nav__menu a { display: block; padding: 14px var(--gut); color: var(--ink2); text-decoration: none; border-top: 1px solid var(--line); }
.v4-nav__menu a[aria-current] { color: var(--green); }
.v4-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--green); color: #04130d; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.v4-btn:hover { background: var(--green2); transform: translate3d(0, -1px, 0); }
.v4-btn--sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }

/* ── Hero ── */
/* The hero starts at the top of the page, under the fixed nav, so its top padding has to clear the nav's 72px. */
.v4-hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gut) 72px; overflow: hidden; }
.v4-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v4-hero__in { position: relative; width: 100%; max-width: 860px; text-align: center; }
.v4-mark { display: block; width: clamp(280px, 40vw, 520px); height: auto; margin: 0 auto clamp(20px, 3vw, 36px); overflow: visible; font-family: 'Inter Variable', sans-serif; }
.v4-hero h1 { margin: 0 0 clamp(28px, 4vw, 44px); font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.v4-hero h1 span { display: block; color: #d3ddd8; }
.v4-hero h1 strong { display: block; font-weight: 700; color: var(--ink); }
@media (max-height: 800px) and (min-width: 721px) {
  .v4-hero { padding-block: 96px 32px; }
  .v4-mark { width: clamp(280px, 28vw, 340px); margin-bottom: 18px; }
  .v4-hero h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
}

.v4-mark__liquid { transform: translate3d(0, 24px, 0); animation: v4-fill 1.5s .15s var(--ease) forwards; }
.v4-mark__wave { animation: v4-wave 2.1s .15s cubic-bezier(.3, .6, .4, 1) forwards; }
.v4-mark__bub { fill: #eafff6; opacity: 0; animation: v4-bub 1.5s 1.1s ease-out 3 both; }
.v4-mark__bub:nth-of-type(2) { animation-delay: 1.5s; }
.v4-mark__bub:nth-of-type(3) { animation-delay: 1.9s; }
.v4-mark__nodes { transform-origin: 36px 12px; animation: v4-pop .5s .05s var(--ease) both; }
.is-stir .v4-mark__wave { animation: v4-stir 1.2s ease-out; }
.is-stir .v4-mark__bub { animation: v4-bub 1s ease-out 2 both; }
@keyframes v4-fill { to { transform: none; } }
@keyframes v4-wave { from { transform: translate3d(-36px, 0, 0); } to { transform: none; } }
@keyframes v4-stir { from { transform: translate3d(-18px, 0, 0); } to { transform: none; } }
@keyframes v4-bub { 0% { transform: none; opacity: 0; } 20% { opacity: .9; } 100% { transform: translate3d(0, -16px, 0); opacity: 0; } }
@keyframes v4-pop { from { transform: scale(.4); opacity: 0; } }

.v4-form { width: 100%; max-width: 760px; margin-inline: auto; text-align: left; }
.v4-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 26px; margin: 0 0 12px; font: 400 15px/1.6 var(--mono); color: var(--ink3); }
.v4-ghost span { color: var(--green); }
.v4-ghost b { font-weight: 400; color: var(--ink2); }
.v4-ghost i { width: 8px; height: 1.1em; background: var(--green); animation: v4-caret 1.1s steps(1) 8; }
@keyframes v4-caret { 50% { opacity: 0; } }

.v4-sb { position: relative; display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 8px 0 22px; border: 1px solid var(--line2); border-radius: 34px; background: var(--card); transition: border-color .2s; }
.v4-sb::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--green); border-radius: inherit; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.v4-sb.is-lit::after, .v4-sb:focus-within::after { opacity: 1; }
.v4-sb__icon { flex: none; width: 22px; height: 22px; color: var(--ink3); }
.v4-sb input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 17px; }
.v4-sb input::placeholder { color: var(--ink3); opacity: 1; }
.v4-sb button { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--green); color: #04130d; font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.v4-sb button:hover { background: var(--green2); transform: translate3d(0, -1px, 0); }
.v4-sb kbd { font: 600 11px var(--mono); padding: 2px 6px; border: 1px solid rgba(4, 19, 13, .3); border-radius: 6px; }
.v4-form__msg { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink3); text-align: center; }
.v4-form__msg a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

.v4-shortcuts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--ink3); }
.v4-shortcuts span { margin-right: 6px; }
.v4-shortcuts a { padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; background: var(--bg); color: var(--ink2); text-decoration: none; transition: color .15s, border-color .15s; }
.v4-shortcuts a:hover { color: var(--green); border-color: var(--green); }

/* ── Overview and proof ── */
.v4-over { border-top: 0; padding-top: 0; }
.v4-overview { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; padding: clamp(24px, 3vw, 40px); margin-bottom: var(--sec); border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); }
.v4-overview__tag { font: 600 14px/1.9 var(--mono); color: var(--green); white-space: nowrap; }
.v4-overview p { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.85; }
.v4-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v4-stat { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); color: inherit; text-decoration: none; transition: border-color .2s, background-color .2s; }
.v4-stat:hover { border-color: var(--green); background: var(--card); }
.v4-stat small { font: 400 13px var(--mono); color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-stat strong { margin: 36px 0 8px; font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--green); }
.v4-stat strong b { font-weight: 700; }
.v4-stat__word { font-size: clamp(2.3rem, 4.4vw, 3.7rem) !important; line-height: 1.3 !important; }
.v4-stat h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--ink); }
.v4-stat p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink2); }

/* ── Services as a results page ── */
.v4-services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 96px); }
.v4-sticky { position: sticky; top: 112px; }
.v4-services__side p:not(.v4-eyebrow) { margin: 22px 0 28px; color: var(--ink2); }
.v4-mini { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; margin-bottom: 22px; border: 1px solid var(--line2); border-radius: 25px; background: var(--card); font-size: 15px; color: var(--ink); overflow: hidden; white-space: nowrap; }
.v4-mini svg { flex: none; width: 17px; height: 17px; color: var(--green); }
.v4-mini span { overflow: hidden; text-overflow: ellipsis; }
.v4-serp__count { margin: 0 0 8px; font-size: 14px; color: var(--ink3); }
.v4-result { position: relative; padding: 26px 0; border-top: 1px solid var(--line); }
.v4-result small, .v4-row small { display: block; margin-bottom: 6px; font: 400 13px/1.5 var(--mono); color: var(--ink3); }
.v4-result h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.3; }
.v4-result h3 a, .v4-row h3 a, .v4-snippet h2 a { color: var(--green2); text-decoration: none; }
.v4-result h3 a:hover, .v4-row h3 a:hover, .v4-snippet h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.v4-result h3 a::after { content: ""; position: absolute; inset: 0; }
.v4-result p { margin: 0; color: var(--ink2); max-width: 60ch; }

/* ── Diagnosis ── */
.v4-chart { margin: 0 0 clamp(32px, 4vw, 48px); padding: clamp(16px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); }
.v4-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.v4-chart__grid path { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.v4-chart__line { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.v4-chart__line--a { stroke: var(--ink3); }
.v4-chart__line--b { stroke: var(--green); }
.js .v4-chart__line { stroke-dashoffset: 1; }
.js .is-in .v4-chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.js .is-in .v4-chart__line--b { transition-delay: .15s; }
.v4-chart__marks path { stroke: var(--line2); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.v4-chart__marks circle { fill: var(--bg2); stroke: var(--amber); stroke-width: 3; }
.v4-chart__marks text { fill: var(--amber); font: 600 15px var(--mono); text-anchor: middle; }
.js .v4-chart__marks g { opacity: 0; }
.js .is-in .v4-chart__marks g { opacity: 1; transition: opacity .4s; transition-delay: .7s; }
.js .is-in .v4-chart__marks g:nth-child(2) { transition-delay: 1s; }
.js .is-in .v4-chart__marks g:nth-child(3) { transition-delay: 1.3s; }
.v4-chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; color: var(--ink2); }
.v4-chart figcaption i { display: inline-block; width: 16px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 2px; background: var(--ink3); }
.v4-chart figcaption i.b { background: var(--green); }
.v4-chart figcaption em { margin-left: auto; font-style: normal; color: var(--ink3); }
.v4-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.v4-steps span { font: 600 15px var(--mono); color: var(--amber); }
.v4-steps strong { display: block; margin: 8px 0; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); }
.v4-steps p { margin: 0; color: var(--ink2); }

/* ── Tools ── */
.v4-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v4-tool { display: block; padding: 16px 16px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); color: inherit; text-decoration: none; transition: border-color .2s; }
.v4-tool:hover { border-color: var(--green); }
.v4-tool h3 { margin: 18px 8px 4px; font-size: 19px; font-weight: 700; }
.v4-tool p { margin: 0 8px; font-size: 15px; color: var(--ink2); }
.v4-tool__view { height: 150px; padding: 18px; border-radius: 12px; background: var(--card); overflow: hidden; transition: transform .35s var(--ease); }
.v4-tool:hover .v4-tool__view { transform: translate3d(0, -3px, 0); }
.v4-tv-serp small { display: block; font: 400 11px var(--mono); color: var(--ink3); }
.v4-tv-serp b { display: block; margin: 6px 0 12px; font-size: 15px; line-height: 1.4; color: var(--green2); }
.v4-tv-serp i, .v4-tv-diff i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: var(--line2); }
.v4-tv-serp i:last-child { width: 70%; }
.v4-tv-code code { display: block; font: 400 13px/2 var(--mono); color: var(--ink3); white-space: nowrap; }
.v4-tv-code em { font-style: normal; color: var(--green2); }
.v4-tv-code u { text-decoration: none; color: var(--amber); }
.v4-tv-tree b { display: block; width: var(--w); margin: 0 0 8px calc(var(--x, 0) * 16px); padding: 3px 8px; border-radius: 6px; background: var(--line); font: 600 11px/1.5 var(--mono); color: var(--green2); }
.v4-tv-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v4-tv-diff small { font: 400 11px var(--mono); color: var(--ink3); }
.v4-tv-diff i.w { background: var(--amber); }

/* ── Article rows, used on home and in the archive ── */
.v4-row { display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 12px 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.v4-list .v4-row:last-child { border-bottom: 1px solid var(--line); }
.v4-row h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.36; letter-spacing: -.01em; }
.v4-row p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.v4-row time { color: var(--ink3); }
.v4-row__thumb { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--card); }
.v4-row__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.v4-row:hover .v4-row__thumb img { transform: scale(1.04); }

/* ── FAQ ── */
.v4-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 96px); }
.v4-faq header .v4-link { margin-top: 24px; }
.v4-paa details { border-top: 1px solid var(--line); }
.v4-paa details:last-child { border-bottom: 1px solid var(--line); }
.v4-paa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.v4-paa summary::-webkit-details-marker { display: none; }
.v4-paa summary:hover { color: var(--green2); }
.v4-paa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.v4-paa summary i::before, .v4-paa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--green); transition: transform .25s var(--ease); }
.v4-paa summary i::after { transform: rotate(90deg); }
.v4-paa details[open] summary i::after { transform: none; }
.v4-paa p { margin: 0; padding: 0 34px 24px 0; color: var(--ink2); }

/* ── Final CTA ── */
.v4-cta { position: relative; padding: clamp(96px, 13vw, 180px) var(--gut); border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.v4-cta__in { position: relative; max-width: 860px; margin-inline: auto; }
.v4-cta h2 { margin: 0 0 40px; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }

/* ── Footer: the pager ── */
.v4-foot { position: relative; z-index: 10; padding: clamp(56px, 7vw, 96px) 0 96px; border-top: 1px solid var(--line); background: var(--bg2); }
.v4-pager { display: flex; align-items: flex-start; justify-content: center; font-family: 'Inter Variable', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 6.6vw, 6rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); user-select: none; }
.v4-pager__end { margin-left: .28em; color: #7f8c94; font-size: .72em; line-height: 1.39; font-weight: 700; }
.v4-pager a { display: flex; flex-direction: column; align-items: center; color: var(--green); text-decoration: none; letter-spacing: 0; }
.v4-pager b { display: block; font-weight: 800; transition: transform .3s var(--ease), color .2s; }
.v4-pager a:hover b { transform: translate3d(0, -6px, 0); color: var(--green2); }
.v4-pager small { margin-top: 10px; font: 600 14px var(--mono); color: var(--ink); }
.v4-pager span:not([class]) { margin-top: 2px; font: 400 13px/1.4 var(--sans); color: var(--ink3); }
.v4-pager a[aria-current] b { color: var(--amber); }
.v4-pager a[aria-current] small { color: var(--amber); }
.v4-foot__grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr; gap: 32px 64px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink2); }
.v4-foot__grid p { margin: 0; max-width: 56ch; }
.v4-foot__grid p a { color: var(--ink); }
.v4-foot__grid strong { display: block; margin-bottom: 10px; color: var(--ink); }
.v4-foot__grid div a { display: block; padding: 3px 0; color: var(--ink2); text-decoration: none; }
.v4-foot__grid div a:hover { color: var(--green); }
.v4-foot__legal { margin: 32px 0 0; font-size: 13px; color: var(--ink3); }

/* ── Archive ── */
.v4-archive__head { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.v4-archive__head h1 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.14; letter-spacing: -.025em; }
.v4-archive__head h1 span { display: inline-block; }
.v4-archive__head p:not(.v4-eyebrow) { margin: 24px 0 0; max-width: 60ch; color: var(--ink2); font-size: 18px; }
.v4-tabs { position: sticky; top: 72px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.v4-tabs nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.v4-tabs a { position: relative; flex: none; display: flex; align-items: center; gap: 8px; padding: 16px 14px; color: var(--ink2); text-decoration: none; font-size: 16px; white-space: nowrap; transition: color .15s; }
.v4-tabs a:hover { color: var(--ink); }
.v4-tabs small { font: 400 13px var(--mono); color: var(--ink3); }
.v4-tabs a[aria-current] { color: var(--green); font-weight: 600; }
.v4-tabs a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--green); }
.v4-archive__body { padding-block: 28px var(--sec); }
.v4-snippet { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px 40px; align-items: center; padding: clamp(20px, 3vw, 36px); margin: 12px 0 28px; border: 1px solid var(--line2); border-radius: 20px; background: var(--bg2); }
.v4-snippet__tag { font: 500 14px var(--mono); color: var(--green); }
.v4-snippet h2 { margin: 12px 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.v4-snippet p { margin: 0 0 14px; color: var(--ink2); }
.v4-snippet small { font-size: 15px; color: var(--ink3); }
.v4-snippet small a { color: var(--green); text-decoration: none; font-weight: 600; }
.v4-snippet__img { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.v4-snippet__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; color: var(--ink3); }
.v4-pages a { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; color: var(--ink2); text-decoration: none; font-family: var(--mono); font-size: 15px; transition: background-color .15s, color .15s; }
.v4-pages a:hover { background: var(--card); color: var(--ink); }
.v4-pages a[aria-current] { background: var(--green); color: #04130d; font-weight: 700; }
.v4-pages__next { font-family: var(--sans) !important; }

/* ── Article ── */
.v4 .reading-progress, .v4 .noise-overlay { display: none; }
.v4-progress--read { display: none; }
.v4-read { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; column-gap: 56px; padding-inline: var(--gut); }
.v4-read > * { grid-column: 2; }
.v4-article__head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.v4-crumbs { font: 400 13.5px var(--mono); color: var(--ink3); margin-bottom: 24px; }
.v4-crumbs a { color: inherit; text-decoration: none; }
.v4-crumbs a:hover { color: var(--green); }
.v4-article h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; line-height: 1.24; letter-spacing: -.02em; }
.v4-article__lead { margin: 22px 0 0; font-size: 19px; line-height: 1.8; color: var(--ink2); }
.v4-article__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 20px 0 0; font-size: 14.5px; color: var(--ink3); }
.v4-article__layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 56px; padding-inline: var(--gut); padding-bottom: var(--sec); }
.v4-article__toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 136px); overflow-y: auto; scrollbar-width: thin; font-size: 14.5px; }
.v4 .toc-wrapper.plate { margin: 0; border: 0; border-radius: 0; background: none; }
.v4 .toc-toggle { padding: 0 0 10px; }
.v4 .toc-list { display: block !important; padding: 0; }
.v4 .toc-link { color: var(--ink3); padding: 5px 0; font-weight: 400 !important; line-height: 1.5; }
.v4 .toc-link:hover, .v4 .toc-link.active { color: var(--green); }
.v4-article__cover { margin-bottom: 40px; border-radius: 16px; overflow: hidden; }
.v4-article__cover img { display: block; width: 100%; height: auto; }

.v4 .prose-custom { font-size: 18px; line-height: 1.95; color: #d3dcd7; }
.v4 .prose-custom h2 { margin: 2.6em 0 .8em; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.v4 .prose-custom h3 { margin: 2em 0 .6em; font-size: 1.32rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.v4 .prose-custom p { margin: 0 0 1.35em; color: inherit; }
.v4 .prose-custom a { color: var(--green2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(125, 255, 203, .35); }
.v4 .prose-custom a:hover { text-decoration-color: currentColor; }
.v4 .prose-custom strong { color: var(--ink); }
.v4 .prose-custom ul, .v4 .prose-custom ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.v4 .prose-custom li { margin-bottom: .5em; }
.v4 .prose-custom img { border-radius: 12px; }
.v4 .prose-custom blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); color: var(--ink2); }
.v4 .prose-custom code { padding: 2px 6px; border-radius: 6px; background: var(--card2); font: 400 .88em var(--mono); color: var(--green2); }
.v4 .prose-custom pre { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); overflow-x: auto; }
.v4 .prose-custom pre code { padding: 0; background: none; color: var(--ink2); }
.v4 .prose-custom table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 16px; }
.v4 .prose-custom th, .v4 .prose-custom td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v4 .prose-custom th { color: var(--ink); background: var(--bg2); }

.v4-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.v4-tags a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink2); text-decoration: none; }
.v4-tags a:hover { color: var(--green); border-color: var(--green); }
.v4-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink3); }
.v4-share span:first-child { margin-right: 8px; }
.v4-share a, .v4-share button { padding: 7px 14px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--ink2); font-size: 14px; text-decoration: none; cursor: pointer; }
.v4-share a:hover, .v4-share button:hover { color: var(--green); border-color: var(--green); }
.v4-related-tools { margin-top: 56px; }
.v4-related-tools h2, .v4-article__cta h2 { margin: 0 0 10px; font-size: 1.6rem; font-weight: 700; line-height: 1.35; }
.v4-related-tools > p { margin: 0 0 20px; color: var(--ink2); }
.v4-related-tools > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.v4-related-tools a { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); color: inherit; text-decoration: none; transition: border-color .2s; }
.v4-related-tools a:hover { border-color: var(--green); }
.v4-related-tools strong { display: block; margin-bottom: 4px; color: var(--ink); }
.v4-related-tools span { font-size: 14.5px; color: var(--ink2); }
.v4-article__cta { margin-top: 56px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line2); border-radius: 20px; background: var(--bg2); text-align: center; }
.v4-article__cta > span { font: 500 14px var(--mono); color: var(--green); }
.v4-article__cta h2 { margin-top: 10px; }
.v4-article__cta > p { color: var(--ink2); margin: 0 0 22px; }
.v4-article__cta .v4-sb { height: 60px; padding-left: 22px; }
.v4-article__cta .v4-sb button { height: 44px; font-size: 15px; }
.v4-adj { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.v4-adj a { padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.5; transition: border-color .2s; }
.v4-adj a:hover { border-color: var(--green); }
.v4-back { margin: 32px 0 0; }
.v4-adj small { display: block; margin-bottom: 4px; font: 400 13px var(--mono); color: var(--ink3); }

/* ── Inner pages not yet rebuilt: they take the new ground and type. ── */
.v4 .plate, .v4 [class*="bg-dark-card"] { background: var(--bg2); }
.v4 .mobile-spectacle, .v4 .ambient-glow, .v4 .floating-shape, .v4 .data-stream-line { display: none !important; }

/* Tool and legal pages set their own near-black: one ground everywhere. */
.v4 main [style*="background:#0"], .v4 main [style*="background: #0"], .v4 main .bg-black, .v4 main .bg-dark-bg { background: var(--bg) !important; }

/* ── Search modal on the new ground ── */
.v4 #search-modal-bg { backdrop-filter: none; background: rgba(4, 7, 6, .86); }

/* ── Inner pages ── */
.v4-phero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); }
.v4-phero h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.v4-phero h1 em { font-style: normal; color: var(--green); }
.v4-phero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 88px); align-items: center; }
.v4-phero--center { text-align: center; }
.v4-phero + .v4-sec { padding-top: 40px; }
.v4-phero--center .v4-lead { margin-inline: auto; }
.v4-lead { margin: 22px 0 0; max-width: 62ch; font-size: 18px; line-height: 1.85; color: var(--ink2); }
.v4-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.v4-btn--ghost { background: none; border: 1px solid var(--line2); color: var(--ink); }
.v4-btn--ghost:hover { background: var(--card); border-color: var(--green); color: var(--green); }
.v4-notes { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink3); }
.v4-panel { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); }
.v4-panel h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--ink); }
.v4-panel p { margin: 0 0 22px; font-size: 16px; color: var(--ink2); }
.v4-panel p:last-child { margin: 16px 0 0; }
.v4-panel p a { color: var(--green2); }
.v4-panel ol { margin: 0; padding: 0; list-style: none; }
.v4-panel li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.v4-panel li span { font: 500 14px/1.75 var(--mono); color: var(--green); }
.v4-panel dl, .v4-card dl { margin: 0; }
.v4-panel dl div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.v4-panel dt, .v4-card dt { font-size: 14.5px; color: var(--ink3); }
.v4-panel dd, .v4-card dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.v4-panel dd a { color: var(--green2); }
.v4-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.v4-chips a { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 15px; color: var(--ink2); text-decoration: none; transition: color .15s, border-color .15s; }
.v4-chips a:hover { color: var(--green); border-color: var(--green); }
.v4-hubnext { margin: 24px 0 0; }

/* Old decoration that ran forever on pages that keep their own layout: /sitemap idled at 76% Firefox CPU on this one heading. */
body.v4 .gradient-text-animated { animation: none; background: none; color: var(--green); -webkit-text-fill-color: currentColor; }
body.v4 .pg-gau .tl-node::after { animation: none; }
.v4-label { margin: 0 0 8px !important; font: 500 14px/1.5 var(--mono) !important; color: var(--green) !important; }
.v4-module { display: grid; grid-template-columns: 120px minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); padding: clamp(28px, 3.6vw, 44px) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.v4-module__id span { display: block; font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--green); }
.v4-module__id small { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink3); }
.v4-module h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.3; }
.v4-module__main > p { margin: 0 0 22px; color: var(--ink2); }
.v4-module__fit { color: var(--ink) !important; font-weight: 500; }
.v4-module__list ul, .v4-card ul { margin: 0; padding: 0; list-style: none; }
.v4-module__list li, .v4-card li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink2); }
.v4-module__list li::before, .v4-card li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); }
.v4-card--warn li::before { border-color: var(--amber); }
.v4-card--warn > span { color: var(--amber) !important; }
.v4-card--off li { text-decoration: line-through; color: var(--ink3); }
.v4-card--off li::before { border-color: var(--line2); }
.v4-card--off > span { color: var(--ink3) !important; }
.v4-cards { display: grid; gap: 16px; }
.v4-cards--2 { grid-template-columns: repeat(2, 1fr); }
.v4-cards--3 { grid-template-columns: repeat(3, 1fr); }
.v4-cards--4 { grid-template-columns: repeat(4, 1fr); }
.v4-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); }
.v4-card > span { font: 500 14px/1.5 var(--mono); color: var(--green); }
.v4-card h3 { margin: 12px 0 10px; font-size: 21px; font-weight: 700; line-height: 1.35; }
.v4-card > p { margin: 0; font-size: 16px; color: var(--ink2); }
.v4-card dl { margin-top: 18px; }
.v4-card dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.v4-card dd { color: var(--ink2); }
.v4-card .v4-link { align-self: flex-start; margin-top: auto; padding-top: 14px; }
.v4-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.v4-split h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
.v4-split header > p:not(.v4-eyebrow) { margin: 20px 0 0; color: var(--ink2); }
.v4-split .v4-lead { margin-top: 0; margin-bottom: 18px; }
.v4-split .v4-cards { margin: 0; }
.v4-cta__sub { margin: -20px auto 32px; max-width: 58ch; color: var(--ink2); }
.v4-cta .v4-eyebrow { margin-bottom: 14px; }
.v4-next { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); text-align: center; }
.v4-next h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
.v4-next p:not(.v4-eyebrow) { margin: 18px auto 28px; max-width: 60ch; color: var(--ink2); }
.v4-next .v4-actions { justify-content: center; }
.v4-sb--filter { max-width: 680px; margin: 32px auto 0; height: 60px; padding-right: 22px; cursor: text; }
.v4-toolgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.v4-toolrow { display: grid; grid-template-columns: 1fr; padding: 22px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.v4-toolrow[hidden] { display: none; }
.v4-toolrow small { font: 400 13.5px var(--mono); color: var(--ink3); }
.v4-toolrow h3 { margin: 4px 0 6px; font-size: 22px; font-weight: 700; color: var(--green2); }
.v4-toolrow:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.v4-toolrow p { margin: 0; font-size: 16px; color: var(--ink2); }
.v4-toolrow code { margin-top: 8px; font: 400 13.5px var(--mono); color: var(--ink3); }
.v4-tabs button { position: relative; flex: none; padding: 16px 14px; border: 0; background: none; color: var(--ink2); font-size: 16px; white-space: nowrap; cursor: pointer; transition: color .15s; }
.v4-tabs button:hover { color: var(--ink); }
.v4-tabs button.active { color: var(--green); font-weight: 600; }
.v4-tabs button.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--green); }
.v4-faqs { padding-block: 28px var(--sec); max-width: 960px; }
.v4-faqgroup { margin-top: 36px; }
.v4-faqgroup h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; font-family: var(--mono); color: var(--green); }
.v4-paa__a { padding: 0 34px 24px 0; color: var(--ink2); }
.v4-paa__a p { margin: 0 0 12px; padding: 0; }
.v4-paa__a a { color: var(--green2); text-decoration: underline; text-underline-offset: 3px; }
.v4-ledger { padding-block: var(--sec); }
.v4-ledger__group { margin-top: 56px; }
.v4-ledger__group[hidden] { display: none; }
.v4-ledger__group > h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.v4-ledger__group > h3 small { font: 400 14px var(--mono); color: var(--ink3); }
.v4-entry { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); padding: 26px 0; border-top: 1px solid var(--line); }
.v4-entry small { font: 400 13.5px var(--mono); color: var(--ink3); }
.v4-entry h4 { margin: 6px 0 8px; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.v4-entry__main p { margin: 0; color: var(--ink2); }
.v4-entry__meta { margin: 0; font-size: 15px; }
.v4-entry__meta div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 7px 0; }
.v4-entry__meta dt { color: var(--ink3); }
.v4-entry__meta dd { margin: 0; color: var(--ink); }
.v4-entry__meta a { color: var(--green2); }
.v4-status { color: var(--green) !important; font-weight: 600; }
.v4-entry[data-status="hypothesis"] .v4-status, .v4-entry[data-status="opinion"] .v4-status { color: var(--amber) !important; }
.v4-entry__bounds { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px; }
.v4-entry__bounds b { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.v4-entry__bounds p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.v4-flow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.v4-flow i { font-style: normal; color: var(--ink3); }
.v4-flow strong { color: var(--green); font-weight: 700; }
.v4-principles { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.v4-principles h3 { margin: 0 0 12px; font: 500 14px var(--mono); color: var(--green); }
.v4-principles p { margin: 0 0 8px; color: var(--ink2); }
.v4-principles strong { color: var(--ink); font-weight: 600; }
.v4-timeline { margin: 0; padding: 0; list-style: none; }
.v4-timeline li { position: relative; padding: 0 0 32px 28px; border-left: 2px solid var(--line); }
.v4-timeline li:last-child { padding-bottom: 0; }
.v4-timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); }
.v4-timeline span { font: 500 14px var(--mono); color: var(--green); }
.v4-timeline h3 { margin: 4px 0 8px; font-size: 23px; font-weight: 700; line-height: 1.35; }
.v4-timeline p { margin: 0; color: var(--ink2); }
.v4-methods a { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 10px 28px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.v4-methods small { font: 400 14px var(--mono); color: var(--ink3); }
.v4-methods h3 { margin: 0; font-size: 21px; font-weight: 700; color: var(--green2); }
.v4-methods em { display: block; font: 400 13.5px var(--mono); color: var(--ink3); }
.v4-methods p { margin: 0; color: var(--ink2); }
.v4-methods b { font-size: 15px; font-weight: 600; color: var(--green); white-space: nowrap; }
.v4-methods a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 1000px) {
  .v4-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .v4-phero__grid, .v4-split { grid-template-columns: 1fr; }
  .v4-sticky-col .v4-sticky { position: static; }
  .v4-module { grid-template-columns: 1fr; }
  .v4-methods a { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .v4-cards--2, .v4-cards--3, .v4-cards--4, .v4-toolgrid, .v4-entry { grid-template-columns: 1fr; }
  .v4-sb--filter { flex-wrap: nowrap; height: 56px; padding: 0 16px; }
}

@media (max-width: 1100px) {
  .v4-nav__links { display: none; }
  .v4-nav__end { margin-left: auto; }
  .v4-nav__search { display: none; }
  .v4-nav__icon { display: flex; }
  .v4-tgrid { grid-template-columns: repeat(2, 1fr); }
  .v4-article__layout, .v4-read { grid-template-columns: minmax(0, 760px); }
  .v4-read > * { grid-column: 1; }
  .v4-article__toc { position: static; max-height: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
  .v4 .toc-list { display: none !important; }
  .v4 .toc-list:not(.hidden) { display: block !important; padding-top: 8px; }
  .v4 .toc-toggle { padding: 0; }
}
@media (min-width: 1101px) { .v4 .toc-toggle svg { display: none; } .v4 #mobile-menu { display: none; } }
@media (max-width: 760px) {
  body.v4 { font-size: 16px; }
  .v4-btn--sm { display: none; }
  .v4-hero { padding-top: 104px; }
  .v4-sb { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 22px; }
  .v4-sb__icon { margin-left: 10px; }
  .v4-sb input { height: 48px; flex-basis: 60%; font-size: 16px; }
  .v4-sb button { width: 100%; justify-content: center; border-radius: 16px; }
  .v4-sb kbd { display: none; }
  .v4-ghost { font-size: 13px; }
  .v4-overview { grid-template-columns: 1fr; }
  .v4-stats, .v4-steps { grid-template-columns: 1fr; }
  .v4-head--row, .v4-services__grid, .v4-faq__grid, .v4-snippet { grid-template-columns: 1fr; }
  .v4-head--end > div:last-child { justify-self: start; }
  .v4-sticky { position: static; }
  .v4-tgrid { grid-template-columns: 1fr; }
  .v4-row { grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 16px; align-items: start; padding: 20px 0; }
  .v4-row__thumb { grid-row: 1; grid-column: 2; margin-top: 26px; }
  .v4-row p { -webkit-line-clamp: 2; font-size: 15px; }
  .v4-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v4-pager { flex-wrap: wrap; font-size: 11vw; gap: 12px 0; }
  .v4-pager__cap, .v4-pager__end { width: 100%; text-align: center; }
  .v4-pager a { width: 14.2%; }
  .v4-pager span:not([class]) { font-size: 12px; }
  .v4-foot__grid { grid-template-columns: 1fr 1fr; }
  .v4-foot__grid p { grid-column: 1 / -1; }
  .v4-adj { grid-template-columns: 1fr; }
  .v4 .prose-custom { font-size: 17px; }
  .v4 .prose-custom table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .v4-mark__liquid, .v4-mark__wave { animation: none; transform: none; }
  .v4-mark__bub, .v4-mark__nodes, .v4-ghost i { animation: none; }
  .js .v4-chart__line { stroke-dashoffset: 0; }
  .js .v4-chart__marks g { opacity: 1; }
}
