/* KERMI web services: hub (scroll-built site, kinds chapters, live gallery) + template pages. Generated markup: tools/make_services.py */
body:has(.svn) { overflow-x: clip; overflow-y: visible; }
.svc { --fr: #0c0f2e; --fr-line: rgba(255,255,255,.1); }
.svc section { padding: clamp(56px, 7vw, 100px) 0; }
.svc .wrap.narrow { width: min(820px, calc(100% - 32px)); }
.svc .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- sub-nav: the order of the service pages ---------- */
.svn { position: fixed; z-index: calc(var(--z-nav) - 1); top: calc(max(14px, env(safe-area-inset-top)) + 70px); left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; transition: transform .35s var(--ease), opacity .35s; }
.svn-in { pointer-events: auto; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(10,13,52,.55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.svn-in::-webkit-scrollbar { display: none; }
.svn a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.svn a:hover { color: var(--ink); }
.svn a[aria-current="page"] { color: #fff; background: linear-gradient(100deg, var(--violet-d), #2a8fe6); }
.svn.hide { transform: translateY(-120%); opacity: 0; }

.sv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--glass); border: 1px solid var(--line); }
.sv-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.sv-h { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.sv-h h2 { font-size: clamp(30px, 4.4vw, 54px); margin-top: 14px; }
.sv-h p { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 62ch; }

/* ---------- browser frame ---------- */
.bf { border-radius: 14px; background: var(--fr); border: 1px solid var(--fr-line); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset; direction: ltr; }
.bf-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--fr-line); }
.bf-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); flex: none; }
.bf-bar i:nth-child(1) { background: #ff6b6b; } .bf-bar i:nth-child(2) { background: #ffc35c; } .bf-bar i:nth-child(3) { background: #4fd88b; }
.bf-bar u { text-decoration: none; margin: 0 auto; font-size: 11.5px; color: rgba(255,255,255,.55); padding: 3px 14px; border-radius: 6px; background: rgba(255,255,255,.06); min-width: 40%; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.bf-bar u:empty { visibility: hidden; }
.bf-body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0c22; }
.bf-body > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ======================= 1. build story ======================= */
.bs { padding: 0 !important; }
.bs-track { position: relative; }
.bs-stick { min-height: 100vh; display: flex; align-items: center; padding: 150px 0 60px; }
.bs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bs-text h1 { font-size: clamp(34px, 4.4vw, 58px); margin: 18px 0 28px; }
.bs-text h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet), var(--cyan) 60%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bs-cap { display: flex; gap: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid transparent; transition: opacity .4s, background .4s, border-color .4s; }
.bs-cap .n { font: 700 14px var(--font-h); color: var(--cyan); padding-top: 3px; min-width: 22px; }
.bs-cap h3 { font-size: 19px; }
.bs-cap p { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.bs-prog { height: 3px; border-radius: 3px; background: var(--line); margin-top: 18px; overflow: hidden; display: none; }
.bs-prog i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.bs-stage { position: relative; }
.bs-bf .bf-body { aspect-ratio: 16 / 10.4; }
.bs-canvas { position: absolute; inset: 0; }
.bs-canvas > div { position: absolute; inset: 0; transition: opacity .6s var(--ease), clip-path .9s var(--ease), transform .6s var(--ease); }
.bs-blank { display: grid; place-items: center; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0) 0 0 / 22px 22px, #0a0c22; }
.bs-caret { width: 3px; height: 38px; background: var(--cyan); animation: bsBlink 1s steps(2) infinite; }
@keyframes bsBlink { 50% { opacity: 0; } }
.bs-wire { padding: 5% 6%; display: flex; flex-direction: column; gap: 6%; background: #0a0c22; }
.bs-wire i { display: block; border: 1.5px dashed rgba(122,92,255,.7); border-radius: 8px; background: rgba(122,92,255,.06); transform-origin: left; transition: transform .7s var(--ease), opacity .5s; }
.w-nav { display: flex; gap: 4%; height: 7%; } .w-nav i:first-child { width: 18%; } .w-nav i { width: 9%; } .w-nav i:first-child { margin-inline-end: auto; }
.w-hero { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto 1fr; gap: 10px 6%; height: 52%; }
.w-h1 { height: 46px; grid-column: 1; } .w-h2 { height: 46px; width: 75%; grid-column: 1; } .w-btn { height: 30px; width: 34%; grid-column: 1; border-radius: 999px !important; }
.w-img { grid-column: 2; grid-row: 1 / 4; }
.w-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.bs-design img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bs-design { clip-path: inset(0 0 0 0); }
.bs-live { pointer-events: none; }
.bs-pill { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(6,20,14,.85); color: #4fd88b; font: 700 12px var(--font-h); border: 1px solid rgba(79,216,139,.4); }
.bs-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4fd88b; box-shadow: 0 0 10px #4fd88b; animation: bsPulse 1.6s infinite; }
@keyframes bsPulse { 50% { opacity: .35; } }
.bs-score { position: absolute; left: 16px; bottom: 16px; width: 74px; height: 74px; border-radius: 18px; background: rgba(8,10,32,.85); border: 1px solid var(--line); display: grid; place-items: center; }
.bs-score svg { position: absolute; inset: 9px; width: 56px; height: 56px; transform: rotate(-90deg); }
.bs-score circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; }
.bs-score .arc { stroke: #4fd88b; stroke-dasharray: 97.4; stroke-dashoffset: 2; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.bs-score b { font: 700 18px var(--font-h); color: #fff; margin-top: -8px; }
.bs-score small { position: absolute; bottom: 7px; font-size: 9px; color: var(--muted); }
.bs-phone { position: absolute; width: 22%; aspect-ratio: 9 / 18.5; right: -4%; bottom: -8%; border-radius: 22px; border: 5px solid #1b1d2e; background: #000; overflow: hidden; box-shadow: 0 30px 60px -10px rgba(0,0,0,.7); transition: transform .8s var(--ease), opacity .6s; }
.bs-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 22% top; }
.ph-notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 10px; border-radius: 10px; background: #1b1d2e; transform: translateX(-50%); z-index: 2; }
.bs-skip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 13px; color: var(--muted); opacity: 0; pointer-events: none; }
.bs-skip:focus { opacity: 1; pointer-events: auto; }

/* staged states (only when JS drives it; otherwise the final state shows) */
.bs.bs-on .bs-track { height: 360vh; }
.bs.bs-on .bs-stick { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.bs.bs-on .bs-prog { display: block; }
.bs.bs-on .bs-cap { opacity: .32; }
.bs.bs-on .bs-cap.on { opacity: 1; background: var(--glass); border-color: var(--line); }
.bs.bs-on[data-s="0"] .bs-wire, .bs.bs-on[data-s="0"] .bs-design, .bs.bs-on[data-s="1"] .bs-design { opacity: 0; }
.bs.bs-on[data-s="0"] .bs-wire i { transform: scaleX(0); }
.bs.bs-on[data-s="0"] .bs-design, .bs.bs-on[data-s="1"] .bs-design { clip-path: inset(0 100% 0 0); }
.bs.bs-on:not([data-s="3"]) .bs-live { opacity: 0; }
.bs.bs-on:not([data-s="3"]) .bs-score .arc { stroke-dashoffset: 97.4; }
.bs.bs-on:not([data-s="3"]) .bs-phone { opacity: 0; transform: translateY(40px) rotate(4deg); }
.bs-wire i:nth-child(2) { transition-delay: .06s; } .bs-wire i:nth-child(3) { transition-delay: .12s; } .bs-wire i:nth-child(4) { transition-delay: .18s; }
.w-row i:nth-child(2) { transition-delay: .24s; } .w-row i:nth-child(3) { transition-delay: .3s; }

/* ======================= 2. kinds ======================= */
.kinds-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.kinds-frame { position: sticky; top: 22vh; display: grid; }
.ch-shot { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.ch-shot.on { opacity: 1; transform: none; }
.kinds-frame::after { content: ""; position: absolute; inset: 8% -6% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(122,92,255,.32), transparent); filter: blur(30px); }
.ch { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; transition: opacity .5s; }
.kinds-list.js .ch { opacity: .28; }
.kinds-list.js .ch.on { opacity: 1; }
.ch-mshot { display: none; margin: 0 0 22px; }
.ch-num { font: 800 clamp(56px, 7vw, 96px)/1 var(--font-h); color: transparent; -webkit-text-stroke: 1.5px rgba(122,92,255,.7); }
.ch h3 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 6px; }
.ch-goal { color: var(--cyan); font-weight: 600; margin: 12px 0 6px; font-size: 18px; }
.ch > p:not(.ch-goal) { color: var(--muted); margin: 0; font-size: 16.5px; }
.ch-flow { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ch-flow li { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--glass); border: 1px solid var(--line); }
.ch-flow li + li::before { content: "→"; margin-inline-end: 8px; color: var(--muted); }
html[dir="rtl"] .ch-flow li + li::before { content: "←"; }
.ch-flow li + li { padding-inline-start: 0; border-start-start-radius: 0; }
.ch-flow li { border: 0; background: none; padding: 4px 0; color: var(--ink); }
.ch-samples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.ch-samples small { color: var(--muted); margin-inline-end: 4px; }
.chip-s { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: 500 14px var(--font-b); cursor: pointer; transition: background .2s, transform .2s; }
.chip-s:hover { background: var(--glass-2); transform: translateY(-2px); }
.chip-s i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.ch-more { margin-top: 22px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--violet); align-self: flex-start; padding-bottom: 3px; }
.ch-more:hover { color: var(--cyan); }

/* ======================= 3. gallery ======================= */
.tgal { padding: clamp(72px, 9vw, 120px) 0 !important; }
.tgal-head { text-align: center; position: relative; }
.tgal-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin: 14px auto 0; max-width: 18ch; }
.tgal-head p { color: var(--muted); max-width: 62ch; margin: 14px auto 0; font-size: 17px; }
.tgal-count { display: none; position: absolute; inset-inline-end: 0; bottom: 0; font: 600 14px var(--font-h); color: var(--muted); }
.tgal-count b { color: var(--ink); font-size: 22px; }
.tgal-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 36px 0 24px; }
.tgal-row { display: flex; align-items: flex-start; gap: 24px; padding-inline: max(16px, calc((100vw - 1200px) / 2)); width: max-content; }
.tgal .gc { width: min(520px, 82vw); scroll-snap-align: center; }
.tgal.tgal-on .tgal-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.tgal.tgal-on .tgal-rail { overflow: visible; padding: 34px 0 0; }
.tgal.tgal-on .tgal-row { will-change: transform; }
.tgal.tgal-on .tgal-count { display: block; }
.tgal.tgal-on .gc { width: min(520px, 40vw, calc((100svh - 440px) * 1.55)); }
.tgal.tgal-on .tgal-head h2 { font-size: clamp(26px, 3.2vw, 42px); }
.tgal.tgal-on .tgal-head p { font-size: 15.5px; margin-top: 10px; }

/* template card (gallery + samples) */
.gc { position: relative; border-radius: 20px; padding: 12px 12px 20px; background: var(--glass); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; flex: none; }
.gc::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--c2), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.gc:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px var(--c2); }
.gc-shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; text-align: start; }
.gc-shot .bf { box-shadow: none; }
.gc-shot img { transition: transform 1.2s var(--ease); }
.gc:hover .gc-shot img { transform: scale(1.04); }
.gc-play { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%) scale(.9); padding: 10px 18px; border-radius: 999px; background: rgba(8,10,32,.82); color: #fff; font: 600 14px var(--font-b); border: 1px solid rgba(255,255,255,.2); opacity: 0; transition: opacity .25s, transform .25s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gc-shot:hover .gc-play, .gc-shot:focus-visible .gc-play { opacity: 1; transform: translate(-50%, -50%); }
.gc-meta { padding: 16px 8px 0; }
.gc-kind { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.gc-kind::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c2); margin-inline-end: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.gc h3 { font-size: 22px; margin-top: 8px; }
.gc p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.gc-act { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ======================= 4. every + marquee ======================= */
.every-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.every-list li { padding: 22px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.every-list .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(122,92,255,.35), rgba(34,211,238,.18)); margin-bottom: 14px; }
.every-list .ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.every-list b { font: 600 17px var(--font-h); display: block; }
.every-list p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.mq { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 12px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-row { overflow: hidden; direction: ltr; }
.mq-in { display: flex; gap: 12px; width: max-content; animation: mq 48s linear infinite; }
.mq-row:nth-child(2) .mq-in { animation-direction: reverse; animation-duration: 56s; }
.mq-in span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font: 500 15px var(--font-h); white-space: nowrap; background: var(--glass); }
@keyframes mq { to { transform: translateX(calc(-50% - 6px)); } }
.mq-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 15px; }

/* ======================= 5. beyond ======================= */
.by-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.by { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); color: var(--ink); }
.by h3 { font-size: 24px; margin-top: 14px; }
.by p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }
.by-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(34,211,238,.14); color: var(--cyan); }
.by-plat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.by-plat span { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.by-social { background: linear-gradient(150deg, rgba(91,63,240,.45), rgba(255,122,107,.25)); min-height: 280px; transition: transform .3s var(--ease); }
.by-social:hover { transform: translateY(-4px); }
.by-social .by-tag { background: rgba(255,122,107,.2); color: #ffb3a9; }
.by-social p { color: #dfe2ff; max-width: 40ch; }
.by-go { margin-top: auto; padding-top: 22px; font-weight: 700; }
.by-art { position: absolute; inset-inline-end: 26px; bottom: 26px; display: flex; gap: 8px; align-items: flex-end; height: 110px; }
.by-art i { width: 18px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#fff, rgba(255,255,255,.2)); opacity: .75; animation: byGrow 2.6s var(--ease) infinite alternate; }
.by-art i:nth-child(1) { height: 30%; } .by-art i:nth-child(2) { height: 50%; animation-delay: .2s; } .by-art i:nth-child(3) { height: 72%; animation-delay: .4s; } .by-art i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes byGrow { from { transform: scaleY(.6); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* ======================= faq + cta ======================= */
.fq { border-bottom: 1px solid var(--line); }
.fq summary { cursor: pointer; list-style: none; padding: 22px 0; font: 600 18px var(--font-h); display: flex; justify-content: space-between; gap: 16px; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--cyan); transition: transform .3s; }
.fq[open] summary::after { transform: rotate(45deg); }
.fq p { color: var(--muted); margin: 0 0 22px; }
.cta-card { text-align: center; padding: clamp(40px, 6vw, 80px) 24px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(91,63,240,.55), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(255,122,107,.3), transparent 60%), var(--glass); border: 1px solid var(--line); }
.cta-card h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 14px; }
.cta-card p { color: var(--muted); max-width: 56ch; margin: 14px auto 0; font-size: 17px; }
.cta-card .actions { justify-content: center; }

/* ======================= preview dialog ======================= */
.pv { width: min(1320px, 96vw); height: min(920px, 92vh); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: #090b24; color: var(--ink); overflow: hidden; }
.pv[open] { display: flex; flex-direction: column; }
.pv::backdrop { background: rgba(3,4,16,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pv-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pv-title { font: 700 16px var(--font-h); margin-inline-end: auto; }
.pv-dev { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.pv-dev button { border: 0; background: none; color: var(--muted); padding: 7px 14px; border-radius: 999px; font: 500 13px var(--font-b); cursor: pointer; }
.pv-dev button[aria-pressed="true"] { background: var(--glass-2); color: #fff; }
.pv-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; font-size: 22px; cursor: pointer; }
.pv-stage { flex: 1; position: relative; overflow: hidden; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 20px 20px; }
.pv-frame { position: absolute; top: 16px; left: 50%; transform-origin: top center; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #fff; transition: width .35s var(--ease); }
.pv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pv-note { margin: 0; padding: 8px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); text-align: center; }

/* ======================= template pages ======================= */
.th { padding-top: clamp(150px, 15vw, 190px) !important; position: relative; overflow: hidden; }
.th::before { content: ""; position: absolute; width: 60vw; height: 60vw; top: -20vw; inset-inline-end: -18vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--c2) 38%, transparent), transparent); filter: blur(40px); opacity: .7; pointer-events: none; }
.th-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.th h1 { font-size: clamp(34px, 4.4vw, 58px); margin: 18px 0 0; }
.th .sub { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 52ch; }
.th-meta { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.th-meta li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.th-bf { box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--c2) 60%, #000); }
.bf-open { margin-inline-start: auto; border: 0; border-radius: 999px; padding: 4px 12px; background: linear-gradient(100deg, var(--violet-d), #2a8fe6); color: #fff; font: 600 12px var(--font-b); cursor: pointer; flex: none; }
.th-bf .bf-bar u { margin: 0 0 0 auto; min-width: 34%; }
.th-vp > img { position: absolute; inset: 0; }
.th-iframe { z-index: 1; position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); pointer-events: none; opacity: 0; transition: opacity .5s; background: #fff; }
.th-iframe.ready { opacity: 1; }
.th-hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.fl-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fl-wire { position: sticky; top: 24vh; }
.wf { border-radius: 16px; background: var(--fr); border: 1px solid var(--fr-line); padding: 0 14px 14px; display: grid; gap: 8px; }
.wf-bar { height: 28px; display: flex; gap: 5px; align-items: center; margin: 0 -14px 6px; padding: 0 12px; border-bottom: 1px solid var(--fr-line); }
.wf-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.wf-b { border-radius: 10px; border: 1.5px dashed rgba(255,255,255,.18); display: grid; place-items: center; font: 600 13px var(--font-h); color: var(--muted); transition: all .45s var(--ease); }
.wf-0 { height: 120px; } .wf-1 { height: 70px; } .wf-2 { height: 90px; } .wf-3 { height: 60px; } .wf-4 { height: 64px; }
.wf-b.on { border-style: solid; border-color: var(--c2, var(--violet)); background: color-mix(in srgb, var(--c2, var(--violet)) 18%, transparent); color: #fff; transform: scale(1.03); box-shadow: 0 10px 40px -10px var(--c2, var(--violet)); }
.t-biz { --c2: #2f6bff; } .t-store { --c2: #c9a14a; } .t-folio { --c2: #e85d9c; } .t-launch { --c2: #46f29a; }
.fl-steps { list-style: none; margin: 0; padding: 0; }
.fl-step { display: flex; gap: 22px; min-height: 34vh; align-items: center; transition: opacity .45s; }
.fl-steps.js .fl-step { opacity: .3; }
.fl-steps.js .fl-step.on { opacity: 1; }
.fl-step .n { font: 800 clamp(40px, 5vw, 64px)/1 var(--font-h); color: transparent; -webkit-text-stroke: 1.5px var(--c2, var(--violet)); min-width: 1.6em; }
.fl-step h3 { font-size: clamp(24px, 2.6vw, 32px); }
.fl-step p { color: var(--muted); margin: 8px 0 0; font-size: 17px; max-width: 44ch; }

.samp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.samp-grid .gc.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; padding: 14px; }
.samp-grid .gc.big h3 { font-size: 30px; }
.samp-all { text-align: center; margin-top: 28px; }
.samp-all a { font-weight: 600; border-bottom: 1px solid var(--violet); padding-bottom: 3px; }

.inc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inc-list li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-weight: 500; }
.inc-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--c2, var(--cyan)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.ot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ot { display: block; border-radius: 20px; padding: 10px 10px 18px; background: var(--glass); border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease); }
.ot:hover { transform: translateY(-5px); }
.ot .bf { box-shadow: none; }
.ot-t { display: block; padding: 14px 8px 0; }
.ot-t small { color: var(--cyan); font-size: 12.5px; font-weight: 600; }
.ot-t b { display: block; font: 700 19px var(--font-h); margin-top: 4px; }
.ot-t em { display: block; font-style: normal; color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* ======================= light theme ======================= */
html[data-theme="light"] .svn-in { background: rgba(255,255,255,.75); }
html[data-theme="light"] .bs-cap.on, html[data-theme="light"] .gc, html[data-theme="light"] .every-list li, html[data-theme="light"] .by, html[data-theme="light"] .inc-list li, html[data-theme="light"] .ot { background: rgba(10,14,40,.035); }
html[data-theme="light"] .by-social { background: linear-gradient(150deg, #5b3ff0, #ff7a6b); color: #fff; }
html[data-theme="light"] .by-social p { color: #f3f0ff; }
html[data-theme="light"] .wf-b { color: #c9cdf0; }
html[data-theme="light"] .pv { background: #f4f5fc; }

/* ======================= responsive ======================= */
@media (max-width: 1080px) {
  .every-list { grid-template-columns: repeat(3, 1fr); }
  .by-grid { grid-template-columns: 1fr 1fr; } .by-social { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .svn { top: calc(max(14px, env(safe-area-inset-top)) + 64px); }
  .bs-stick { padding-top: 130px; }
  .bs-grid, .th-grid, .kinds-grid, .fl-grid { grid-template-columns: 1fr; }
  .bs-text h1 { margin-bottom: 18px; }
  .bs-stage { order: -1; width: 92%; }
  .bs.bs-on .bs-stick { align-items: flex-start; padding-top: 128px; }
  .bs.bs-on .bs-cap { display: none; }
  .bs.bs-on .bs-cap.on { display: flex; }
  .bs.bs-on .bs-text .sv-badge { display: none; }
  .bs-text h1 { font-size: clamp(28px, 7.4vw, 40px); }
  .kinds-frame { display: none; }
  .ch-mshot { display: block; }
  .ch { min-height: 0; padding: 28px 0 44px; border-bottom: 1px solid var(--line); }
  .kinds-list.js .ch { opacity: 1; }
  .fl-wire { display: none; }
  .fl-steps.js .fl-step { opacity: 1; }
  .fl-step { min-height: 0; padding: 18px 0; }
  .samp-grid, .samp-grid .gc.big { grid-template-columns: 1fr; }
  .inc-list, .ot-grid { grid-template-columns: 1fr 1fr; }
  .th-live { order: -1; }
}
@media (max-width: 560px) {
  .every-list, .inc-list, .ot-grid, .by-grid { grid-template-columns: 1fr; }
  .svn a { padding: 7px 11px; font-size: 13px; }
  .sv-h p, .th .sub { font-size: 16px; }
  .pv { width: 100vw; height: 100dvh; border-radius: 0; }
  .pv-top { padding: 8px 10px; } .pv-new { display: none; }
  .bs-score { width: 58px; height: 58px; } .bs-score svg { inset: 6px; width: 46px; height: 46px; } .bs-score b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-in, .by-art i, .bs-caret, .bs-pill i { animation: none; }
}

.arr { display: inline-block; } html[dir="rtl"] .arr { transform: scaleX(-1); }

/* ======================= social: one month scroll story ======================= */
.ms-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ms-phone-wrap { position: sticky; top: 18vh; display: grid; justify-items: center; }
.ms-phone-wrap::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, rgba(255,122,182,.28), transparent); filter: blur(30px); z-index: -1; }
.ms-phone { position: relative; width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 40px; border: 9px solid #15172a; background: #0b0d22; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.ms-notch { position: absolute; top: 8px; left: 50%; width: 30%; height: 18px; border-radius: 12px; background: #15172a; transform: translateX(-50%); z-index: 3; }
.ms-scr { position: absolute; inset: 0; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); color: #eef0ff; font-size: 12.5px; }
.ms-scr.on { opacity: 1; transform: none; }
.ms-h { font: 700 15px var(--font-h); }
.ms-prof { display: flex; gap: 10px; align-items: center; }
.ms-prof i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, #ff7ab6, #7a5cff); }
.ms-prof div { flex: 1; display: grid; gap: 6px; }
.ms-scr u { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); } .ms-scr u.s { width: 60%; }
.ms-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ms-tiles div { padding: 9px 7px; border-radius: 12px; background: rgba(255,255,255,.06); }
.ms-tiles small { display: block; font-size: 9.5px; color: #aeb5da; }
.ms-tiles b { font: 700 15px var(--font-h); }
.ms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ms-list li { padding: 9px 10px 9px 30px; border-radius: 10px; background: rgba(255,255,255,.05); position: relative; }
html[dir="rtl"] .ms-list li { padding: 9px 30px 9px 10px; }
.ms-list li::before { position: absolute; inset-inline-start: 10px; font-weight: 700; }
.ms-list .ok::before { content: "✓"; color: #4fd88b; } .ms-list .no::before { content: "–"; color: #ff8a7a; } .ms-list .nx::before { content: "→"; color: var(--cyan); }
.ms-dow, .ms-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ms-dow span { text-align: center; font-size: 10px; color: #aeb5da; }
.ms-cal i { aspect-ratio: 1; border-radius: 7px; background: rgba(255,255,255,.05); position: relative; }
.ms-cal i[class]:not([class=""])::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; }
.ms-cal .y::after, .ms-key .y::before { background: #ff3d3d; } .ms-cal .t::after, .ms-key .t::before { background: #46f29a; }
.ms-cal .g::after, .ms-key .g::before { background: #ff7ab6; } .ms-cal .f::after, .ms-key .f::before { background: #7aa7ff; }
.ms-key { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 10.5px; color: #aeb5da; }
.ms-key span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 5px; }
.ms-post { border-radius: 16px; background: rgba(255,255,255,.05); padding: 8px; display: grid; gap: 8px; }
.ms-img { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(140deg, #ff7ab6, #7a5cff 55%, #22d3ee); position: relative; }
.ms-stamp { position: absolute; top: 10px; inset-inline-end: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(6,20,14,.85); color: #4fd88b; font-weight: 700; font-size: 11px; transform: rotate(-4deg); }
.ms-sched { padding: 10px; border-radius: 12px; text-align: center; background: rgba(34,211,238,.12); color: var(--cyan); font-weight: 600; }
.ms-bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); }
.ms-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(#ff7ab6, #7a5cff); transform-origin: bottom; transform: scaleY(.1); transition: transform .9s var(--ease); }
.ms-scr.on .ms-bars i { transform: none; }
.ms-bars i:nth-child(2) { transition-delay: .08s; } .ms-bars i:nth-child(3) { transition-delay: .16s; } .ms-bars i:nth-child(4) { transition-delay: .24s; } .ms-bars i:nth-child(5) { transition-delay: .32s; } .ms-bars i:nth-child(6) { transition-delay: .4s; }
.ms-ill { color: #8d93b8; font-size: 10px; text-align: center; margin-top: auto; }
.ms-steps { list-style: none; margin: 0; padding: 0; }
.ms-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .45s; }
.ms-steps.js .ms-step { opacity: .28; } .ms-steps.js .ms-step.on { opacity: 1; }
.ms-wk { font: 700 13px var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: #ff7ab6; }
.ms-step h3 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 8px; }
.ms-step p { color: var(--muted); font-size: 18px; margin: 10px 0 0; max-width: 42ch; }
@media (max-width: 900px) {
  .ms-grid { grid-template-columns: 1fr; }
  .ms-phone-wrap { top: 92px; z-index: 3; background: var(--bg); padding: 14px 0 16px; margin-inline: -16px; box-shadow: 0 18px 24px -12px var(--bg); }
  .ms-phone-wrap::before { display: none; }
  .ms-phone { width: 170px; border-width: 6px; border-radius: 26px; }
  .ms-scr { padding: 26px 9px 9px; gap: 7px; font-size: 9px; } .ms-h { font-size: 11px; }
  .ms-tiles b { font-size: 11px; } .ms-bars { height: 80px; } .ms-list li { padding-block: 5px; }
  .ms-step { min-height: 58vh; justify-content: flex-end; padding-bottom: 6vh; position: relative; z-index: 1; }

  .ms-steps.js .ms-step { opacity: 0; } .ms-steps.js .ms-step.on { opacity: 1; }
}

/* ======================= hub v3: cinematic hero ======================= */
.hx{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;overflow:hidden;padding:150px 0 70px !important;isolation:isolate}
.hx-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(1.04)}
.hx-scrim{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,10,36,.92) 0%,rgba(7,10,36,.7) 42%,rgba(7,10,36,.15) 75%),linear-gradient(0deg,var(--bg) 0%,rgba(7,10,36,0) 28%)}
html[dir="rtl"] .hx-scrim{background:linear-gradient(-90deg,rgba(7,10,36,.92) 0%,rgba(7,10,36,.7) 42%,rgba(7,10,36,.15) 75%),linear-gradient(0deg,var(--bg) 0%,rgba(7,10,36,0) 28%)}
.hx-g{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hx-h{font-size:clamp(46px,6.6vw,104px);line-height:.95;letter-spacing:-.045em;margin:20px 0 0}
html[dir="rtl"] .hx-h{letter-spacing:0;line-height:1.15}
.hx-h em{font-style:normal;background:linear-gradient(100deg,var(--violet),var(--cyan) 55%,var(--coral));-webkit-background-clip:text;background-clip:text;color:transparent}
.hx-sub{color:#d5d9f3;font-size:clamp(17px,1.5vw,20px);max-width:46ch;margin:22px 0 0}
.hx-proof{list-style:none;padding:0;margin:34px 0 0;display:flex;gap:28px;flex-wrap:wrap}
.hx-proof li{color:var(--muted);font-size:14px;border-inline-start:2px solid var(--violet);padding-inline-start:12px}
.hx-proof b{display:block;color:#fff;font:700 22px var(--font-h)}
.hx-phones{position:relative;height:min(600px,70vh)}
.hx-ph{position:absolute;margin:0;width:min(230px,16vw);aspect-ratio:585/1266;border-radius:30px;overflow:hidden;border:7px solid #10132e;box-shadow:0 40px 80px -20px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.12);animation:hxIn 1.2s var(--ease) both}
.hx-ph img{width:100%;height:100%;object-fit:cover}
.hx-ph0{inset-inline-start:2%;top:14%;transform:rotate(-9deg);animation-delay:.2s}
.hx-ph1{inset-inline-start:34%;top:0;z-index:2;animation-delay:.35s}
.hx-ph2{inset-inline-start:66%;top:16%;transform:rotate(8deg);animation-delay:.5s}
@keyframes hxIn{from{opacity:0;translate:0 60px}to{opacity:1;translate:0 0}}
.hx-ph1{animation:hxIn 1.2s var(--ease) .35s both,hxFloat 7s ease-in-out 1.6s infinite}
@keyframes hxFloat{50%{translate:0 -14px}}
@media (max-width:900px){.hx-g{grid-template-columns:1fr}.hx-phones{height:360px;margin-top:10px}.hx-ph{width:150px}.hx-ph0{inset-inline-start:4%}.hx-ph1{inset-inline-start:calc(50% - 75px)}.hx-ph2{inset-inline-start:auto;inset-inline-end:4%}}
@media (max-width:420px){.hx-ph{width:120px}.hx-ph1{inset-inline-start:calc(50% - 60px)}.hx-phones{height:290px}}

/* ======================= hub v3: showcase stacking cards ======================= */
.sx{padding-bottom:6vh !important}
.sx-slot{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:flex-start;justify-content:center;padding-top:clamp(96px,13vh,130px)}
.sx-card{position:relative;top:calc(var(--i)*12px);width:min(1240px,calc(100% - 32px));height:min(640px,calc(100svh - 160px));display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(18px,3vw,40px);padding:clamp(14px,1.6vw,22px);border-radius:28px;background:linear-gradient(150deg,color-mix(in srgb,var(--c2) 22%,#0b0e2c),#0a0d27 55%);border:1px solid color-mix(in srgb,var(--c2) 40%,transparent);box-shadow:0 -20px 60px -30px rgba(0,0,0,.8);transform-origin:top center;will-change:transform;overflow:hidden}
.sx-media{position:relative;min-height:0}
.sx-shot{position:relative;height:100%;border-radius:18px;overflow:hidden;cursor:pointer;background:#000}
.sx-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;transition:opacity .8s var(--ease),transform 1.4s var(--ease)}
.sx-shot img.b{opacity:0}
.sx-shot:hover img.b,.sx-shot:focus-visible img.b{opacity:1}
.sx-shot:hover img{transform:scale(1.03)}
.sx-shot:hover .gc-play,.sx-shot:focus-visible .gc-play{opacity:1;transform:translate(-50%,-50%)}
.sx-phone{position:absolute;margin:0;bottom:-6%;inset-inline-end:-2%;width:clamp(96px,11vw,150px);aspect-ratio:585/1266;border-radius:22px;overflow:hidden;border:5px solid #10132e;box-shadow:0 30px 60px -10px rgba(0,0,0,.8);transform:rotate(6deg)}
.sx-phone img{width:100%;height:100%;object-fit:cover}
.sx-info{display:flex;flex-direction:column;justify-content:center;padding:clamp(6px,1.5vw,20px) clamp(4px,1vw,10px);min-width:0}
.sx-n{font:800 clamp(44px,5vw,80px)/1 var(--font-h);color:transparent;-webkit-text-stroke:1.5px color-mix(in srgb,var(--c2) 80%,#fff)}
.sx-kind{margin-top:12px;font-size:13px;color:var(--muted)}
.sx-kind::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c2);margin-inline-end:8px}
.sx-info h3{font-size:clamp(30px,3.4vw,50px);margin-top:8px;letter-spacing:-.03em}
.sx-info p{color:#c9cdeb;margin:12px 0 0;font-size:16px}
.sx-sig{display:inline-block;align-self:flex-start;margin-top:16px;padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--c2) 22%,transparent);border:1px solid color-mix(in srgb,var(--c2) 50%,transparent);font-size:13px;font-weight:600;color:#fff}
.sx-act{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.sx-type{margin-top:16px;font-size:14px;color:var(--muted);align-self:flex-start}
.sx-type:hover{color:#fff}
@media (max-width:900px){
  .sx-slot{position:relative;height:auto;padding-top:22px}
  .sx-card{top:0;height:auto;grid-template-columns:1fr}
  .sx-media{aspect-ratio:16/10}
  .sx-phone{width:90px;bottom:-8%}
}
@media (max-height:720px) and (min-width:901px){.sx-info p{display:none}.sx-n{font-size:40px}}

/* build story: fit short laptop screens */
.bs-text h2{font-size:clamp(32px,4vw,56px);margin:14px 0 24px}
.bs-text h2 em{font-style:normal;background:linear-gradient(100deg,var(--violet),var(--cyan) 60%,var(--coral));-webkit-background-clip:text;background-clip:text;color:transparent}
html[dir="rtl"] .bs-text h2{line-height:1.3}
.bs.bs-on .bs-stick{padding-top:110px;padding-bottom:30px}
@media (max-height:820px) and (min-width:901px){
  .bs-cap p{display:none}.bs-cap{padding:8px 14px}.bs-text h2{font-size:clamp(28px,3.2vw,42px);margin-bottom:14px}
  .bs-stage{max-width:min(100%,calc((100vh - 190px) * 1.55))}
}
@media (max-width:900px){.bs-text h2{font-size:clamp(26px,7vw,36px);margin-bottom:12px}}

/* ======================= hub v3: every site (image tiles) ======================= */
.ev-g{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ev-t{position:relative;overflow:hidden;border-radius:24px;background:var(--glass);border:1px solid var(--line);display:flex;flex-direction:column;min-height:300px}
.ev-t>img{width:100%;height:220px;object-fit:cover;object-position:top}
.ev-x{padding:22px 24px 26px;margin-top:auto}
.ev-x h3{font-size:22px}
.ev-x p{color:var(--muted);margin:8px 0 0;font-size:15px}
.ev-phone{background:radial-gradient(120% 80% at 50% 0%,rgba(122,92,255,.3),transparent 60%),var(--glass)}
.ev-ph{display:flex;justify-content:center;gap:14px;padding:26px 20px 0;align-items:flex-start;height:220px;overflow:hidden}
.ev-ph img{flex:none;width:clamp(80px,8vw,120px);height:auto;aspect-ratio:585/1266;object-fit:cover;border-radius:20px;border:5px solid #10132e;box-shadow:0 20px 40px -10px rgba(0,0,0,.7)}
.ev-ph img:nth-child(2){transform:translateY(-14px)}
.ev-seo .serp{margin:26px 24px 0;padding:18px;border-radius:16px;background:#fff;color:#202124;font-family:Arial,sans-serif;text-align:left}
.ev-seo .serp small{color:#4d5156;font-size:12px}
.ev-seo .serp b{display:block;color:#1a0dab;font-size:19px;font-weight:400;margin:4px 0}
.ev-seo .serp span{font-size:13px;color:#4d5156;display:block}
.ev-seo .serp i{font-style:normal;color:#e7a700;font-size:12px}

@media (max-width:900px){.ev-g{grid-template-columns:1fr}.ev-phone{grid-row:auto}.ev-g .ev-edit{grid-column:auto}}

/* ======================= hub v3: beyond with images ======================= */
.by-img{padding:0;min-height:380px;justify-content:flex-end;isolation:isolate}
.by-img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.4s var(--ease)}
.by-img::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(7,10,36,.95) 15%,rgba(7,10,36,.35) 65%,rgba(7,10,36,.1))}
.by-img:hover>img{transform:scale(1.05)}
.by-c{display:flex;flex-direction:column;padding:26px}
.by-img p{color:#d5d9f3}
.by-social{background:none;min-height:380px}
.by-social::after{background:linear-gradient(0deg,rgba(40,20,90,.95) 15%,rgba(91,63,240,.35) 65%,rgba(7,10,36,.1))}

/* ======================= hub v3: video CTA ======================= */
.cta-v{position:relative;min-height:80vh;display:grid;place-items:center;text-align:center;overflow:hidden;isolation:isolate}
.cta-v video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cta-v::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(var(--bg),rgba(7,10,36,.45) 30%,rgba(7,10,36,.45) 70%,var(--bg))}
.cta-in h2{font-size:clamp(40px,6vw,84px);margin-top:14px}
.cta-in p{color:#e3e6fb;max-width:52ch;margin:16px auto 0;font-size:18px}
.cta-in .actions{justify-content:center}
html[data-theme="light"] .hx-sub,html[data-theme="light"] .sx-info p{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.hx-ph{animation:none}}

/* showcase v4: one site at a time on a pinned stage (no overlapping cards) */
@media (min-width:901px){
  .sx-stack{height:calc(var(--n) * 75vh + 100vh)}
  .sx-pin{position:sticky;top:0;height:100vh;height:100svh;display:grid;grid-template-columns:1fr 210px;gap:24px;align-items:center;width:min(1300px,calc(100% - 32px));margin-inline:auto;padding-top:96px;padding-bottom:24px}
  .sx-stage{position:relative;height:min(640px,calc(100svh - 150px))}
  .sx-slot{position:absolute;inset:0;height:auto;padding:0;display:block}
  .sx-card{top:0 !important;width:100%;height:100%;transform:none !important;opacity:0;visibility:hidden;translate:0 40px;scale:.97;transition:opacity .6s var(--ease),translate .8s var(--ease),scale .8s var(--ease),visibility 0s linear .6s}
  .sx-card.on{opacity:1;visibility:visible;translate:0 0;scale:1;transition:opacity .6s var(--ease),translate .8s var(--ease),scale .8s var(--ease),visibility 0s}
  .sx-card.gone{translate:0 -40px}
  .sx-idx{display:flex;flex-direction:column;gap:4px;position:relative;padding-inline-start:14px}
  .sx-idx button{display:flex;gap:10px;align-items:baseline;text-align:start;border:0;background:none;color:var(--muted);font:500 15px var(--font-b);padding:7px 8px;border-radius:10px;cursor:pointer;transition:color .3s,background .3s}
  .sx-idx button span{font:600 11px var(--font-h);opacity:.7}
  .sx-idx button:hover{color:#fff}
  .sx-idx button[aria-current="true"]{color:#fff;background:var(--glass-2)}
  .sx-bar{position:absolute;inset-inline-start:0;top:6px;bottom:6px;width:2px;background:var(--line);border-radius:2px}
  .sx-bar b{position:absolute;inset-inline:0;top:0;height:calc(var(--sp,0) * 100%);background:linear-gradient(var(--violet),var(--cyan));border-radius:2px}
}
@media (min-width:901px) and (max-width:1180px){.sx-pin{grid-template-columns:1fr}.sx-idx{display:none}}
@media (max-width:900px){.sx-idx{display:none}.sx-card{opacity:1}}

/* template hero: static shot + phone (no live iframe stacked on the screenshot) */
.th-live{position:relative}
.th-shot{cursor:pointer}
.th-shot:hover .gc-play,.th-shot:focus-visible .gc-play{opacity:1;transform:translate(-50%,-50%)}
.th-phone{position:absolute;margin:0;inset-inline-end:-3%;bottom:8%;width:clamp(90px,10vw,140px);aspect-ratio:585/1266;border-radius:20px;overflow:hidden;border:5px solid #10132e;box-shadow:0 30px 60px -10px rgba(0,0,0,.8);transform:rotate(6deg)}
.th-phone img{width:100%;height:100%;object-fit:cover}
@media (max-width:560px){.th-phone{width:80px;bottom:14%}}
