/* ---------- Hero visual: a site that builds itself (wireframe → layout → brand → live) ---------- */
.hero-visual { position: relative; min-width: 0; perspective: 1600px; transition: transform 1.3s var(--ease) .2s; }
.browser { position: relative; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.hero-browser { transform: rotateX(calc(5deg + var(--rx, 0deg))) rotateY(calc(-9deg + var(--ry, 0deg))); transition: transform 1s var(--ease); }
.b-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.b-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.b-url {
  display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; max-width: 62%; margin-left: 12px;
  padding: 4px 10px; border-radius: 7px; background: var(--bg-2);
  font: 400 .72rem/1.4 var(--f-mono); color: var(--fg-3); white-space: nowrap; overflow: hidden;
}
.b-url .ico { width: 11px; height: 11px; transition: color .4s; }
.b-status { margin-left: auto; font: 500 .66rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.b-status::after { content: "No ar"; }
[data-stage="0"] .b-status::after { content: "Wireframe"; }
[data-stage="1"] .b-status::after { content: "Layout"; }
[data-stage="2"] .b-status::after { content: "Identidade"; }
.hero-browser:not([data-stage]) .b-url .ico, [data-stage="3"] .b-url .ico { color: var(--go); }
.hero-browser:not([data-stage]) .b-status, [data-stage="3"] .b-status { color: var(--go); border-color: color-mix(in srgb, var(--go) 45%, transparent); }

.b-body { position: relative; display: grid; gap: clamp(12px, 1.6vw, 18px); padding: clamp(14px, 2vw, 22px); }
.k { border-radius: 6px; border: 1.5px dashed transparent; transition: background .8s var(--ease), border-color .6s, width .9s var(--ease), box-shadow .6s, transform .8s var(--ease); }
.b-nav { display: flex; align-items: center; gap: 10px; }
.b-logo { width: 70px; height: 14px; background: var(--fg); }
.b-lnk { width: 34px; height: 8px; background: var(--line-2); }
.b-lnk:first-of-type { margin-left: auto; }
.b-cta { width: 66px; height: 22px; border-radius: 999px; background: var(--brand); }
.b-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: center; }
.b-txt { display: grid; gap: 9px; }
.b-h1 { height: 17px; width: 100%; background: var(--fg); }
.b-h1.s { width: 68%; }
.b-p { height: 7px; width: 94%; background: var(--line-2); margin-top: 4px; }
.b-p.s { width: 62%; margin-top: 0; }
.b-btns { display: flex; gap: 8px; margin-top: 8px; }
.b-btn { width: 82px; height: 26px; border-radius: 999px; background: var(--brand); box-shadow: 0 8px 20px -8px var(--brand); }
.b-btn.alt { width: 62px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.b-img {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 30% 28%, var(--cyan), transparent 52%), linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 25%, var(--bg-2)));
}
.b-img::after { content: ""; position: absolute; inset: 22% 18% -30% 30%; border-radius: 50% 50% 0 0; background: color-mix(in srgb, var(--bg-2) 35%, transparent); backdrop-filter: blur(4px); }
.b-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.b-card { display: grid; gap: 7px; padding: 12px; background: var(--bg-3); }
.b-card i { display: block; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 70%, transparent); }
.b-card b { display: block; height: 7px; width: 80%; border-radius: 4px; background: var(--fg-3); }
.b-card span { display: block; height: 5px; width: 58%; border-radius: 4px; background: var(--line-2); }

[data-stage="0"] .k { background: transparent; border-color: var(--line-2); box-shadow: none; }
[data-stage="0"] .b-card i, [data-stage="0"] .b-card b, [data-stage="0"] .b-card span { background: transparent; outline: 1.5px dashed var(--line-2); }
[data-stage="0"] .b-h1 { width: 52%; }
[data-stage="1"] .b-cta, [data-stage="1"] .b-btn, [data-stage="1"] .b-card i { background: var(--fg-3); box-shadow: none; }
[data-stage="1"] .b-img { background: var(--bg-3); }

.b-pointer { position: absolute; z-index: 3; left: 26%; top: 52%; width: 20px; height: 20px; color: var(--fg); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); transition: left 1.1s var(--ease), top 1.1s var(--ease); }
.b-pointer svg { width: 100%; height: 100%; fill: currentColor; stroke: var(--bg); stroke-width: 1.5; }
[data-stage="0"] .b-pointer { left: 18%; top: 30%; }
[data-stage="1"] .b-pointer { left: 72%; top: 42%; }
[data-stage="2"] .b-pointer { left: 50%; top: 80%; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px; border: 1px solid var(--line-2);
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow); font-size: .84rem; line-height: 1.3; white-space: nowrap;
  transition: opacity .7s var(--ease), transform 1s var(--ease);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -9px; } }
.float-card strong { display: block; font-size: .88rem; font-weight: 600; }
.float-card small { display: block; font-size: .78rem; color: var(--fg-3); }
.hero-visual[data-stage]:not([data-stage="3"]) .float-card { opacity: 0; transform: translateY(18px) scale(.92); }
.fc-lead { top: 12%; right: -5%; animation-delay: -2s; }
.fc-ai { left: -7%; bottom: 20%; transition-delay: .12s; }
.fc-ads { right: 4%; bottom: -6%; animation-delay: -4s; transition-delay: .25s; }
.wa-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--go); color: var(--go-ink); flex: none; }
.wa-dot .ico { width: 20px; height: 20px; }
.fc-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 24%, transparent); color: var(--cyan); }
.fc-ico .ico { width: 20px; height: 20px; }

.ring { position: relative; display: grid; place-items: center; flex: none; }
.ring svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.rg-t { stroke: var(--line-2); }
.rg-p { stroke: var(--go); stroke-linecap: round; stroke-dasharray: 282.74px; stroke-dashoffset: calc(282.74px * (1 - var(--v) / 100)); }
.rg-v { position: absolute; font: 600 1em/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-sm { width: 46px; height: 46px; font-size: .9rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 1; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 .68rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); transform-origin: top; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Segments marquee ---------- */
.segments { padding-block: clamp(44px, 6vw, 80px); border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 70%, transparent)); }
.seg-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 20px; margin-bottom: 28px; }
.seg-head .foot-all { color: var(--cyan); font-size: .9rem; text-decoration: none; }
.segments .seg-head h2 { margin: 0; }
.segments h2 { margin: 0 0 28px; text-align: center; font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.marquee { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee ul { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0 12px 0 0; list-style: none; animation: mq 70s linear infinite; }
.marquee.rev ul { animation-direction: reverse; animation-duration: 84s; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee a {
  display: inline-flex; align-items: center; gap: .7em; padding: .75em 1.3em; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; white-space: nowrap; color: var(--fg-2);
  font: 400 clamp(.95rem, 1.5vw, 1.25rem)/1.2 var(--f-display); letter-spacing: -.02em;
  transition: color .3s, border-color .3s, background-color .3s;
}
.marquee a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.marquee a:hover { color: var(--fg); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }

/* ---------- Manifesto: words light up as you read, set in the body face at a comfortable size ---------- */
.manifesto { padding-block: clamp(80px, 11vw, 140px); }
.manifesto .wrap { display: grid; gap: 24px; justify-items: start; max-width: calc(1000px + 2 * var(--gutter)); }
.fill-text { margin: 0; max-width: 30em; font: 500 clamp(1.4rem, 2.5vw, 2.15rem)/1.42 var(--f-body); letter-spacing: -.012em; text-wrap: pretty; }
.fill-text b { font-weight: 600; color: var(--cyan); }
.fill-text.armed .w { color: color-mix(in srgb, var(--fg) 40%, var(--bg)); transition: color .6s var(--ease); }
.fill-text.armed .w.on { color: var(--fg); }
.fill-text.armed .w.hl.on { color: var(--cyan); }

/* ---------- Section heads ---------- */
.section { position: relative; padding-block: clamp(90px, 11vw, 150px); }
.sec-head { display: grid; gap: 18px; max-width: 800px; margin-bottom: clamp(40px, 5vw, 66px); }
.sec-head h2 { margin: 0; font: 500 clamp(1.85rem, 3.4vw, 2.9rem)/1.1 var(--f-display); letter-spacing: -.028em; text-wrap: balance; }
.sec-head h2 .serif { font-size: 1.12em; line-height: .9; }
.sec-lead { margin: 0; max-width: 40em; font-size: 1.1rem; color: var(--fg-2); text-wrap: pretty; }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .4s, transform .8s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand) 20%, transparent), transparent 62%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--cyan), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover::before, .card:hover::after, .card:focus-within::after { opacity: 1; }
.card-lg { grid-row: span 2; }
.card-wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: clamp(18px, 3vw, 36px); }
.card-wide .card-txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.card-wide .viz { flex: 1.1 1 0; height: auto; min-height: 190px; margin: 0; }
.tag { font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.card h3 { margin: 0; font: 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.15 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.card p { margin: 0; color: var(--fg-2); }
.ticks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; color: var(--fg-2); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 11px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) translateY(-3px); }
.more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--fg); }
.more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.more .ico { transition: transform .5s var(--ease); color: var(--cyan); }
.card:hover .more .ico { transform: translateX(6px); }

.viz { position: relative; height: 170px; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), color-mix(in srgb, var(--bg-3) 20%, var(--bg-2))); }
.card-lg .viz { flex: 1 1 auto; height: auto; min-height: 280px; container-type: inline-size; }
.card-lg .pg { top: calc(50% - 26.7cqw); }
.pg {
  position: absolute; left: 50%; top: 16%; width: 40%; aspect-ratio: 3 / 4; margin-left: -20%;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transition: transform 1s var(--ease);
}
.pg::before { content: ""; position: absolute; left: 10%; right: 10%; top: 16%; height: 24%; border-radius: 7px; background: var(--grad); opacity: .9; }
.pg::after { content: ""; position: absolute; left: 10%; right: 26%; top: 48%; height: 36%; background: repeating-linear-gradient(var(--line-2) 0 5px, transparent 5px 12px); }
.pg span { position: absolute; left: 10%; top: 5%; font: 500 .6rem var(--f-mono); color: var(--fg-3); letter-spacing: .06em; }
.pg:nth-child(1) { transform: translateX(-58%) rotate(-9deg) scale(.92); }
.pg:nth-child(2) { z-index: 2; transform: translateY(-4%); }
.pg:nth-child(3) { transform: translateX(58%) rotate(9deg) scale(.92); }
.card:hover .pg:nth-child(1) { transform: translateX(-76%) rotate(-14deg) scale(.92); }
.card:hover .pg:nth-child(2) { transform: translateY(-10%) scale(1.03); }
.card:hover .pg:nth-child(3) { transform: translateX(76%) rotate(14deg) scale(.92); }

.shop { position: absolute; inset: 20px 24% 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop i { position: relative; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); transition: transform .7s var(--ease); }
.shop i::before { content: ""; position: absolute; inset: 14% 26% 40%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cyan), var(--brand) 70%); }
.shop i::after { content: ""; position: absolute; left: 14%; right: 40%; bottom: 14%; height: 6px; border-radius: 3px; background: var(--fg-3); }
.card:hover .shop i:nth-child(2) { transform: translateY(-6px); }
.card:hover .shop i:nth-child(3) { transform: translateY(-4px); }
.cart { position: absolute; right: 12%; top: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -8px var(--brand); }
.cart b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--go); color: var(--go-ink); font: 700 .68rem/19px var(--f-mono); text-align: center; }
.card:hover .cart b { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

.phone { position: absolute; left: 50%; top: 18px; width: 96px; height: 200px; margin-left: -48px; overflow: hidden; border-radius: 20px; border: 2px solid var(--line-2); background: var(--bg-2); }
.tall { display: grid; gap: 8px; align-content: start; height: 420px; padding: 14px 9px; transition: transform 2.6s var(--ease-io); }
.card:hover .tall { transform: translateY(-210px); }
.tall i { display: block; height: 7px; border-radius: 4px; background: var(--line-2); }
.tall i.h { height: 14px; background: var(--fg-3); }
.tall i.c { width: 62%; height: 18px; border-radius: 999px; background: var(--brand); }
.tall i.m { height: 64px; border-radius: 10px; background: var(--grad); }
.tall i.g { height: 40px; border-radius: 8px; background: var(--bg-3); }

.host-viz { display: grid; align-content: space-between; padding: 18px; }
.host-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.host-chips span { display: inline-flex; align-items: center; gap: 7px; padding: .4em .8em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font: 500 .72rem var(--f-mono); color: var(--fg-2); }
.host-chips .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 74px; }
.bars i { flex: 1; height: var(--h, 60%); border-radius: 3px; background: linear-gradient(to top, color-mix(in srgb, var(--go) 75%, transparent), color-mix(in srgb, var(--cyan) 55%, transparent)); transform-origin: bottom; animation: eq 2.2s ease-in-out infinite alternate; animation-delay: calc(var(--n, 0) * -110ms); }
@keyframes eq { to { transform: scaleY(.55); } }

.serp { position: absolute; inset: 18px; display: grid; align-content: start; gap: 14px; }
.serp-q { display: flex; align-items: center; gap: 10px; padding: .7em 1em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .9rem; color: var(--fg); }
.serp-q .ico { color: var(--fg-3); }
.serp-q .caret { flex: none; width: 1.5px; height: 1.1em; margin-left: -8px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.q-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.serp-r small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.swap-el { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.swapping .swap-el { opacity: 0; transform: translateY(8px); }
.niches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.niches .mono-l { margin-right: 4px; }
.niche { min-height: 38px; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg-2); font-size: .9rem; font-weight: 500; cursor: pointer; transition: color .3s, background-color .3s, border-color .3s; }
.niche:hover { color: var(--fg); border-color: var(--fg-3); }
.niche[aria-pressed="true"] { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
@keyframes blink { 50% { opacity: 0; } }
.serp-r { display: grid; gap: 3px; padding: 4px 6px; }
.serp-r small { font: 400 .74rem var(--f-mono); color: var(--fg-3); }
.serp-r b { font: 500 1.02rem/1.3 var(--f-body); color: var(--brand-2); }
.serp-r span { font-size: .84rem; line-height: 1.45; color: var(--fg-2); }

/* ---------- Channels: Google, AI answers, paid ads ---------- */
.chan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chan {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2);
}
.chan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand) 18%, transparent), transparent 62%);
}
.chan:hover::before { opacity: 1; }
.chan-viz { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), color-mix(in srgb, var(--bg-3) 25%, var(--bg-2))); }
.chan-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: clamp(22px, 2.4vw, 28px); }
.chan-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.chan-k .ico { width: 16px; height: 16px; }
.chan h3 { margin: 0; font: 500 clamp(1.25rem, 1.7vw, 1.45rem)/1.18 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }

.ai { position: absolute; inset: 18px; display: grid; align-content: start; gap: 12px; }
.ai-q { justify-self: end; max-width: 86%; margin: 0; padding: .65em 1em; border-radius: 16px 16px 4px 16px; background: var(--brand); color: var(--brand-ink); font-size: .86rem; line-height: 1.4; }
.ai-a { display: flex; gap: 10px; align-items: flex-start; }
.ai-a .fc-ico { width: 30px; height: 30px; border-radius: 9px; }
.ai-a .fc-ico .ico { width: 16px; height: 16px; }
.ai-a p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--fg-2); }
.ai-a b { color: var(--fg); font-weight: 600; }
.ai-src { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0 0 0 40px; padding: .35em .75em .35em .4em; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent); background: color-mix(in srgb, var(--cyan) 10%, transparent); font-size: .76rem; animation: srcGlow 3.2s ease-in-out infinite; }
.ai-src span { padding: .15em .55em; border-radius: 999px; background: var(--bg-2); color: var(--fg-3); font: 500 .66rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.ai-src b { font: 500 .76rem var(--f-mono); color: var(--cyan); }
@keyframes srcGlow { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 12%, transparent); } }

.ads { position: absolute; inset: 18px; display: grid; align-content: start; gap: 12px; }
.ad-card { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.ad-card small { font-size: .72rem; color: var(--fg-3); }
.ad-card small b { color: var(--fg); font-weight: 700; }
.ad-card span { font-size: .95rem; font-weight: 600; color: var(--brand-2); }
.ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ev li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .82rem; animation: evPulse 6s var(--ease) infinite; }
.ev li:nth-child(2) { animation-delay: 2s; }
.ev li:nth-child(3) { animation-delay: 4s; }
.ev i { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.ev .cv i { background: var(--go); }
.ev span { font: 500 .68rem var(--f-mono); color: var(--fg-3); }
.ev .cv span { color: var(--go); }
@keyframes evPulse { 0%, 30%, 100% { background: transparent; } 8% { background: color-mix(in srgb, var(--brand) 16%, transparent); } }

/* Channels as tabs: three short promises on the left, one large example on the right. */
.chan-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.chan-tabs { display: grid; gap: 10px; align-content: center; }
.chan-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: transparent;
  color: var(--fg); font: inherit; text-align: left; cursor: pointer;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.chan-tab:hover { border-color: var(--line-2); }
.chan-tab[aria-selected="true"] { background: var(--bg-2); border-color: var(--line-2); box-shadow: var(--shadow); }
.chan-tab .fc-ico { width: 46px; height: 46px; }
.chan-tab .fc-ico .ico { width: 22px; height: 22px; }
.ct-txt { display: grid; gap: 4px; min-width: 0; }
.ct-txt b { font: 500 1.2rem/1.2 var(--f-display); letter-spacing: -.02em; }
.ct-txt small { font-size: .95rem; line-height: 1.45; color: var(--fg-3); transition: color .4s; }
.chan-tab[aria-selected="true"] .ct-txt small { color: var(--fg-2); }
.ct-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.chan-tab[aria-selected="true"] .ct-bar { transform: scaleX(1); }
.chan-wrap.auto .chan-tab[aria-selected="true"] .ct-bar { animation: ctFill 7s linear both; }
@keyframes ctFill { from { transform: scaleX(0); } }
.chan-stage { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: var(--shadow); }
.cs-views { position: relative; flex: 1; min-height: 280px; }
.cs-view { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.chan-stage[data-c="0"] .cs-0, .chan-stage[data-c="1"] .cs-1, .chan-stage[data-c="2"] .cs-2 { opacity: 1; transform: none; }
.cs-view .serp, .cs-view .ai, .cs-view .ads { inset: clamp(20px, 3vw, 34px); align-content: center; }
.cs-view .serp-q { font-size: 1rem; }
.cs-view .serp-r b { font-size: 1.15rem; }
.cs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 16px clamp(20px, 3vw, 34px); border-top: 1px solid var(--line); }
.cs-link { display: none; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--fg); }
.cs-link .ico { color: var(--cyan); transition: transform .4s var(--ease); }
.cs-link:hover .ico { transform: translateX(4px); }
.chan-stage[data-c="0"] .cs-link[data-c="0"], .chan-stage[data-c="1"] .cs-link[data-c="1"], .chan-stage[data-c="2"] .cs-link[data-c="2"] { display: inline-flex; }

/* SaaS card: a small product dashboard. */
.saas-viz { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px; }
.sv-side { display: grid; gap: 8px; align-content: start; padding: 10px 8px; border-radius: 10px; background: var(--bg-2); }
.sv-side i { display: block; height: 8px; border-radius: 4px; background: var(--line-2); }
.sv-side i.on { background: var(--brand); }
.sv-main { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-width: 0; }
.sv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-kpis span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.sv-kpis small { font-size: .64rem; color: var(--fg-3); }
.sv-kpis b { font: 600 .92rem var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sv-chart { display: flex; align-items: flex-end; gap: 5px; padding: 10px; border-radius: 10px; background: var(--bg-2); }
.sv-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--brand), var(--cyan)); transform-origin: bottom; transition: transform .8s var(--ease); }
.card:hover .sv-chart i { transform: scaleY(1.08); }
.builder .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* SEO: what the monthly work covers, next to an example report. */
.seo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.seo-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.seo-list li { display: flex; gap: 14px; align-items: flex-start; }
.seo-list .cat-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--cyan); }
.seo-list b { display: block; font: 500 1.05rem/1.25 var(--f-display); letter-spacing: -.02em; }
.seo-list li div span { display: block; margin-top: 3px; font-size: .95rem; line-height: 1.5; color: var(--fg-2); }
.seo-panel { margin: 0; display: grid; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--bg-2), var(--bg)); box-shadow: var(--shadow); }
/* Delivery checklist: every item ticks in order when the panel enters, then the bar fills. */
.seo-checks { list-style: none; margin: 0; padding: 0; display: grid; }
.seo-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.seo-checks li:first-child { border-top: 0; padding-top: 0; }
.sc-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--go); background: var(--go); color: var(--go-ink); transition: background-color .4s, border-color .4s; transition-delay: calc(var(--i) * 140ms + 200ms); }
.sc-box .ico { width: 15px; height: 15px; stroke-width: 2.6; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 140ms + 260ms); }
.motion .seo-panel:not(.in) .sc-box { background: transparent; border-color: var(--line-2); }
.motion .seo-panel:not(.in) .sc-box .ico { transform: scale(0); }
.sc-t { flex: 1; min-width: 0; color: var(--fg); font-weight: 500; line-height: 1.35; }
.seo-checks code { flex: none; padding: 4px 8px; border-radius: 7px; background: var(--bg-3); color: var(--cyan); font: 500 .72rem/1.2 var(--f-mono); white-space: nowrap; }
.sc-foot { display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.sc-foot .mono-l { flex: none; }
.sc-foot b { color: var(--go); font-weight: 600; }
.sc-bar { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: var(--bg-3); }
.sc-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--go)); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.motion .seo-panel:not(.in) .sc-bar i { transform: scaleX(0); }
@media (max-width: 980px) { .seo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .seo-checks code { display: none; }
}

/* Segment rows: two lines of sectors moving in opposite directions; hovering a pill pauses the row and plays its icon. */
.segm { display: grid; gap: 14px; }
.segm-row ul { animation-duration: 60s; }
.segm-row.rev ul { animation-duration: 72s; }
.segm-row a::before { content: none; }
.segp { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg); text-decoration: none; white-space: nowrap; transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.marquee .segp { font: inherit; padding: 12px 22px 12px 12px; color: var(--fg); }
.segp:hover, .segp:focus-visible { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--bg-2)); transform: translateY(-3px); }
.segp-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--cyan); transition: background-color .3s, color .3s, box-shadow .4s; }
.segp-ico .ico { width: 22px; height: 22px; }
.segp:hover .segp-ico, .segp:focus-visible .segp-ico { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 14%, transparent); }
.segp-txt b { display: block; font: 500 1.02rem/1.2 var(--f-display); letter-spacing: -.02em; }
.segp-txt small { display: block; margin-top: 2px; font-size: .82rem; color: var(--fg-3); }
.motion .segp:hover .segp-ico .ico, .motion .segp:focus-visible .segp-ico .ico { animation: var(--seg-anim) 1s var(--ease); }
.segm-foot { display: flex; justify-content: center; }
.segm-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 7px 20px 7px 7px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; color: var(--fg); text-decoration: none; text-align: left; transition: border-color .4s, background-color .4s; }
.segm-more:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--bg-2)); }
.segm-more .segp-ico { width: 36px; height: 36px; }
.segm-more > .ico { color: var(--cyan); transition: transform .4s var(--ease); }
.segm-more:hover > .ico { transform: translateX(5px); }
[data-anim="beat"] { --seg-anim: segBeat; }
[data-anim="tilt"] { --seg-anim: segTilt; }
[data-anim="rise"] { --seg-anim: segRise; }
[data-anim="twinkle"] { --seg-anim: segTwinkle; }
[data-anim="flip"] { --seg-anim: segFlip; }
[data-anim="shake"] { --seg-anim: segShake; }
[data-anim="bounce"] { --seg-anim: segBounce; }
[data-anim="drive"] { --seg-anim: segDrive; }
[data-anim="wave"] { --seg-anim: segWave; }
[data-anim="pulse"] { --seg-anim: segPulse; }
[data-anim="step"] { --seg-anim: segStep; }
[data-anim="scan"] { --seg-anim: segScan; }
[data-anim="zap"] { --seg-anim: segZap; }
@keyframes segBeat { 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } 60% { transform: none; } }
@keyframes segTilt { 25% { transform: rotate(-14deg); } 55% { transform: rotate(12deg); } 80% { transform: rotate(-4deg); } }
@keyframes segRise { 0% { transform: translateY(8px) scale(.8); opacity: .3; } 60% { transform: translateY(-3px); opacity: 1; } }
@keyframes segTwinkle { 40% { transform: rotate(90deg) scale(1.25); } 70% { transform: rotate(150deg) scale(.95); } 100% { transform: rotate(180deg); } }
@keyframes segFlip { 50% { transform: rotateY(180deg) scale(1.1); } 100% { transform: rotateY(360deg); } }
@keyframes segShake { 20%, 60% { transform: translateY(-3px) rotate(-6deg); } 40%, 80% { transform: translateY(-3px) rotate(6deg); } }
@keyframes segBounce { 30% { transform: translateY(-8px); } 55% { transform: translateY(0) scaleY(.9); } 75% { transform: translateY(-3px); } }
@keyframes segDrive { 30% { transform: translateX(7px); } 50% { transform: translateX(-9px); opacity: 0; } 51% { transform: translateX(-9px); opacity: 0; } 75% { transform: translateX(2px); opacity: 1; } }
@keyframes segWave { 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
@keyframes segPulse { 30% { transform: scale(1.18); filter: drop-shadow(0 0 6px currentColor); } 60% { transform: scale(.96); } }
@keyframes segStep { 25% { transform: translate(-3px, -4px) rotate(-12deg); } 50% { transform: translate(3px, -4px) rotate(12deg); } 75% { transform: translateY(-2px); } }
@keyframes segScan { 25% { transform: translate(-4px, -3px); } 50% { transform: translate(4px, -3px); } 75% { transform: translate(0, 3px); } }
@keyframes segZap { 10% { opacity: .25; } 20% { opacity: 1; transform: scale(1.25); } 30% { opacity: .35; } 45% { opacity: 1; transform: scale(1.1); } 70% { transform: none; } }
.show-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.show-foot .foot-all { color: var(--cyan); text-decoration: none; }

@media (max-width: 900px) {
  .chan-wrap { grid-template-columns: minmax(0, 1fr); }
  .chan-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chan-tab { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .chan-tab .ct-txt small { display: none; }
}
@media (max-width: 520px) {
  .chan-tab .fc-ico { width: 38px; height: 38px; }
  .ct-txt b { font-size: 1rem; }
  .cs-views { min-height: 300px; }
}
