/* AI Search Optimization page */

/* ---------- Hero ---------- */
.ai-hero { padding-bottom: clamp(64px, 8vw, 112px); }
.ai-hero__title { font-size: clamp(36px, 5vw, 72px); }
.ai-hero__title em { font-size: 1.04em; }
.ai-hero__sub { margin: 32px auto 0; max-width: 62ch; color: var(--cream); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .45; }

.ai-chat {
  margin: clamp(48px, 6vw, 80px) auto 0; max-width: 820px; border-radius: 18px; overflow: hidden;
  background: #f1f0ec; color: var(--ink); border: 1px solid rgba(255, 249, 244, .3);
  box-shadow: 0 40px 100px rgba(20, 69, 246, .35), 0 0 0 8px rgba(255, 249, 244, .05);
  position: relative; text-align: left;
}
.ai-chat__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 18px; background: #d9d7d3; color: #4a4048; }
.ai-chat__title { font-family: var(--f-ui); font-weight: 700; font-size: 14px; }
.ai-chat__models { justify-self: end; display: flex; gap: 4px; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.ai-chat__models span { padding: 4px 9px; border-radius: 999px; opacity: .6; }
.ai-chat__models .is-on { background: var(--ink); color: var(--volt); opacity: 1; animation: modelCycle 9s steps(1) infinite 4s; }
.ai-chat__models span:nth-child(2) { animation: modelCycle2 9s steps(1) infinite 4s; }
.ai-chat__models span:nth-child(3) { animation: modelCycle3 9s steps(1) infinite 4s; }
@keyframes modelCycle { 0% { background: var(--ink); color: var(--volt); opacity: 1; } 33.3%, 100% { background: none; color: inherit; opacity: .6; } }
@keyframes modelCycle2 { 0%, 100% { background: none; color: inherit; opacity: .6; } 33.3% { background: var(--ink); color: var(--volt); opacity: 1; } 66.6% { background: none; color: inherit; opacity: .6; } }
@keyframes modelCycle3 { 0%, 100% { background: none; color: inherit; opacity: .6; } 66.6% { background: var(--ink); color: var(--volt); opacity: 1; } }
.ai-chat__body { padding: clamp(18px, 3vw, 32px); display: grid; gap: 22px; }
.ai-chat__q {
  justify-self: end; max-width: 88%; background: var(--ink); color: var(--cream); padding: 18px 22px; border-radius: 14px 14px 4px 14px;
  font-size: 15px; line-height: 1.55; animation: chatIn .6s var(--ease) .5s both;
}
.ai-chat__answer { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.ai-chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--volt); display: grid; place-items: center; animation: chatIn .5s var(--ease) 1.1s both; }
.ai-chat__avatar svg { width: 20px; height: 20px; }
.ai-chat__typing { display: inline-flex; gap: 5px; padding: 12px 0; animation: typingLife 1.6s linear 1.1s both; }
.ai-chat__typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .35; animation: blink 1s infinite; }
.ai-chat__typing i:nth-child(2) { animation-delay: .15s; } .ai-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes typingLife { 0% { opacity: 0; } 10%, 90% { opacity: 1; height: 32px; } 100% { opacity: 0; height: 0; padding: 0; } }
.ai-chat__a { font-size: 15.5px; line-height: 1.7; animation: chatIn .7s var(--ease) 2.7s both; }
.ai-chat__a mark { background: var(--volt); color: var(--ink); font-weight: 700; padding: 1px 6px; box-shadow: 0 0 0 0 rgba(236, 255, 92, .9); animation: markPulse 1.4s var(--ease) 3.4s both; }
@keyframes markPulse { 0% { box-shadow: 0 0 0 0 rgba(20, 69, 246, .6); } 100% { box-shadow: 0 0 0 12px rgba(20, 69, 246, 0); } }
.ph-chip { display: inline-block; padding: 0 7px; border-radius: 4px; background: rgba(19, 4, 14, .08); border: 1px dashed rgba(19, 4, 14, .35); font-weight: 600; line-height: 1.5; }
.ph-chip--dark { background: rgba(255, 249, 244, .1); border-color: rgba(255, 249, 244, .4); }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ai-cite {
  margin-top: 16px; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 14px 10px 10px; border: 2px solid var(--ink); border-radius: 10px; background: #fff;
  animation: chatIn .7s var(--ease) 3.3s both; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
:is(a, button).ai-cite:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--blue); }
.ai-cite__thumb { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--ink); }
.ai-cite__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); transform-origin: 32% 28%; }
.ai-cite__text { display: grid; line-height: 1.35; min-width: 0; }
.ai-cite__text strong { font-family: var(--f-ui); font-weight: 800; font-size: 15px; }
.ai-cite__text span { font-size: 14px; color: var(--muted-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-cite__badge { background: var(--ink); color: var(--volt); font-family: var(--f-ui); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 6px; animation: badgePop .5s cubic-bezier(.3, 1.6, .5, 1) 3.9s both; }
@keyframes badgePop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.ai-chat__input { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; border: 2px solid #b9b5b0; border-radius: 999px; color: #8d8790; font-size: 15px; }
.ai-chat__input span::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-chat__input svg { width: 22px; height: 22px; color: var(--ink); }
@media (max-width: 560px) {
  .ai-chat__bar { grid-template-columns: auto 1fr; }
  .ai-chat__title { display: none; }
  .ai-chat__q { max-width: 100%; font-size: 14.5px; }
  .ai-chat__answer { grid-template-columns: 1fr; }
  .ai-cite { grid-template-columns: 44px 1fr; }
  .ai-cite__thumb { width: 44px; height: 44px; }
  .ai-cite__badge { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Section 1: blog feed vs topic page ---------- */
.ai-change__lede { font-family: var(--f-ui); font-weight: 700; line-height: 1.3; max-width: 30ch; }
.ai-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.ai-vs__col { border-radius: var(--radius); padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; }
.ai-vs__col h3 { margin-top: 12px; }
.ai-vs__sub { font-size: 14px; margin: 4px 0 18px; opacity: .7; }
.ai-vs__col--bad { background: #ebebeb; }
.ai-vs__col--good { background: var(--ink); color: var(--cream); box-shadow: 10px 10px 0 var(--volt); }
.ai-vs__col--good h3 { color: var(--paper); }
.ai-tag { align-self: flex-start; font-family: var(--f-ui); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--volt); color: var(--ink); }
.ai-tag--bad { background: var(--ink); color: var(--volt); }
.ai-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ai-feed li {
  display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; background: #fff; padding: 12px; border-radius: 4px;
  font-family: var(--f-ui); font-weight: 700; font-size: 14px; line-height: 1.3; transform: rotate(var(--r, 0deg));
  box-shadow: 0 2px 0 rgba(19, 4, 14, .06); transition: transform .5s var(--ease);
}
.ai-feed time { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.ai-feed .ph-chip { font-size: 12px; padding: 0 4px; }
.is-in .ai-feed li { animation: jitter 6s ease-in-out infinite; animation-delay: calc(var(--r) * 3); }
@keyframes jitter { 50% { transform: rotate(calc(var(--r) * -1)) translateX(3px); } }
.ai-hub__head { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 12px; border: 2px solid var(--volt); border-radius: 6px; }
.ai-hub__head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 30% 20%; }
.ai-hub__head strong { display: block; font-family: var(--f-ui); font-weight: 800; font-size: 14px; line-height: 1.25; color: var(--paper); }
.ai-hub__head small { font-size: 12px; opacity: .75; }
.ai-hub__list { list-style: none; margin: 14px 0 0 10px; padding: 0 0 0 14px; display: grid; gap: 8px; border-left: 2px solid rgba(236, 255, 92, .5); position: relative; }
.ai-hub__list li { background: var(--ink-3); padding: 9px 12px; border-radius: 4px; position: relative; }
.ai-hub__list li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 14px; height: 2px; background: var(--volt); opacity: .6; }
.ai-hub__list strong { display: block; font-family: var(--f-ui); font-weight: 700; font-size: 14px; color: var(--paper); }
.ai-hub__list small { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.ai-hub__list .ai-hub__foot { background: none; border: 1px solid var(--line-dark); font-size: 12px; opacity: .8; }
.js .ai-vs__col--good .ai-hub__list li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.35s + var(--i) * .1s); }
.js .ai-vs__col--good.is-in .ai-hub__list li { opacity: 1; transform: none; }
.ai-change__close { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.ai-change__close .lead { max-width: 70ch; }
@media (max-width: 1100px) and (min-width: 961px) { .ai-vs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ai-vs { grid-template-columns: 1fr; } }

/* ---------- Section 2: five layers ---------- */
.ai-layers-head { max-width: 860px; }
.ai-layers { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ai-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; position: relative; }
.ai-stack li { display: block; padding: 0; background: none; }
.ai-stack__btn {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius);
  background: #2e2a2d; border: 2px solid transparent; transition: background .3s var(--ease), border-color .3s, transform .35s var(--ease);
}
.ai-stack .n { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; }
.ai-stack strong { display: block; font-family: var(--f-body); font-weight: 700; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.25; }
.ai-stack small { display: block; font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; opacity: .85; margin-top: 2px; }
.ai-browser { margin: 0; border-radius: 14px; overflow: hidden; border: 2px solid var(--blue); background: #1f2440; box-shadow: 0 30px 80px rgba(20, 69, 246, .3); max-width: 460px; justify-self: center; width: 100%; }
.ai-browser__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--ink-2); color: var(--muted-dark); }
.ai-browser__url { flex: 1; font-family: var(--f-ui); font-size: 12px; font-weight: 600; background: rgba(255, 249, 244, .08); border-radius: 999px; padding: 5px 12px; }
.ai-browser__view { aspect-ratio: 9 / 12; overflow: hidden; position: relative; }
.ai-browser__view img { width: 100%; height: auto; animation: topicScroll 18s ease-in-out infinite alternate; }
@keyframes topicScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(-40%); } }
:is(a, button).ai-browser:hover .ai-browser__view img { animation-play-state: paused; }
.ai-browser figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted-dark); background: var(--ink-2); }
.ai-principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ai-pr { background: #2b1726; border-radius: var(--radius); padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
:is(a, button).ai-pr:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--blue); }
.ai-pr h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.3; color: var(--volt) !important; min-height: 3.9em; }
.ai-pr p { font-size: 16px; line-height: 1.55; }
.ai-pr--volt { background: var(--volt); color: var(--ink); }
.ai-pr--volt h3 { color: var(--ink) !important; }
.ai-center-row { justify-content: center; }
@media (max-width: 1180px) { .ai-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-pr--volt { grid-column: 1 / -1; } .ai-pr h3 { min-height: 0; } }
@media (max-width: 960px) { .ai-layers { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ai-principles { grid-template-columns: 1fr; }
  .ai-stack__btn { padding: 14px 16px; grid-template-columns: 40px 1fr; gap: 12px; }
  .ai-stack .n { width: 38px; height: 38px; font-size: 17px; }
}

/* ---------- Section 3: components ---------- */
.ai-bold { font-family: var(--f-body); font-weight: 700; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.4; }
.ai-video { margin: 0; }
.ai-video .video-frame { box-shadow: 12px 12px 0 var(--volt); border: 2px solid var(--ink); }
.ai-video figcaption { margin-top: 26px; font-size: 15px; max-width: 56ch; }
.ai-comps .slider__track { grid-auto-columns: minmax(280px, calc((100% - 60px) / 3.3)); }
.ai-comp { border: 2px solid var(--ink); border-radius: var(--radius); background: #ebebeb; padding: 18px 18px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
:is(a, button).ai-comp:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--blue); }
.ai-comp__media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ink); margin-bottom: 12px; }
.ai-comp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
:is(a, button).ai-comp:hover .ai-comp__media img { transform: scale(1.06); }
.ai-comp h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.12; }
.ai-comp p { font-size: 16px; }
@media (max-width: 640px) { .ai-comps .slider__track { grid-auto-columns: 86%; } }

/* CSS-built component mockups */
.mock { display: grid; place-items: center; padding: 14%; color: var(--cream); }
.mock > div { width: 100%; background: #252a45; border: 1px solid rgba(182, 196, 245, .35); border-radius: 6px; padding: 12px; display: grid; gap: 8px; transition: transform .5s var(--ease); }
:is(a, button).ai-comp:hover .mock > div { transform: scale(1.04); }
.mk-label { font-family: var(--f-ui); font-weight: 700; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.mock u { display: block; height: 6px; border-radius: 3px; background: rgba(255, 249, 244, .35); text-decoration: none; }
.mock u.s { width: 60%; }
.mk-hvid__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-hvid__grid i { aspect-ratio: 16 / 9; border-radius: 4px; background: linear-gradient(135deg, #3a4170, #1b1f38); display: grid; place-items: center; }
.mk-hvid__grid b { width: 22px; height: 15px; border-radius: 4px; background: #ff2b2b; position: relative; }
.mk-hvid__grid b::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform: translateX(1px); }
.mk-row { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 6px; background: rgba(255, 249, 244, .06); border-radius: 4px; }
.mk-row i { aspect-ratio: 4 / 3; border-radius: 3px; background: linear-gradient(135deg, #e7b53a, #9a6b0a); }
.mk-row span { display: grid; gap: 5px; }
.mk-row b { font-family: var(--f-ui); font-size: 11px; font-weight: 700; color: var(--volt); }
.mk-q { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; padding: 8px; border: 1px solid rgba(182, 196, 245, .45); background: var(--paper); border-radius: 3px; }
.mk-q b { font-family: var(--f-display); font-size: 12px; color: var(--blue); }
.mk-q u { background: rgba(19, 4, 14, .35); }
.mk-q .mk-a { grid-column: 1 / -1; display: grid; gap: 5px; padding-top: 6px; border-top: 1px solid rgba(20, 69, 246, .4); }
.mk-q .mk-a u { background: rgba(19, 4, 14, .2); }
.mk-table table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: 11px; }
.mk-table th { color: var(--volt); font-weight: 800; padding: 4px; }
.mk-table td { padding: 7px 4px; border-top: 1px solid rgba(255, 249, 244, .15); text-align: center; }
.mk-table td:first-child { width: 55%; }
.mk-table td.y::before { content: "✓"; color: var(--mint); font-weight: 800; }
.mk-table td.n::before { content: "✕"; color: #ff8a8a; font-weight: 800; }
.mk-dl { justify-items: center; padding: 18px !important; }
.mk-doc { width: 58%; aspect-ratio: 8.5 / 11; background: var(--paper); border-radius: 4px; padding: 14px 12px; display: grid; align-content: start; gap: 7px; position: relative; box-shadow: 6px 6px 0 var(--blue); }
.mk-doc u { background: rgba(19, 4, 14, .25) !important; }
.mk-pdf { justify-self: start; background: var(--ink); color: var(--volt); font-family: var(--f-display); font-size: 11px; padding: 2px 6px; border-radius: 2px; margin-bottom: 4px; }
.mk-btn { margin-top: 10px; background: var(--volt); color: var(--ink); font-family: var(--f-display); font-size: 11px; text-transform: uppercase; padding: 6px 10px; }

/* ---------- Section 4: process steps ---------- */
.ai-process__intro { align-self: end; }
.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.ai-steps::before { content: ""; position: absolute; left: 40px; right: 40px; top: 44px; height: 2px; background: var(--volt); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; z-index: 0; }
.ai-steps.is-in::before, .no-js .ai-steps::before, .reduced .ai-steps::before { transform: scaleX(1); }
.ai-steps li { position: relative; z-index: 1; border: 1px solid rgba(255, 249, 244, .55); border-radius: var(--radius); padding: 22px 20px 26px; background: var(--ink); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.js .ai-steps li { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s, box-shadow .35s var(--ease); transition-delay: calc(var(--i) * .12s + .2s), calc(var(--i) * .12s + .2s), 0s, 0s; }
.js .ai-steps.is-in li { opacity: 1; transform: none; }
/* hover removed: not clickable */
.ai-steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; box-shadow: 0 0 0 6px var(--ink); }
.ai-steps h3 { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.3; }
.ai-steps p { font-size: 15.5px; line-height: 1.6; color: var(--muted-dark); }
@media (max-width: 1100px) {
  .ai-steps { grid-template-columns: 1fr; gap: 14px; padding-left: 0; }
  .ai-steps::before { left: 41px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; transform-origin: top; transform: scaleY(0); }
  .ai-steps.is-in::before, .reduced .ai-steps::before { transform: scaleY(1); }
  .ai-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; align-items: start; }
  .ai-steps li p { grid-column: 2; }
  .ai-steps h3 { align-self: center; }
}

/* ---------- Section 5: what's included ---------- */
.ai-incl .eyebrow { color: var(--paper); }
.ai-incl__head { position: sticky; top: calc(var(--header-h) + 40px); }
.ai-incl__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--paper); }
.ai-incl__list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; padding: 26px 0; border-bottom: 1px solid rgba(252, 254, 254, .3); transition: padding .3s var(--ease); }
/* hover removed: not clickable */
.ai-incl__list .ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--volt); color: var(--ink); border-radius: 50%; transition: transform .4s var(--ease); }
/* hover removed: not clickable */
.ai-incl__list svg { width: 26px; height: 26px; }
.ai-incl__list h3 { font-size: clamp(22px, 2vw, 28px); color: var(--paper); }
.ai-incl__list p { margin-top: 8px; font-size: 17px; line-height: 1.6; color: rgba(252, 254, 254, .88); max-width: 56ch; }
@media (max-width: 960px) { .ai-incl__head { position: static; } }
@media (max-width: 520px) { .ai-incl__list li { grid-template-columns: 44px 1fr; gap: 16px; } .ai-incl__list .ico { width: 44px; height: 44px; } .ai-incl__list svg { width: 22px; height: 22px; } }

/* ---------- Section 6: work + gauge ---------- */
.ai-work-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ai-gauge-band { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.ai-gauge { width: 100%; height: auto; overflow: visible; }
.ai-gauge path { fill: none; stroke-width: 18; stroke-linecap: round; }
.ai-gauge .track { stroke: rgba(255, 249, 244, .12); }
.ai-gauge .before { stroke: var(--blue-soft); stroke-dasharray: 12 100; opacity: .7; }
.ai-gauge .after { stroke: var(--volt); stroke-dasharray: 0 100; transition: stroke-dasharray 1.8s var(--ease) .5s; }
.ai-gauge-band.is-in .ai-gauge .after, .no-js .ai-gauge .after, .reduced .ai-gauge .after { stroke-dasharray: 30 100; }
.ai-gauge-band__k { font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--volt); }
.ai-gauge-band__v { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; font-family: var(--f-display); line-height: 1; margin: 12px 0 10px; }
.ai-gauge-band__v .was { font-size: clamp(36px, 4vw, 56px); color: var(--blue-soft); opacity: .8; }
.ai-gauge-band__v .arrow { font-size: clamp(28px, 3vw, 40px); color: var(--muted-dark); }
.ai-gauge-band__v .now { font-size: clamp(56px, 7vw, 104px); color: var(--paper); }
@media (max-width: 640px) { .ai-gauge-band { grid-template-columns: 1fr; } .ai-gauge { max-width: 260px; } }

/* ---------- FAQ extras ---------- */
.ai-timeline { margin: 14px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ai-timeline li { padding: 10px 14px; border-left: 4px solid var(--volt); background: #f4f3f1; }
.faq .answer .text-link { text-decoration-color: var(--blue); }

/* ---------- Fixes ---------- */
.section .divider.mt-xl { margin-top: 64px; }
.ai-steps { margin-top: 64px; }
.ai-cite__thumb img { transform: none; }
.ai-hub__head img { object-position: center; }
.ai-gauge .before { stroke-width: 8; opacity: 1; }
.ai-gauge-band .muted { color: var(--muted-dark); }
.ai-comps .slider__track { grid-auto-columns: clamp(280px, calc((100% - 60px) / 3.3), 420px); }
@media (max-width: 640px) { .ai-comps .slider__track { grid-auto-columns: 86%; } }

/* Five layers: left-aligned tabs that drive the pillar-page video */
.ai-stack__btn:hover { border-color: var(--volt); }
.ai-stack__btn.is-active { background: var(--volt); color: var(--ink); }
.ai-stack__btn.is-active .n { background: var(--ink); color: var(--volt); }
.ai-stack__btn:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.ai-browser__view--video { aspect-ratio: 9 / 16; background: #1f2440; }
.ai-browser__view--video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-browser { max-width: 420px; }
/* Hero animation */
.ai-hero-video { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 720px; border-radius: 18px; border: 1px solid rgba(255, 249, 244, .3); background: #ebebeb; box-shadow: 0 40px 100px rgba(20, 69, 246, .35), 0 0 0 8px rgba(255, 249, 244, .05); }

/* Component cards: single-row thumbnail sliders (video playlist, article series) */
.mock > .mk-slider { padding: 12px 0 14px; gap: 10px; overflow: hidden; }
.mk-slider__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; }
.mk-slider__nav { display: inline-flex; gap: 6px; }
.mk-arrow { width: 24px; height: 24px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--volt); color: var(--ink); cursor: pointer; padding: 0; transition: transform .2s, opacity .2s; }
.mk-arrow svg { width: 12px; height: 12px; }
.mk-arrow:hover { transform: scale(1.1); }
.mk-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.mk-arrow:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.mk-slider__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; padding: 0 12px; scrollbar-width: none; scroll-behavior: smooth; }
.mk-slider__track::-webkit-scrollbar { display: none; }
.mk-slider__track > span { flex: none; scroll-snap-align: start; display: grid; gap: 6px; }
.mk-slider__track--video > span { width: 64%; }
.mk-slider__track--article > span { width: 46%; background: rgba(255, 249, 244, .06); border-radius: 5px; padding: 6px; }
.mk-vthumb i { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; background: linear-gradient(135deg, #3a4170, #1b1f38); display: grid; place-items: center; }
.mk-vthumb i b { width: 22px; height: 15px; border-radius: 4px; background: #ff2b2b; position: relative; }
.mk-vthumb i b::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform: translateX(1px); }
.mk-vthumb em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-family: var(--f-ui); font-size: 8px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .7); padding: 1px 3px; border-radius: 2px; }
.mk-athumb i { aspect-ratio: 4 / 3; border-radius: 3px; background: linear-gradient(135deg, #e7b53a, #9a6b0a); }
.mk-athumb b { font-family: var(--f-ui); font-size: 11px; font-weight: 700; color: var(--volt); }
@media (prefers-reduced-motion: reduce) { .mk-slider__track { scroll-behavior: auto; } }

/* "What's included": soft fog background with ink text and blue accents (was full blue) */
.s-fog.ai-incl .eyebrow { color: var(--blue); }
.s-fog.ai-incl h2 em { color: var(--blue); }
.s-fog.ai-incl .ai-incl__list { border-top-color: var(--ink); }
.s-fog.ai-incl .ai-incl__list li { border-bottom-color: var(--line-light); }
.s-fog.ai-incl .ai-incl__list .ico { background: var(--blue); color: var(--paper); }
.s-fog.ai-incl .ai-incl__list h3 { color: var(--ink); }
.s-fog.ai-incl .ai-incl__list p { color: var(--muted-light); }
