/* ============================================================
   MostAI — live service previews
   Each preview is authored at a 960x600 (16:10) design size and
   scaled to fit its [data-preview] container by previews.js.
   ============================================================ */

[data-preview] {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.pv-stage {
  position: absolute; top: 0; left: 0;
  width: 960px; height: 600px;
  transform-origin: top left;
  font-family: var(--font-sans);
  color: var(--ink);
  user-select: none;
}
[data-preview] .pv-stage * { box-sizing: border-box; }

/* ============================================================
   1. WEBSITES — auto-rendered mini website inside a browser
   ============================================================ */
.mb { position: absolute; inset: 0; background: #0d1320; display: flex; flex-direction: column; }
.mb__bar {
  height: 48px; flex: none; display: flex; align-items: center; gap: 16px;
  padding: 0 20px; background: #11192a; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mb__dots { display: flex; gap: 9px; }
.mb__dots i { width: 13px; height: 13px; border-radius: 50%; background: #2a3550; display: block; }
.mb__dots i:nth-child(1) { background: #ff5f57; }
.mb__dots i:nth-child(2) { background: #febc2e; }
.mb__dots i:nth-child(3) { background: #28c840; }
.mb__url {
  flex: 1; height: 30px; border-radius: 8px; background: #0b1120;
  border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center;
  gap: 10px; padding: 0 14px; color: #7e8ba8; font-size: 14px; max-width: 520px; margin: 0 auto;
}
.mb__url svg { width: 13px; height: 13px; color: #4ea1ff; }
.mb__viewport { position: relative; flex: 1; overflow: hidden; background: #fff; }
.mb__scroll { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }

/* the fake site */
.fk { width: 960px; background: #fff; color: #0c1322; font-family: var(--font-sans); }
.fk__nav { display: flex; align-items: center; gap: 14px; padding: 22px 40px; }
.fk__logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d)); }
.fk__brand { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.fk__navlinks { margin-left: auto; display: flex; gap: 24px; color: #5a6680; font-size: 15px; font-weight: 500; }
.fk__navbtn { padding: 9px 18px; border-radius: 999px; background: var(--site-accent-d); color: #fff; font-weight: 600; font-size: 14px; }
.fk__hero { padding: 60px 40px 64px; text-align: center; background:
  radial-gradient(ellipse at 50% 0%, rgba(10,132,255,.10), transparent 60%); }
.fk__eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--site-accent-d); }
.fk__h1 { font-family: var(--font-head); font-weight: 800; font-size: 58px; line-height: 1.04; letter-spacing: -.03em; margin: 16px auto 0; max-width: 720px; }
.fk__h1 em { font-style: normal; background: linear-gradient(115deg, var(--site-accent-d), var(--violet,#7C9BFF)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fk__sub { color: #5a6680; font-size: 19px; line-height: 1.55; max-width: 540px; margin: 20px auto 0; }
.fk__cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.fk__btn { padding: 14px 26px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.fk__btn--p { background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d)); color: #fff; box-shadow: 0 12px 30px -10px rgba(10,132,255,.6); }
.fk__btn--g { background: #f0f3f9; color: #0c1322; }
.fk__shot { margin: 12px 40px 0; height: 220px; border-radius: 18px 18px 0 0; border: 1px solid #e6ebf3; border-bottom: none;
  background: linear-gradient(180deg,#f7f9fd,#eef2f9); display: grid; place-items: center; position: relative; overflow: hidden; }
.fk__shot::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(135deg, rgba(10,132,255,.05) 0 22px, transparent 22px 44px); }
.fk__shotbar { position: absolute; top: 0; left: 0; right: 0; height: 30px; background: #fff; border-bottom: 1px solid #eef2f9; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.fk__shotbar i { width: 8px; height: 8px; border-radius: 50%; background: #dde4ef; }
.fk__shotgrid { display: flex; gap: 16px; padding: 50px 30px 0; width: 100%; }
.fk__shotcard { flex: 1; height: 120px; border-radius: 12px; background: #fff; border: 1px solid #e9eef6; box-shadow: 0 8px 24px -16px rgba(10,30,60,.4); }
.fk__logos { display: flex; justify-content: center; gap: 40px; padding: 40px; color: #9aa6bd; font-weight: 700; font-size: 18px; }
.fk__feat { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 20px 40px 64px; }
.fk__fcard { padding: 28px; border-radius: 16px; background: #f7f9fd; border: 1px solid #eef2f9; }
.fk__fic { width: 44px; height: 44px; border-radius: 12px; background: rgba(10,132,255,.1); margin-bottom: 16px; }
.fk__fcard h4 { font-family: var(--font-head); font-size: 19px; margin: 0 0 8px; }
.fk__fcard p { color: #6b7790; font-size: 15px; line-height: 1.55; margin: 0; }
.fk__foot { padding: 30px 40px; background: #0c1322; color: #8995ad; font-size: 14px; display: flex; justify-content: space-between; }

/* ============================================================
   2. AI AGENTS — looping business chat
   ============================================================ */
.ch { position: absolute; inset: 0; display: flex; flex-direction: column; background:
  linear-gradient(180deg, #f4f7fc, #eaf0f9); }
.ch__top { flex: none; display: flex; align-items: center; gap: 14px; padding: 20px 26px; background: var(--white); border-bottom: 1px solid var(--border-faint); }
.ch__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d));
  display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px -8px rgba(10,132,255,.7); }
.ch__av svg { width: 24px; height: 24px; color: #fff; }
.ch__id { line-height: 1.3; }
.ch__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.ch__status { font-size: 13px; color: #18a558; display: flex; align-items: center; gap: 6px; }
.ch__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.ch__lock { margin-left: auto; font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.ch__lock svg { width: 14px; height: 14px; }
.ch__body { flex: 1; overflow: hidden; padding: 22px 26px; position: relative; transition: opacity .5s ease; }
.ch__scroll { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.ch__msg { max-width: 70%; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(14px); }
.ch__msg.in { opacity: 1; transform: none; animation: chIn .42s cubic-bezier(.2,.8,.3,1); }
@keyframes chIn { to { opacity: 1; transform: translateY(0); } }
.ch__bubble { padding: 14px 18px; font-size: 16px; line-height: 1.5; border-radius: 18px; }
.ch__role { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding: 0 6px; }
.ch__msg--bot { align-self: flex-start; }
.ch__msg--bot .ch__bubble { background: var(--white); border: 1px solid var(--border); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 6px 18px -14px rgba(10,30,60,.5); }
.ch__msg--user { align-self: flex-end; align-items: flex-end; }
.ch__msg--user .ch__bubble { background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -10px rgba(10,132,255,.6); }
.ch__msg--user .ch__role { color: var(--site-accent-d); }
.ch__typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; border-bottom-left-radius: 6px; }
.ch__typing i { width: 8px; height: 8px; border-radius: 50%; background: #b3bed1; animation: chDot 1.2s infinite ease-in-out; }
.ch__typing i:nth-child(2) { animation-delay: .18s; }
.ch__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes chDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.ch__fade { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, #eef3fb, transparent); pointer-events: none; z-index: 2; }
.ch__bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 26px; background: var(--white); border-top: 1px solid var(--border-faint); }
.ch__input { flex: 1; height: 44px; border-radius: 999px; background: var(--tint); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 18px; color: var(--mute); font-size: 15px; }
.ch__send { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d)); display: grid; place-items: center; flex: none; }
.ch__send svg { width: 20px; height: 20px; color: #fff; }

/* ============================================================
   3. AUTOMATION — pipeline / workflow flow
   ============================================================ */
.au { position: absolute; inset: 0; padding: 30px 34px; background:
  radial-gradient(ellipse at 50% 30%, rgba(10,132,255,.07), transparent 60%), var(--white); display: flex; flex-direction: column; }
.au__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.au__chip { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent-d); }
.au__live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mute); }
.au__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: auPulse 1.6s infinite; }
@keyframes auPulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.4);} 50% { opacity:.6; box-shadow: 0 0 0 6px rgba(34,197,94,0);} }
.au__canvas { flex: 1; position: relative; }
.au__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.au__link { fill: none; stroke: #d4deec; stroke-width: 2.5; }
.au__flow { fill: none; stroke: var(--site-accent-d); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 220; filter: drop-shadow(0 0 5px rgba(10,132,255,.5)); }
.au__node { position: absolute; transform: translate(-50%,-50%); width: 188px; padding: 16px 18px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--border); box-shadow: 0 12px 30px -20px rgba(10,30,60,.5);
  transition: border-color .35s, box-shadow .35s, transform .35s; }
.au__node.hot { border-color: var(--site-accent-d); box-shadow: 0 16px 36px -16px rgba(10,132,255,.55), 0 0 0 4px rgba(10,132,255,.1); transform: translate(-50%,-50%) scale(1.05); }
.au__node-top { display: flex; align-items: center; gap: 10px; }
.au__node-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(10,132,255,.1); display: grid; place-items: center; flex: none; transition: background .35s; }
.au__node.hot .au__node-ic { background: var(--site-accent-d); }
.au__node-ic svg { width: 18px; height: 18px; color: var(--site-accent-d); transition: color .35s; }
.au__node.hot .au__node-ic svg { color: #fff; }
.au__node-t { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.au__node-s { font-size: 12.5px; color: var(--mute); margin-top: 6px; line-height: 1.35; }
.au__node-tag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--site-accent-d); background: rgba(10,132,255,.09); padding: 3px 9px; border-radius: 999px; }
.au__node.trigger { border-left: 3px solid var(--site-accent-d); }
.au__log { flex: none; margin-top: 12px; height: 74px; border-radius: 12px; background: #0c1322; padding: 12px 16px; overflow: hidden; font-family: var(--font-mono, monospace); }
.au__logline { font-size: 13px; color: #9fe6c0; line-height: 1.55; opacity: 0; transform: translateY(8px); white-space: nowrap; }
.au__logline.in { opacity: 1; transform: none; animation: auLog .4s ease; }
.au__logline b { color: #6fb6ff; }
.au__logline .t { color: #5b6b82; }
@keyframes auLog { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   4. CUSTOM SOFTWARE — analytics dashboard
   ============================================================ */
.db { position: absolute; inset: 0; display: flex; background: var(--white); }
.db__side { width: 70px; flex: none; background: #0c1322; display: flex; flex-direction: column; align-items: center; padding: 22px 0; gap: 10px; }
.db__logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--site-accent), var(--site-accent-d)); margin-bottom: 12px; }
.db__nav { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #5d6a85; }
.db__nav.on { background: rgba(255,255,255,.08); color: #fff; }
.db__nav svg { width: 20px; height: 20px; }
.db__main { flex: 1; padding: 22px 26px; overflow: hidden; background: linear-gradient(180deg,#fbfcfe,#f4f7fb); }
.db__top { display: flex; align-items: center; margin-bottom: 18px; }
.db__title { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -.02em; white-space: nowrap; }
.db__sub { font-size: 13px; color: var(--mute); margin-top: 2px; }
.db__range { margin-left: auto; display: flex; gap: 6px; }
.db__pill { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); color: var(--mute); }
.db__pill.on { background: var(--site-accent-d); border-color: var(--site-accent-d); color: #fff; }
.db__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 16px; }
.db__kpi { padding: 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--border); }
.db__kpi-l { font-size: 13px; color: var(--mute); }
.db__kpi-v { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -.02em; margin-top: 4px; }
.db__kpi-d { font-size: 12px; font-weight: 700; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.db__kpi-d.up { color: #16a34a; }
.db__kpi-d.down { color: #e0533d; }
.db__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.db__panel { padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--border); }
.db__panel-h { display: flex; align-items: center; margin-bottom: 14px; }
.db__panel-t { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.db__legend { margin-left: auto; display: flex; gap: 14px; font-size: 12px; color: var(--mute); }
.db__legend span { display: inline-flex; align-items: center; gap: 6px; }
.db__legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.db__chart { position: relative; height: 150px; }
.db__chart svg { width: 100%; height: 100%; overflow: visible; }
.db__area { fill: url(#dbGrad); opacity: 0; transition: opacity .8s; }
.db__line { fill: none; stroke: var(--site-accent-d); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.db__line.draw { stroke-dashoffset: 0; animation: dbDraw 1.6s ease; }
@keyframes dbDraw { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
.db__dot { fill: #fff; stroke: var(--site-accent-d); stroke-width: 3; opacity: 0; transition: opacity .4s ease; }
.db__gl { stroke: #eaeff6; stroke-width: 1; }
.db__bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding-top: 6px; }
.db__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.db__bar i { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--site-accent), var(--site-accent-d)); height: 0; transition: height 1s cubic-bezier(.2,.8,.3,1); }
.db__bar i.alt { background: linear-gradient(180deg, #c7dcff, #9bbcf5); }
.db__bar span { font-size: 11px; color: var(--mute); }

/* ============================================================
   Overview cards (What we do)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; }
.svc-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden;
  background: var(--white); border: 1px solid var(--border); text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(10,30,60,.03);
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s, border-color .4s; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--accent-border);
  box-shadow: 0 30px 70px -34px rgba(10,132,255,.4); }
.svc-card__media { position: relative; }
.svc-card__media [data-preview] { border-radius: 0; border: none; border-bottom: 1px solid var(--border-faint);
  pointer-events: none; }
.svc-card__tag { position: absolute; top: 16px; left: 16px; z-index: 3; font-family: var(--font-head);
  font-size: var(--text-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--site-accent-d); background: rgba(255,255,255,.92); border: 1px solid var(--accent-border);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.svc-card__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-family: var(--font-head); font-weight: 700; font-size: var(--text-xl);
  letter-spacing: -.02em; margin: 0; }
.svc-card__body p { color: var(--ink-2); font-size: var(--text-base); line-height: 1.6; margin: 12px 0 0; }

/* ============================================================
   Ink CTA section — transparent window onto the site-wide ink bg
   ============================================================ */
.ink { position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden;
  background: transparent; }
.ink__canvas { display: none; }  /* retired: the fixed site-wide ink shows through */
.ink__overlay { position: relative; z-index: 2; width: 100%; max-width: 780px; padding: 0 32px;
  text-align: center; pointer-events: none; }
.ink__content > * { pointer-events: auto; }
.ink__overlay .eyebrow { color: #84B6FF; justify-content: center; }
.ink__overlay .eyebrow::before { background: linear-gradient(90deg, #84B6FF, transparent); }
.ink__overlay h2 { font-family: var(--font-head); font-size: clamp(36px, 5.6vw, 70px); font-weight: 700;
  letter-spacing: -.035em; color: #fff; margin: 16px 0 0; text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,.55); }
.ink__overlay p { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: rgba(234,240,251,.92);
  max-width: 540px; margin: 20px auto 0; text-wrap: pretty; text-shadow: 0 1px 24px rgba(0,0,0,.55); }
.ink__actions { display: flex; justify-content: center; margin-top: 34px; }
.ink__fine { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px;
  color: rgba(234,240,251,.74); font-size: var(--text-sm); flex-wrap: wrap; }
.ink__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.32); }
.ink__hint { font-family: var(--font-head); font-size: var(--text-xs); letter-spacing: .16em;
  text-transform: uppercase; color: rgba(132,182,255,.5); margin: 40px 0 0; }
@media (prefers-reduced-motion: reduce) { .ink__hint { display: none; } }
@media (max-width: 720px) { .ink { min-height: 78vh; } }

/* See-through glass card holding the ink CTA copy — the ink reads through it.
   --glass (set by Tweaks, default 1) scales the frost & tint strength. */
.ink__card {
  position: relative;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 60px);
  border-radius: var(--r-card);
  background: rgba(12, 16, 28, .44);                 /* proper frosted glass — was multiplied to ~14% by Tweaks --glass:0.4 */
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 40px 90px -50px rgba(0, 0, 0, .8),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .25);
  overflow: hidden;
}
.ink__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(95, 176, 255, .55), transparent 48%, rgba(124, 155, 255, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ink__card > * { position: relative; z-index: 1; }
.ink__card .eyebrow { margin-top: 0; }
.ink__card .ink__hint { margin: 32px 0 0; }

/* Other-services pills sit on dark ink here — make them glass too */
.ink .svc-otherbar { margin-top: 24px; }
.ink .svc-otherbar a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(234, 240, 251, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ink .svc-otherbar a:hover {
  border-color: rgba(95, 176, 255, .5);
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.svc-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: var(--text-sm); color: var(--site-accent-d);
  transition: gap .3s; }
.svc-card__go svg { width: 17px; height: 17px; transition: transform .3s; }
.svc-card:hover .svc-card__go { gap: 13px; }

/* ============================================================
   Detail page — big preview hero + alternating layouts
   ============================================================ */
.svc-hero { position: relative; padding: 188px 0 40px; }
.svc-hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.svc-hero__grid.rev .svc-hero__copy { order: 2; }
.svc-hero__num { font-family: var(--font-head); font-weight: 800; font-size: var(--text-sm);
  letter-spacing: .2em; color: var(--site-accent); }
.svc-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 0; color: #fff; text-wrap: balance; }
.svc-hero__lead { font-size: clamp(17px,1.9vw,21px); line-height: 1.6; color: var(--d-text-2);
  max-width: 520px; margin: 22px 0 0; text-wrap: pretty; }
.svc-mast { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.svc-mast h1 { margin-top: 14px; }
.svc-mast__side .svc-hero__lead { margin-top: 0; }
.svc-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.svc-frame { position: relative; border-radius: var(--r-card); overflow: hidden;
  box-shadow: 0 50px 120px -50px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.12); }
.svc-frame [data-preview] { border-radius: 0; border: none; }
.svc-stack { display: grid; gap: 14px; margin-top: 34px; }
.svc-stack__item { display: flex; gap: 14px; align-items: flex-start; }
.svc-stack__item svg { width: 20px; height: 20px; color: var(--site-accent); flex: none; margin-top: 3px; }
.svc-stack__item b { display: block; font-family: var(--font-head); font-weight: 600; font-size: var(--text-base); color: #fff; }
.svc-stack__item span { color: var(--d-text-2); font-size: var(--text-sm); line-height: 1.5; }

/* In-sheet detail blocks */
.svc-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.svc-point { padding: 30px 26px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(10,30,60,.03); }
.svc-point__ic { width: 46px; height: 46px; border-radius: var(--r-tile); display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(10,132,255,.08); border: 1px solid var(--accent-border); color: var(--site-accent-d); }
.svc-point__ic svg { width: 22px; height: 22px; }
.svc-point h4 { font-family: var(--font-head); font-weight: 600; font-size: var(--text-md); margin: 0 0 8px; }
.svc-point p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.6; margin: 0; }

.svc-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 52px; counter-reset: s; }
.svc-step { padding: 0 22px; border-left: 1px solid var(--border-faint); }
.svc-step:first-child { border-left: none; padding-left: 0; }
.svc-step__n { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--site-accent-d); letter-spacing: .1em; }
.svc-step h4 { font-family: var(--font-head); font-weight: 600; font-size: var(--text-md); margin: 12px 0 8px; }
.svc-step p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.55; margin: 0; }

.svc-otherbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.svc-otherbar a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 600;
  font-size: var(--text-sm); color: var(--ink-2); transition: border-color .3s, color .3s, transform .3s; }
.svc-otherbar a:hover { border-color: var(--site-accent-d); color: var(--site-accent-d); transform: translateY(-2px); }
.svc-otherbar svg { width: 16px; height: 16px; }

@media (max-width: 920px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-hero__grid.rev .svc-hero__copy { order: 0; }
  .svc-mast { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .svc-points { grid-template-columns: 1fr; }
  .svc-steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
}
