/* ============================================================
   Clip Mansion — subpage stylesheet (pages.css)
   Loaded after site.css on every page except the homepage.
   Uses the tokens and components from site.css (chip, capsule
   button, cards, tiles, FAQ, booking card) and adds only what
   the subpages need: page hero, article layout, prose, and a
   few page-specific blocks.
   ============================================================ */

/* ---------- Page hero ---------- */
.phero { padding-top: 148px; }
.phero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-bottom: 20px; font-size: .8125rem; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.phero h1 { margin-top: 20px; font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 1.03; font-weight: 400; letter-spacing: -.045em; max-width: 14em; text-wrap: balance; }
.phero h1 em { line-height: 1; }
.phero-doc h1 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.12; letter-spacing: -.032em; max-width: 19em; }
.phero-lede { margin-top: 20px; font-size: 1.1875rem; line-height: 1.6; color: #3b4352; max-width: 43rem; text-wrap: pretty; }
.phero .hero-ctas, .phero .hero-trust { animation: none; }
.phero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; font-size: .875rem; color: var(--muted); }
.phero-meta > span + span::before { content: "·"; margin-right: 12px; opacity: .6; }
.phero-meta b { font-weight: 600; color: var(--ink); }
.byline { display: inline-flex; align-items: center; gap: 10px; }
.byline-av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .6875rem; font-weight: 600; letter-spacing: .02em; flex: none; }
.section-tight { padding-top: 64px; }
.phero + .section .stat-strip, .stat-strip.flush { margin-top: 0; }

/* Current page in the menus */
.dd-row[aria-current="page"] { background: var(--tint); }
.dd-row[aria-current="page"] .dd-ico { background: var(--ink); border-color: var(--ink); color: #fff; }
.drawer details a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Article layout ---------- */
.doc-layout { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.doc-layout > .prose, .doc-end { grid-column: 2; min-width: 0; }
.toc { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 112px; max-width: 232px; max-height: calc(100vh - 136px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .ico { display: none; width: 18px; height: 18px; transition: transform .3s; }
.toc ol { border-left: 1px solid var(--line-2); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 1px solid transparent; font-size: .875rem; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { color: var(--ink); border-left-color: var(--accent); font-weight: 500; }

/* ---------- Prose ---------- */
.prose { font-size: 1.0625rem; line-height: 1.72; color: #343a46; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose > h2 { margin-top: 2.1em; font-size: 2rem; line-height: 1.2; letter-spacing: -.028em; color: var(--ink); scroll-margin-top: 110px; }
.prose > h3 { margin-top: 1.9em; font-size: 1.375rem; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); scroll-margin-top: 110px; }
.prose > h2 + *, .prose > h3 + * { margin-top: .8em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-200); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s; }
.prose a:not(.btn):hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875em; background: var(--tint-2); border-radius: 6px; padding: .15em .4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { border-radius: 16px; border: 1px solid var(--line); }
.prose small { font-size: .875rem; color: var(--muted); }

.prose ul, .prose ol { display: grid; gap: .55em; }
.prose ul > li { position: relative; padding-left: 1.5em; }
.prose ul > li::before { content: ""; position: absolute; left: .3em; top: .72em; width: 6px; height: 6px; border-radius: 1.5px; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol > li { position: relative; padding-left: 2.1em; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .22em; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent-100); color: var(--accent); display: grid; place-items: center; font-size: .75em; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tables: a white card that scrolls sideways when it has to */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: 1.8em; }
.table-wrap:focus-visible { outline-offset: 2px; border-radius: 16px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.table-wrap th { text-align: left; white-space: nowrap; font-size: .8125rem; font-weight: 500; color: var(--muted); background: var(--tint); padding: 13px 18px; border-bottom: 1px solid var(--line); }
.table-wrap td { padding: 14px 18px; vertical-align: top; }
.table-wrap tr + tr td { border-top: 1px solid var(--line); }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); }
.table-wrap.cols-4 table { min-width: 540px; }
.table-wrap.cols-5 table, .table-wrap.cols-6 table, .table-wrap.cols-7 table { min-width: 760px; }

/* Quotes and callouts: light cards */
.prose > blockquote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 36px; margin-block: 1.8em; }
.prose > blockquote p { font-size: 1.375rem; line-height: 1.42; letter-spacing: -.018em; color: var(--ink); text-wrap: pretty; }
.prose > blockquote p + p { margin-top: 14px; }
.prose > blockquote cite, .prose > blockquote small { display: block; margin-top: 16px; font-style: normal; font-size: .875rem; letter-spacing: 0; color: var(--muted); }
.callout { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 32px 28px; margin-block: 1.8em; font-size: 1rem; line-height: 1.65; }
.callout > * + * { margin-top: .9em; }
.callout-title { display: flex; align-items: center; gap: 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.callout-title::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.callout-stat, .callout-cta { background: var(--accent-50); border-color: var(--accent-200); }
.callout-stat strong { color: var(--ink); }

/* FAQ inside an article (same accordion as the homepage) */
.prose .faq-list { margin-top: 1.2em; }
.prose .faq-item { border: 1px solid var(--line); }
.prose .faq-item h3 { font-size: 1.125rem; line-height: 1.4; scroll-margin-top: 110px; }
.prose .faq-q { padding: 16px 16px 16px 24px; }
.prose .faq-body { padding: 0 72px 22px 24px; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.prose .faq-body > * + * { margin-top: .8em; }
.prose .faq-a p { padding: 0; font-size: inherit; line-height: inherit; }

/* End of article */
.doc-end { margin-top: 64px; }
.doc-end .cta-band { margin-top: 0; border: 1px solid var(--line); }
.author { margin-top: 16px; display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.author img { border-radius: 13px; flex: none; }
.author b { display: block; font-weight: 600; line-height: 1.35; }
.author span { display: block; font-size: .875rem; color: var(--muted); }
.author p { margin-top: 8px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.author a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-200); text-underline-offset: 3px; }

/* Guides hub: six or more cards, so no "last card spans" rule */
.guides-all .guide:last-child { grid-column: auto; min-height: 270px; }

/* ---------- Shared blocks for the hand-written pages ---------- */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: stretch; }
.split > * { min-width: 0; }
.facts-card { display: flex; flex-direction: column; }
.facts { margin-top: 20px; }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.facts-card .btn { margin-top: auto; }
.facts-card .facts { margin-bottom: 28px; }
.facts-stack > div { flex-direction: column; gap: 4px; align-items: flex-start; }
.facts-stack dd { text-align: left; font-weight: 400; line-height: 1.55; }
.facts-stack dt { font-size: .8125rem; font-weight: 500; }
.note { margin-top: 20px; text-align: center; font-size: .875rem; color: var(--muted); }
.note a, .card-sub a, .livecard p a, .facts a, .get p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.note a:hover, .card-sub a:hover, .livecard p a:hover, .facts a:hover, .get p a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.gets-4 { grid-template-columns: repeat(4, 1fr); }
.get-n { font-size: .8125rem; font-weight: 500; color: var(--accent); }
.get .get-n + h3 { margin-top: 6px; }
.gets-auto .get { min-height: 220px; justify-content: flex-start; gap: 36px; }
.gets-auto .get p { min-height: 0; }
.final-card .btn + .final-alt { margin-top: 18px; }
.final-alt { font-size: .875rem; }
.final-alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.final-alt a:hover { color: var(--accent); }

/* ---------- Results ---------- */
.tile-static { cursor: default; }
.case-lg .tile { height: 520px; }
.case-lg.case-mis { margin-top: 104px; } /* collapses with the head’s own margin; leaves room for the downloads badge */
.split > .case-lg .tile { height: 100%; min-height: 520px; }
.clipgrid { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.clipgrid > li { display: flex; min-width: 0; }
.clipcard { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.clipcard-media { position: relative; aspect-ratio: 9 / 13; border-radius: 16px; overflow: hidden; background: #111; color: #fff; }
.clipcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .6s var(--ease); }
.clipcard-media::after { content: ""; position: absolute; inset: 0 0 60%; background: linear-gradient(rgba(0, 0, 0, .45), transparent); }
.clipcard-rank, .clipcard-plat { position: absolute; z-index: 1; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1; }
.clipcard-rank { left: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); }
.clipcard-plat { right: 10px; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.clipcard-plat .ico { width: 13px; height: 13px; }
.clipcard-body { padding: 16px 14px 12px; }
.clipcard-views { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.025em; }
.clipcard-views small { font-size: .875rem; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.clipcard-meta { margin-top: 12px; }
.clipcard-meta > div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.clipcard-meta dt { color: var(--muted); }
.clipcard-meta dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.clipcard-go { display: inline-flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--accent); width: 100%; }
.clipcard-go .ico { width: 14px; height: 14px; transition: transform .3s; }
@media (hover: hover) {
  .clipcard:hover { transform: translateY(-4px); border-color: var(--accent-200); box-shadow: 0 16px 40px -18px rgba(13, 13, 18, .18); }
  .clipcard:hover .clipcard-media img { transform: scale(1.04); }
  .clipcard:hover .clipcard-go .ico { transform: translate(2px, -2px); }
}
.subhead { margin: 72px 0 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.subhead h3 { font-size: 2rem; line-height: 1.25; }
.subhead p { color: var(--muted); max-width: 30rem; text-align: right; text-wrap: balance; }
.results-quote { margin-top: 40px; }

.live3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.livecard { background: var(--surface); border-radius: var(--r); padding: 4px; display: flex; flex-direction: column; }
.livecard .tile { height: 300px; border-radius: 16px; }
.livecard .tile-art-fg { width: min(52%, 200px); border-radius: 14px; }
.livecard-body { padding: 22px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.livecard-k { font-size: .8125rem; color: var(--muted); }
.livecard h3 { margin-top: 4px; }
.livecard p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.plat-row { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.plat-row li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .8125rem; font-weight: 500; }
.plat-row .ico { width: 14px; height: 14px; }

/* ---------- About ---------- */
.founder { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.founder .bk-avatar { width: 56px; height: 56px; }
.founder b { display: block; font-size: 1.125rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.founder span.role { display: block; font-size: .875rem; color: var(--muted); }
.founder p { margin-top: 10px; font-size: 1rem; line-height: 1.65; }
.prose .facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 28px; font-size: 1rem; line-height: 1.55; }
.prose .facts > div:first-child { border-top: 0; }
.prose .facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; padding: 16px 0; }
.prose .facts dd { text-align: left; font-weight: 400; color: #343a46; }

/* ---------- Clippers ---------- */
.rates { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: stretch; }
.rates .card { display: flex; flex-direction: column; }
.rates .checks li { align-items: flex-start; }
.rates .price-table table { margin-bottom: 0; }
.rates .price-table td:first-child { color: var(--muted); }
.rate-eg { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rate-eg > div { background: var(--tint); border-radius: 14px; padding: 16px 18px; }
.rate-eg dt { font-size: .8125rem; color: var(--muted); }
.rate-eg dd { margin-top: 2px; font-size: 1.75rem; letter-spacing: -.025em; line-height: 1.2; color: var(--accent); font-weight: 500; }
.rate-eg dd small { display: block; font-size: .8125rem; letter-spacing: 0; font-weight: 400; color: var(--muted); }

/* ---------- Book a call ---------- */
.book-page .bk { margin-top: 56px; }
.book-alt { margin-top: 20px; text-align: center; font-size: .9375rem; color: var(--muted); }
.book-alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.book-alt a:hover { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 1280px) {
  /* five-column comparison tables may use the empty right-hand gutter */
  .prose > .table-wrap.cols-5, .prose > .table-wrap.cols-6, .prose > .table-wrap.cols-7 { margin-right: -200px; }
}
@media (max-width: 1279px) {
  .doc-layout { column-gap: 40px; grid-template-columns: 208px minmax(0, 720px) minmax(0, 1fr); }
  .clipgrid { gap: 12px; }
  .clipcard-views { font-size: 1.5rem; }
  .case-lg .tile { height: 500px; }
}
@media (max-width: 1099px) {
  .doc-layout { grid-template-columns: minmax(0, 720px); justify-content: center; margin-top: 56px; }
  .doc-layout > .prose, .doc-end, .toc { grid-column: 1; }
  .toc { grid-row: auto; position: static; max-width: none; max-height: none; overflow: visible; margin-bottom: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
  .toc summary { pointer-events: auto; cursor: pointer; padding: 16px 16px 16px 20px; }
  .toc summary .ico { display: block; }
  .toc[open] summary .ico { transform: rotate(180deg); }
  .toc ol { border-left: 0; padding: 0 20px 14px; }
  .toc a { margin-left: 0; padding: 9px 0; border-left: 0; border-top: 1px solid var(--line); font-size: .9375rem; }
  .toc a.is-on { font-weight: 400; color: var(--muted); }
}
@media (max-width: 1023px) {
  .split, .rates { grid-template-columns: 1fr; }
  .gets-4 { grid-template-columns: 1fr 1fr; }
  .guides-all .guide:last-child { min-height: 270px; }
  .clipgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .clipgrid::-webkit-scrollbar { display: none; }
  .clipgrid > li { flex: 0 0 216px; scroll-snap-align: center; }
  .clipcard-views { font-size: 1.75rem; }
  .live3 { grid-template-columns: 1fr 1fr; }
  .live3 > :last-child { grid-column: 1 / -1; }
  .case-lg .tile { height: 460px; }
  .subhead { margin-top: 56px; }
}
@media (max-width: 767px) {
  .phero { padding-top: 124px; }
  .phero h1 { font-size: clamp(2.125rem, 9.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.04em; }
  .phero h1 em { display: inline; }
  .phero-doc h1 { font-size: clamp(1.75rem, 7.4vw, 2.5rem); line-height: 1.14; letter-spacing: -.03em; }
  .phero-lede { font-size: 1.0625rem; }
  .phero-meta { margin-top: 22px; flex-direction: column; gap: 6px; }
  .phero-meta > span + span::before { content: none; }
  .phero .hero-ctas { margin-inline: auto; }
  .section-tight { padding-top: 48px; }
  .doc-layout { margin-top: 40px; }
  .toc { margin-bottom: 32px; }
  .prose > h2 { font-size: 1.625rem; }
  .prose > h3 { font-size: 1.25rem; }
  .prose > blockquote { padding: 24px; }
  .prose > blockquote p { font-size: 1.1875rem; }
  .callout { padding: 22px 22px 24px; }
  .table-wrap th, .table-wrap td { padding: 12px 14px; }
  .table-wrap table { font-size: .875rem; }
  .table-wrap.cols-3 table { min-width: 440px; }
  .prose .faq-q { padding: 14px 14px 14px 18px; gap: 14px; }
  .prose .faq-item h3 { font-size: 1.0625rem; }
  .prose .faq-body { padding: 0 18px 20px; }
  .doc-end { margin-top: 48px; }
  .author { padding: 20px; gap: 14px; }
  .author img { width: 44px; height: 44px; }
  .guides-all .guide:last-child { min-height: 0; }
  .gets-4 { grid-template-columns: 1fr; }
  .gets-auto .get { min-height: 0; }
  .case-lg .tile, .split > .case-lg .tile { height: auto; min-height: 0; }
  .case-lg.case-mis { margin-top: 84px; }
  .subhead { flex-direction: column; align-items: flex-start; gap: 8px; margin: 48px 0 20px; }
  .subhead h3 { font-size: 1.625rem; }
  .subhead p { text-align: left; }
  .live3 { grid-template-columns: 1fr; }
  .live3 > :last-child { grid-column: auto; }
  .livecard .tile { height: 260px; }
  .founder { padding: 22px; gap: 16px; }
  .prose .facts { padding: 4px 20px; }
  .prose .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .rate-eg { grid-template-columns: 1fr; }
  .book-page .bk { margin-top: 40px; }
  .facts > div { gap: 16px; }
}

/* Cards that follow a heading directly get a little more air than text does */
.prose > h2 + .facts, .prose > h2 + .founder, .prose > h2 + .table-wrap, .prose > h2 + .callout, .prose > h2 + blockquote { margin-top: 1.25em; }

/* ============================================================
   Services (/services/ and /services/<slug>)
   ============================================================ */
.svc-page .phero .hero-trust { margin-top: 24px; }
.svc-intro { min-height: 0; }
.svc-intro .step-body { padding: 48px 56px; }
.svc-intro .step-body h2 { font-size: 2rem; line-height: 1.22; letter-spacing: -.025em; }
.svc-intro .step-body h2 + p { margin-top: 16px; }
.svc-intro .step-body p:not(.step-n) { font-size: 1.0625rem; line-height: 1.65; color: #3b4352; max-width: none; }
.svc-intro .step-body p + p { margin-top: 14px; }
.svc-intro .step-body strong { font-weight: 600; color: var(--ink); }
.svc-intro .step-body a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-200); text-underline-offset: 3px; }


.svc-mis { margin-top: 104px; } /* collapses with the head's margin; room for the downloads badge */
.svc-mis + .quote { margin-top: 56px; }
.split > .case .tile { height: 100%; min-height: 456px; }
.split-even { grid-template-columns: 1fr 1fr; }
.split-even .tile-art { min-height: 420px; }
.svc-live .livecard-k { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.svc-live .live-dot { background: var(--accent); box-shadow: 0 0 0 0 rgba(43, 92, 240, .5); }
.svc-live h3 { margin-top: 10px; font-size: 1.75rem; }
.svc-live > p:not(.livecard-k) { margin-top: 12px; color: var(--muted); }
.svc-live .plat-row { margin-top: 24px; padding-top: 0; margin-bottom: 28px; }
.split + .live3 { margin-top: 16px; }
.live-2 { grid-template-columns: 1fr 1fr; }
.live-1 { grid-template-columns: 1fr; }
.svc-page .cases + .stat-strip { margin-top: 64px; }

.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-height: 290px; transition: opacity .6s var(--ease) var(--d, 0ms), transform .4s var(--ease), border-color .3s, box-shadow .4s !important; }
.svc-card .get-ico { transition: background-color .4s, color .4s; }
.svc-card h3 { margin-top: 28px; font-size: 1.375rem; line-height: 1.3; transition: color .3s; }
.svc-card p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.svc-card .svc-card-proof { margin-top: 12px; align-self: flex-start; font-size: .8125rem; font-weight: 500; color: var(--accent); background: var(--accent-50); border-radius: 12px; padding: 4px 12px; }
.svc-card .guide-more { padding-top: 24px; }
@media (hover: hover) {
  html .svc-card.svc-card:hover { transform: translateY(-4px); border-color: var(--accent-200); box-shadow: 0 16px 40px -18px rgba(13, 13, 18, .18); }
  .svc-card:hover .get-ico { background: var(--accent); color: #fff; }
  .svc-card:hover h3 { color: var(--accent); }
  .svc-card:hover .guide-more .dchev { transform: translateX(3px); }
}

@media (max-width: 1279px) {
  .svc-intro .step-body { padding: 40px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-card { min-height: 0; }
}
@media (max-width: 1023px) {
  .svc-intro { grid-template-columns: 1fr; }
    .split-even { grid-template-columns: 1fr; }
  .split > .case .tile { min-height: 0; }
  .split > .case .tile-ts { height: 460px; }
  .split-even .tile-art { height: 380px; min-height: 0; }
}
@media (max-width: 767px) {
  .svc-intro .step-body { padding: 28px 20px 32px; }
  .svc-intro .step-body h2 { font-size: 1.625rem; }
        .svc-mis { margin-top: 84px; }
  .svc-mis + .quote { margin-top: 40px; }
  .split > .case .tile-ts { height: auto; }
  .split-even .tile-art { height: 320px; }
  .live-2 { grid-template-columns: 1fr; }
    .svc-cards { grid-template-columns: 1fr; gap: 12px; }
  .svc-card h3 { margin-top: 20px; }
}

/* Small accent tag: [[Our pick (us)]] in Markdown */
.tag { display: inline-flex; align-items: center; vertical-align: middle; height: 24px; padding: 0 10px; margin-left: 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap; position: relative; top: -1px; }
.prose > h2 .tag { margin-left: 10px; top: -4px; }
.table-wrap td .tag { margin-left: 0; margin-top: 6px; display: flex; width: max-content; }

/* ---------- Service pages, round 2: artwork, chip cloud, walkthroughs ---------- */
.svc-intro .svc-art { position: relative; padding: 0; min-height: 460px; overflow: hidden; background: #05070b; }
.svc-art-svg, .svc-art-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.svc-art-img { object-fit: cover; }
.svc-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.art-f1, .art-f2, .art-pulse { transform-box: fill-box; transform-origin: center; will-change: transform; }
.art-f1 { animation: artfloat 9s ease-in-out infinite alternate; }
.art-f2 { animation: artfloat 12s ease-in-out -4s infinite alternate-reverse; }
.art-pulse { animation: artpulse 4.5s ease-in-out infinite; }
@keyframes artfloat { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes artpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.cloud-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.cloud-wrap .head h2 { max-width: 9.5em; }
.cloud-card { background: var(--surface); border-radius: var(--r); padding: 32px; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.cloud li { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px 15px; border-radius: 18px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; flex: 1 1 auto; transition: background-color .3s, box-shadow .3s; }
.cloud li:nth-child(3n + 1) { background: var(--accent-50); box-shadow: inset 0 0 0 1px var(--accent-200); }
.cloud li:nth-child(4n + 2) { flex-grow: 3; }
.cloud li:nth-child(5n + 3) { border-radius: 18px 18px 18px 4px; }
.cloud b { font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; color: var(--ink); }
.cloud span { font-size: .875rem; line-height: 1.45; color: var(--muted); max-width: 15.5rem; text-wrap: pretty; }
.cloud li:nth-child(3n + 1) b { color: var(--accent); }

.svc-page .head-split p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.svc-page .head-split p a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; padding-top: 4px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--accent-200) 70%, transparent); }
.track li { position: relative; }
.track-n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .875rem; font-weight: 600; box-shadow: 0 0 0 8px var(--bg); }
.track li:not(:first-child) .track-n { background: var(--surface); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-200), 0 0 0 8px var(--bg); }
.track h3 { margin-top: 28px; font-size: 1.5rem; }
.track p { margin-top: 8px; color: var(--muted); max-width: 19rem; }

.walk-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: start; }
.walk { background: var(--surface); border-radius: var(--r); padding: 12px 40px; }
.walk li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 28px 0; }
.walk li + li { border-top: 1px solid var(--line); }
.walk-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-50); color: var(--accent); font-size: .875rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent-200); }
.walk li:first-child .walk-n { background: var(--accent); color: #fff; box-shadow: none; }
.walk h3 { font-size: 1.5rem; line-height: 1.3; padding-top: 6px; }
.walk p { margin-top: 8px; color: var(--muted); max-width: 34rem; }
.briefcard { position: sticky; top: 112px; background: var(--surface); border-radius: var(--r); padding: 28px 32px 30px; }
.briefcard::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.briefcard-h { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; }
.briefcard-h .ico { width: 18px; height: 18px; color: var(--muted); }
.briefcard-h b { font-weight: 600; font-size: 1.0625rem; }
.briefcard-h span { margin-left: auto; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.briefcard dl > div { padding: 15px 0; border-top: 1px solid var(--line); }
.briefcard dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.briefcard dd { margin-top: 4px; font-size: 1.0625rem; line-height: 1.45; }
.briefcard-f { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.55; color: var(--muted); }

@media (max-width: 1279px) {
  .track { gap: 24px; }
  .walk { padding: 8px 32px; }
}
@media (max-width: 1023px) {
  .svc-intro .svc-art { min-height: 0; aspect-ratio: 5 / 4; padding: 0; }
  .cloud-wrap { grid-template-columns: 1fr; gap: 0; }
  .cloud-wrap .head h2 { max-width: none; }
  .track { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .track::before { display: none; }
  .track-n { box-shadow: none !important; }
  .track li:not(:first-child) .track-n { box-shadow: inset 0 0 0 1px var(--accent-200) !important; }
  .walk-wrap { grid-template-columns: 1fr; }
  .briefcard { position: relative; top: auto; }
}
@media (max-width: 767px) {
  .svc-intro .svc-art { aspect-ratio: 1 / 1; padding: 0; }
  .cloud-card { padding: 16px; }
  .cloud li { padding: 12px 16px 13px; flex-basis: 100%; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding: 20px 0; }
  .track li + li { border-top: 1px solid var(--line); }
  .track-n { grid-row: 1 / span 2; }
  .track h3 { margin-top: 0; padding-top: 8px; font-size: 1.375rem; }
  .track p { margin-top: 4px; max-width: none; }
  .walk { padding: 4px 20px; }
  .walk li { gap: 16px; padding: 22px 0; grid-template-columns: 40px minmax(0, 1fr); }
  .walk-n { width: 40px; height: 40px; }
  .walk h3 { font-size: 1.375rem; padding-top: 3px; }
  .briefcard { padding: 24px 22px; }
  .briefcard::before { left: 22px; right: 22px; }
}
@media (max-width: 767px) {
  .svc-page #get .get { flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 16px; padding: 20px; }
  .svc-page #get .get-ico { width: 44px; height: 44px; border-radius: 11px; flex: none; }
  .svc-page #get .get h3 { font-size: 1.1875rem; line-height: 1.3; }
}
