/* ==========================================================================
   CMS Developer — v2 design system
   Ink navy + paper, cobalt as the single action colour, marigold for small highlights.
   Type: Geist (self-hosted), Geist Mono only inside the editor demo.
   ========================================================================== */

@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/geist-mono-latin-wght-normal.woff2) format("woff2-variations"); }

:root {
	--ink: #0e0e13;
	--ink-2: #16161e;
	--ink-3: #1f1f2a;
	--ink-line: rgba(255, 255, 255, .1);
	--paper: #f6f5f9;
	--paper-2: #edebf3;
	--white: #ffffff;
	--line: #e4e1ec;
	--text: #0e0e13;
	--text-2: #4c4a5e;
	--text-3: #7d7a90;
	--on-dark: #f5f4fa;
	--on-dark-2: #b4b1c6;
	--on-dark-3: #7f7c94;
	--cobalt: #6b4eff;
	--cobalt-2: #8b74ff;
	--cobalt-ink: #5435ea;
	--cobalt-soft: #eeeaff;
	--sky: #bcaeff;
	--marigold: #ffb547;
	--teal: #14c8b0;
	--grad: linear-gradient(115deg, #8b74ff 0%, #5b8cff 50%, #14c8b0 100%);
	--mint: #10a37f;

	--f: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--max: 1320px;
	--gutter: clamp(18px, 4vw, 48px);
	--r-sm: 12px;
	--r: 18px;
	--r-lg: 26px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--header-h: 78px;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
	--fs-h4: clamp(1.15rem, 1.08rem + .3vw, 1.35rem);
	--fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
	--fs-h2: clamp(2.1rem, 1.4rem + 2.9vw, 3.9rem);
	--fs-h1: clamp(2.6rem, 1.3rem + 5.6vw, 6.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0; background: var(--paper); color: var(--text);
	font-family: var(--f); font-size: var(--fs-base); line-height: 1.6;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility; overflow-x: hidden;
	font-feature-settings: "ss01" on, "cv11" on;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 10px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-white { background: var(--white); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.icon { flex: none; }

/* ---------- Type helpers ---------- */
.h1 { font-size: var(--fs-h1); letter-spacing: -.048em; line-height: .98; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.042em; line-height: 1.02; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.12; }
.h4 { font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.bg-ink .lead, .on-dark .lead, .dark-hero .lead { color: var(--on-dark-2); }
.muted { color: var(--text-3); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
	font-size: var(--fs-sm); font-weight: 500; line-height: 1.2; background: var(--white); border: 1px solid var(--line); color: var(--text-2);
}
.badge .icon { width: 16px; height: 16px; color: var(--cobalt); }
.bg-ink .badge, .on-dark .badge, .dark-hero .badge { background: rgba(255,255,255,.06); border-color: var(--ink-line); color: var(--on-dark-2); }
.bg-ink .badge .icon, .on-dark .badge .icon, .dark-hero .badge .icon { color: var(--sky); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(31,157,111,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31,157,111,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,111,0); } }

.sh { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 860px; justify-items: start; }
.sh .sh { margin-bottom: 0; }
.sh-center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sh-row { max-width: none; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.sh-row > .btn { justify-self: end; }
.sh-row .lead { max-width: 52ch; }
@media (max-width: 760px) { .sh-row { grid-template-columns: 1fr; } .sh-row > .btn { justify-self: start; } }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 6px 8px 6px 24px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 500; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; position: relative; transition: background-color .35s var(--ease); }
.btn-i .icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn-i .icon + .icon { position: absolute; transform: translate(-150%, 150%); }
.btn:hover .btn-i .icon:first-child { transform: translate(150%, -150%); }
.btn:hover .btn-i .icon + .icon { transform: none; }
.btn-plain { padding: 6px 24px; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary .btn-i { background: #fff; color: var(--cobalt); }
.btn-primary:hover { background: var(--cobalt-ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .btn-i { background: var(--ink); color: #fff; }
.btn-light:hover { background: var(--cobalt-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .btn-i { background: var(--cobalt); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.bg-ink .btn-ghost, .on-dark .btn-ghost, .dark-hero .btn-ghost, .site-header .btn-ghost { border-color: rgba(255,255,255,.2); color: var(--on-dark); }
.bg-ink .btn-ghost:hover, .on-dark .btn-ghost:hover, .dark-hero .btn-ghost:hover, .site-header .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.btn-sm { min-height: 44px; padding: 4px 6px 4px 18px; font-size: .95rem; }
.btn-sm .btn-i { width: 34px; height: 34px; }
.btn-sm.btn-plain { padding: 4px 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: inherit; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--on-dark); transition: transform .5s var(--ease); }
.header-bar { margin: 12px auto 0; max-width: calc(var(--max) - 2 * var(--gutter) + 24px); width: calc(100% - 24px); height: 62px; padding: 0 10px 0 22px; display: flex; align-items: center; gap: 24px; border-radius: 999px; border: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s; }
.site-header.is-scrolled .header-bar { background: rgba(14,14,19,.72); border-color: var(--ink-line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 12px 40px -20px rgba(0,0,0,.5); }
.site-header.is-hidden { transform: translateY(-120%); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font-weight: 500; font-size: 1.16rem; letter-spacing: -.04em; }
.brand-mark { color: currentColor; }
.brand-word b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.custom-logo { max-height: 36px; width: auto; }
.nav { margin: 0 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list a { display: block; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: .96rem; font-weight: 450; color: var(--on-dark-2); transition: color .25s, background-color .25s; }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-page-ancestor > a, .nav-list .current_page_parent > a { color: #fff; background: rgba(255,255,255,.07); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.08); border-radius: 50%; cursor: pointer; color: #fff; }
.menu-toggle-lines { display: grid; gap: 5px; justify-items: center; }
.menu-toggle-lines i { display: block; width: 17px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + 40px) 0 40px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-list { list-style: none; margin: 0 0 36px; padding: 0; }
.mobile-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; text-decoration: none; border-bottom: 1px solid var(--ink-line); }
@media (max-width: 1060px) {
	.nav, .header-actions .btn-ghost { display: none; }
	.menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 560px) { .header-actions .btn-primary { display: none; } }

/* ---------- Page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 250; background: var(--ink); pointer-events: none; transform: translateY(100%); visibility: hidden; }
.curtain.is-in { transition: transform .5s var(--ease); transform: none; visibility: visible; }

/* ---------- Dark backdrop (hero + inner heroes) ---------- */
.dark-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.dark-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.dark-hero::after { content: ""; position: absolute; z-index: -1; width: 1100px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(107,78,255,.42), rgba(20,200,176,.12) 60%, transparent); filter: blur(10px); }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 0; text-align: center; }
.hero-inner { display: grid; justify-items: center; gap: 28px; }
.hero-title { max-width: 15ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { margin: 0 auto; max-width: 56ch; color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(920px, 100%); margin-top: 18px; border-top: 1px solid var(--ink-line); }
.trust div { padding: 22px 12px 0; display: grid; gap: 2px; }
.trust div + div { border-left: 1px solid var(--ink-line); }
.trust strong { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.04em; color: #fff; }
.trust span { font-size: var(--fs-sm); color: var(--on-dark-3); }
.hero-stage { position: relative; margin-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(0px, 4vw, 40px); }
.hero-stage::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%); height: 45%; background: linear-gradient(transparent, var(--paper)); z-index: 2; pointer-events: none; }
.hero-stage .studio { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; text-align: left; transform-origin: 50% 0; }
@media (max-width: 720px) {
	.trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust div:nth-child(3) { border-left: 0; }
	.trust div:nth-child(n+3) { border-top: 1px solid var(--ink-line); padding-bottom: 18px; }
}

/* ---------- Studio (editor demo) ---------- */
.studio { --pv: var(--marigold); background: #f7f8fb; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 0 0 8px rgba(255,255,255,.04), 0 60px 120px -40px rgba(0,0,0,.6); overflow: hidden; color: var(--text); }
.studio-top { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.studio-dots { display: flex; gap: 6px; padding-left: 4px; }
.studio-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.studio-tabs { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--paper-2); margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.studio-tabs::-webkit-scrollbar { display: none; }
.studio-tab { position: relative; z-index: 1; padding: 7px 16px; border: 0; background: none; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--text-3); cursor: pointer; white-space: nowrap; transition: color .3s; }
.studio-tab[aria-selected="true"] { color: var(--text); }
.studio-tab-ink { position: absolute; z-index: 0; top: 4px; height: calc(100% - 8px); left: 0; width: 0; border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(14,14,19,.12); transition: transform .45s var(--ease), width .45s var(--ease); }
.studio-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 460px; }
.editor { padding: 20px; background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: .86rem; }
.editor-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 4px; }
.editor-title { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-status { font-size: .74rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--text-2); transition: background-color .3s, color .3s; }
.editor-status.is-live { background: #dff5ec; color: var(--mint); }
.field { display: grid; grid-template-columns: 1fr auto; gap: 7px 8px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; transition: border-color .3s, box-shadow .3s; }
.field.is-active { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(107,78,255,.12); }
.field-key { font-family: var(--f-mono); font-size: .76rem; }
.field-type { font-size: .72rem; color: var(--text-3); }
.field-input { grid-column: 1 / -1; min-height: 36px; display: flex; align-items: center; padding: 6px 11px; border-radius: 8px; background: var(--paper); font-weight: 500; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--cobalt); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.field-media { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; }
.thumb { width: 44px; height: 34px; border-radius: 7px; background: var(--pv); transform-origin: left; }
.field-file { font-family: var(--f-mono); font-size: .74rem; color: var(--text-3); }
.block-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 108px; align-content: start; }
.block-list li { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 8px; background: var(--paper); font-size: .8rem; }
.block-list li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--cobalt); }
.editor-publish { margin-top: auto; align-self: flex-start; border: 0; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .86rem; transition: transform .2s; }
.editor-publish.is-press { transform: scale(.94); }
.preview { position: relative; padding: 18px; display: flex; flex-direction: column; background: var(--paper-2); }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 0 2px 12px; }
.preview-url { flex: 1; font-size: .76rem; color: var(--text-3); background: var(--white); padding: 6px 12px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.preview-url::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.preview-page { flex: 1; background: var(--white); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(14,14,19,.06); }
.pv-nav { display: flex; justify-content: space-between; align-items: center; }
.pv-logo { width: 54px; height: 11px; border-radius: 4px; background: var(--ink); }
.pv-links { display: flex; gap: 7px; }
.pv-links i { width: 24px; height: 6px; border-radius: 3px; background: var(--line); }
.pv-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: center; }
.pv-title { margin: 0 0 10px; min-height: 2.3em; font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.55rem); line-height: 1.08; letter-spacing: -.035em; }
.pv-line { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); margin-bottom: 6px; }
.pv-line.short { width: 60%; }
.pv-btn { display: block; width: 66px; height: 18px; margin-top: 12px; border-radius: 999px; background: var(--ink); }
.pv-media { aspect-ratio: 4 / 3.3; border-radius: 12px; background: var(--pv); transform-origin: bottom; position: relative; overflow: hidden; }
.pv-media::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -14%; bottom: -24%; background: rgba(255,255,255,.35); }
.pv-blocks { display: grid; gap: 9px; }
.pv-block { border-radius: 9px; background: var(--paper); padding: 9px; display: grid; gap: 6px; }
.pv-block.grid3 { grid-template-columns: repeat(3, 1fr); background: none; padding: 0; }
.pv-block.grid3 span { height: 38px; border-radius: 8px; background: var(--paper); }
.pv-block.band { height: 32px; background: var(--ink); }
.pv-block.quote { grid-template-columns: 22px 1fr; align-items: center; }
.pv-block.quote b { width: 22px; height: 22px; border-radius: 50%; background: var(--pv); }
.pv-block.quote i { height: 6px; border-radius: 3px; background: var(--line); }
.toast { position: absolute; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 500; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.toast .icon { color: #5fe0ad; width: 16px; height: 16px; }
@media (max-width: 680px) {
	.studio-dots { display: none; }
	.studio-body { grid-template-columns: 1fr; }
	.editor { border-right: 0; border-bottom: 1px solid var(--line); }
	.editor .field:nth-child(3) { display: none; }
	.block-list { min-height: 0; }
	.preview { min-height: 340px; }
}

/* ---------- Marquee ---------- */
.marquee-section { padding: 28px 0 clamp(72px, 9vw, 120px); }
.marquee-label { text-align: center; color: var(--text-3); font-size: var(--fs-sm); margin-bottom: 26px; }
.marquee { display: grid; gap: 12px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; transition: border-color .3s; }
.mq-item:hover { border-color: var(--cobalt); }
.mq-item .tile { width: 34px; height: 34px; border-radius: 50%; font-size: .78rem; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------- Tiles ---------- */
.tile { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: -.02em; transition: background-color .3s var(--ease); }
.tile-lg { width: 72px; height: 72px; border-radius: 20px; font-size: 1.5rem; }
.icon-box { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--cobalt-soft); color: var(--cobalt); flex: none; }
.icon-box .icon { width: 26px; height: 26px; }
.bg-ink .icon-box, .on-dark .icon-box { background: rgba(188,174,255,.12); color: var(--sky); }

/* ---------- Cards / bento ---------- */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: border-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card-hover:hover { border-color: #cfd4e6; transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(14,14,19,.35); }
.card h3 { font-size: var(--fs-h4); letter-spacing: -.025em; line-height: 1.2; }
.card p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.card .link-arrow { margin-top: auto; padding-top: 8px; font-size: var(--fs-sm); color: var(--cobalt); }
.bg-ink .card { background: var(--ink-2); border-color: var(--ink-line); }
.bg-ink .card p { color: var(--on-dark-2); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .span-2 { grid-column: span 2; }
.bento .row-2 { grid-row: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .span-2 { grid-column: auto; } .bento .row-2 { grid-row: auto; } }

.card.feature-card { background: var(--ink); color: var(--on-dark); border-color: var(--ink); overflow: hidden; }
.feature-card p { color: var(--on-dark-2); }
.feature-card .link-arrow { color: var(--sky); }
.feature-card .icon-box { background: rgba(188,174,255,.14); color: var(--sky); }
.mini-stack { margin-top: 10px; display: grid; gap: 8px; }
.mini-stack span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); font-size: .86rem; color: var(--on-dark-2); }
.mini-stack span b { font-weight: 500; color: #fff; }
.mini-stack em { font-style: normal; font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: rgba(95,224,173,.12); color: #5fe0ad; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.work-card a { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.work-media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card a:hover .work-media img { transform: scale(1.04); }
.work-meta { display: flex; flex-direction: column-reverse; gap: 14px; }
.work-meta h3 { font-size: var(--fs-h3); letter-spacing: -.035em; }
.work-meta p { margin-top: 6px; color: var(--text-2); font-size: var(--fs-sm); max-width: 48ch; }
.bg-ink .work-meta p { color: var(--on-dark-2); }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 500; border: 1px solid var(--line); color: var(--text-2); background: var(--white); white-space: nowrap; }
.bg-ink .tag { background: rgba(255,255,255,.04); border-color: var(--ink-line); color: var(--on-dark-2); }
.work-card.is-hidden { display: none; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Platform index ---------- */
.index { position: relative; }
.index-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 48px; padding: 30px 0; border-top: 1px solid var(--line); }
.index-row:last-of-type { border-bottom: 1px solid var(--line); }
.index-group { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.index-meta p { color: var(--text-3); max-width: 36ch; font-size: var(--fs-sm); }
.index-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.index-names a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 500; transition: border-color .3s, background-color .3s, color .3s; }
.index-names a .tile { width: 30px; height: 30px; border-radius: 50%; font-size: .72rem; }
.index-names a:hover, .index-names a:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.index-names a:hover .tile { background: var(--cobalt); }
.index-card { position: absolute; top: 0; left: 0; z-index: 5; width: 290px; padding: 20px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); pointer-events: none; display: grid; gap: 10px; opacity: 0; transform: scale(.92); box-shadow: 0 30px 60px -20px rgba(14,14,19,.5); }
.index-card .tile { background: var(--cobalt); }
.index-card-group { font-size: .8rem; color: var(--on-dark-3); }
.index-card-text { font-size: .98rem; line-height: 1.45; }
@media (hover: none), (max-width: 900px) { .index-card { display: none; } }
@media (max-width: 900px) { .index-row { grid-template-columns: 1fr; } }

/* ---------- Matcher ---------- */
.matcher { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.matcher-needs { border: 0; margin: 0; padding: 0; min-width: 0; }
.matcher-legend { font-weight: 600; margin-bottom: 16px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 500; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover span { border-color: var(--text-3); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.matcher-result { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); min-height: 330px; }
.matcher-empty { color: var(--text-3); font-size: var(--fs-lead); max-width: 30ch; }
.match-list { list-style: none; margin: 0; padding: 0; }
.match-item a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.match-item:first-child a { padding-top: 0; }
.match-item:last-child a { border-bottom: 0; padding-bottom: 0; }
.match-item h3 { font-size: var(--fs-h4); letter-spacing: -.025em; }
.match-item p { margin-top: 3px; color: var(--text-2); font-size: .92rem; }
.match-item .icon { transition: transform .3s var(--ease); color: var(--cobalt); }
.match-item a:hover .icon { transform: translate(3px, -3px); }
.match-item a:hover .tile { background: var(--cobalt); }
.match-best { display: inline-block; margin-left: 8px; vertical-align: middle; font-size: .72rem; font-weight: 500; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: #fff1d1; color: #8a5a00; }
@media (max-width: 900px) { .matcher { grid-template-columns: 1fr; } .matcher-result { min-height: 0; } }

/* ---------- Process (pinned horizontal) ---------- */
.process-pin { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.process-track { display: flex; gap: 20px; padding: clamp(88px, 10vw, 140px) var(--gutter); width: max-content; align-items: stretch; }
.process-intro { width: min(460px, 82vw); display: grid; gap: 22px; align-content: center; padding-right: 40px; }
.process-card { width: min(380px, 78vw); min-height: 380px; padding: 30px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 14px; }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(188,174,255,.4); color: var(--sky); font-weight: 500; font-size: .95rem; }
.process-card .icon-box { margin-left: auto; margin-top: -44px; }
.process-card h3 { margin-top: auto; font-size: var(--fs-h3); }
.process-card p { color: var(--on-dark-2); }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .process-pin { min-height: 100vh; display: flex; align-items: center; } }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
	.process-track { flex-direction: column; width: auto; }
	.process-intro, .process-card { width: auto; }
	.process-card { min-height: 0; }
	.process-card h3 { margin-top: 18px; }
}

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model { padding: 32px; }
.model h3 { font-size: var(--fs-h3); }
.model ul { list-style: none; margin: 8px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.model li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); }
.model li .icon { width: 18px; height: 18px; color: var(--cobalt); margin-top: 2px; }
.model .btn { margin-top: auto; align-self: flex-start; }
.model.is-featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.model.is-featured p, .model.is-featured li { color: var(--on-dark-2); }
.model.is-featured ul { border-color: var(--ink-line); }
.model.is-featured li .icon { color: var(--sky); }
.model-tag { align-self: flex-start; order: -1; font-size: .74rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--marigold); color: var(--ink); }
@media (max-width: 960px) { .models { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 100px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; justify-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; padding: 24px 0; font-weight: 500; font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); transition: background-color .3s, color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--ink); color: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 60px 26px 0; color: var(--text-2); max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-a p { padding-right: 0; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post-card a { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.post-media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card a:hover .post-media img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-xs); color: var(--text-3); }
.post-meta .cat { color: var(--cobalt); font-weight: 500; }
.post-card h3 { font-size: var(--fs-h4); letter-spacing: -.025em; line-height: 1.25; transition: color .3s; }
.post-card a:hover h3 { color: var(--cobalt); }
.post-card p { color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 clamp(80px, 10vw, 130px); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 36px); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px); background: var(--cobalt); color: #fff; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px 48px; align-items: end; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 100% 0%, rgba(255,255,255,.22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(14,14,19,.35), transparent 60%); }
.cta-box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(120deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); }
.cta-title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem); letter-spacing: -.045em; line-height: 1; }
.cta-side { display: grid; gap: 26px; }
.cta-side p { font-size: var(--fs-lead); color: rgba(255,255,255,.85); line-height: 1.5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.cta-box .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-lead { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 28px; max-width: 16ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-h { font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark-3); margin: 0 0 16px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--on-dark-2); font-size: var(--fs-sm); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-address { color: var(--on-dark-2); font-size: var(--fs-sm); line-height: 1.5; }
.footer-word { font-weight: 700; font-size: clamp(3.4rem, 14.6vw, 14.5rem); letter-spacing: -.065em; line-height: .78; text-align: center; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(244,245,248,.14), rgba(244,245,248,0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: -.06em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--ink-line); font-size: var(--fs-sm); color: var(--on-dark-3); }
.footer-bottom a { color: var(--on-dark-3); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cursor bubble ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; pointer-events: none; font-weight: 500; font-size: .88rem; opacity: 0; transform: scale(.2); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.cursor.is-on { opacity: 1; transform: scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px); }
.page-hero .wrap { display: grid; gap: 22px; justify-items: start; }
.page-title { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.4rem); letter-spacing: -.048em; line-height: .98; max-width: 18ch; }
.page-title .line, .cms-title .line, .article-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.page-title .line > span, .cms-title .line > span, .article-title .line > span { display: inline-block; }
.page-lead { color: var(--on-dark-2); max-width: 58ch; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--on-dark-3); }
.crumbs a { text-decoration: none; color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }

/* ---------- Directory ---------- */
.directory-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.search-field { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(107,78,255,.1); }
.search-field .icon { color: var(--text-3); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 14px 0; font: inherit; color: inherit; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--text-2); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--text-3); color: var(--text); }
.filter.is-active, .filter[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.directory { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.dir-item[hidden] { display: none; }
.dir-item a { height: 100%; min-height: 224px; }
.dir-item .tile { margin-bottom: 6px; }
.dir-item h3 { font-size: var(--fs-h4); }
.dir-group { margin-top: auto; padding-top: 10px; font-size: var(--fs-xs); color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.dir-group .icon { width: 18px; height: 18px; color: var(--cobalt); transition: transform .3s var(--ease); }
.dir-item a:hover .tile { background: var(--cobalt); }
.dir-item a:hover .dir-group .icon { transform: translate(3px, -3px); }
.directory-empty { margin-top: 24px; font-size: var(--fs-lead); }

/* ---------- Single CMS ---------- */
.cms-hero-top { display: flex; align-items: center; gap: 16px; }
.cms-hero-top .tile { background: var(--cobalt); }
.cms-title { font-size: clamp(2.6rem, 1.3rem + 5.4vw, 6rem); letter-spacing: -.05em; line-height: .96; }
.cms-title .line-sub > span { color: var(--on-dark-3); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 100px); align-items: start; }
.intro-big { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.38; font-weight: 500; letter-spacing: -.025em; max-width: 34ch; }
.fit-card { padding: 28px; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fit-list li { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: var(--fs-sm); }
.fit-list li:first-child { border-top: 0; }
.fit-list .icon { color: var(--cobalt); width: 18px; }
.build-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.build-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-weight: 500; line-height: 1.4; }
.build-item .icon { color: var(--cobalt); margin-top: 1px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-inline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps-inline li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); }
.steps-inline li::before { content: counter(s, decimal-leading-zero); font-size: .85rem; font-weight: 500; color: var(--sky); }
.steps-inline strong { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em; }
.steps-inline span { color: var(--on-dark-2); font-size: .92rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-list a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.related-list .tile { width: 32px; height: 32px; border-radius: 50%; font-size: .74rem; }
.related-list a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.related-list a:hover .tile { background: var(--cobalt); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager-link { display: grid; gap: 6px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .3s, background-color .3s, color .3s; }
.pager-link span { font-size: var(--fs-sm); color: var(--text-3); }
.pager-link strong { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.025em; }
.pager-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager-next { text-align: right; grid-column: 2; }
@media (max-width: 1000px) { .intro-grid { grid-template-columns: 1fr; } .steps-inline { grid-template-columns: 1fr 1fr; } .build-grid, .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps-inline, .build-grid, .why-grid, .pager { grid-template-columns: 1fr; } .pager-next { grid-column: auto; text-align: left; } }

/* ---------- Case study ---------- */
.case-hero .page-title { max-width: 16ch; }
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-top: 18px; border-top: 1px solid var(--ink-line); }
.case-facts div { padding: 20px 20px 0 0; display: grid; gap: 4px; }
.case-facts dt { font-size: var(--fs-xs); color: var(--on-dark-3); }
.case-facts dd { margin: 0; font-weight: 500; color: var(--on-dark); }
.case-facts a { color: var(--sky); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.case-facts a .icon { width: 16px; height: 16px; }
.case-cover { margin-top: calc(-1 * clamp(40px, 5vw, 64px)); position: relative; z-index: 2; }
.case-cover img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 50px 100px -50px rgba(14,14,19,.55); }
.case-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 110px); }
.case-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 22px; justify-items: start; }
.case-aside .card { width: 100%; }
.case-aside .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-section + .case-section { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.case-section h2 { font-size: var(--fs-h3); margin-bottom: 18px; }
.case-section .prose > * + * { margin-top: 1em; }
.case-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; text-decoration: none; color: inherit; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.case-next img { border-radius: var(--r); transition: transform 1s var(--ease); }
.case-next:hover img { transform: scale(1.03); }
.case-next span { color: var(--on-dark-3); font-size: var(--fs-sm); }
.case-next h3 { font-size: var(--fs-h2); margin: 8px 0 18px; }
@media (max-width: 900px) { .case-body, .case-next { grid-template-columns: 1fr; } .case-aside { position: static; } .case-facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Prose ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: #2a3048; }
.prose > * { max-width: 70ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.035em; line-height: 1.15; margin-top: 2.1em; color: var(--text); scroll-margin-top: 110px; }
.prose h3 { font-size: var(--fs-h4); letter-spacing: -.02em; margin-top: 1.8em; color: var(--text); }
.prose a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cobalt); }
.prose strong { color: var(--text); font-weight: 600; }
.prose img, .prose figure { border-radius: var(--r); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 22px 26px; border-radius: var(--r); background: var(--cobalt-soft); color: var(--text); font-size: 1.05rem; border-left: 3px solid var(--cobalt); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.prose thead th { background: var(--paper-2); font-weight: 600; color: var(--text); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--paper-2); padding: .1em .4em; border-radius: 6px; }
.prose pre { background: var(--ink); color: var(--on-dark); padding: 20px; border-radius: var(--r); overflow: auto; }

/* ---------- Blog index ---------- */
.featured-post a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; }
.featured-post .post-media { border-radius: var(--r-lg); }
.featured-post h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); letter-spacing: -.04em; margin: 14px 0 16px; transition: color .3s; }
.featured-post a:hover h2 { color: var(--cobalt); }
.featured-post p { color: var(--text-2); font-size: var(--fs-lead); margin-bottom: 26px; }
.blog-filters { margin: clamp(56px, 7vw, 88px) 0 32px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.blog-filters h2 { font-size: var(--fs-h3); }
@media (max-width: 900px) { .featured-post a { grid-template-columns: 1fr; } }

/* ---------- Single post ---------- */
.article-hero .wrap { justify-items: start; }
.article-title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1.02; max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--on-dark-2); font-size: var(--fs-sm); }
.article-meta .cat { color: var(--sky); text-decoration: none; font-weight: 500; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 16px; height: 16px; opacity: .7; }
.article-cover { margin-top: calc(-1 * clamp(40px, 5vw, 64px)); position: relative; z-index: 2; }
.article-cover img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 50px 100px -50px rgba(14,14,19,.5); }
.article-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px clamp(40px, 6vw, 96px); padding-top: clamp(56px, 7vw, 88px); }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 14px; }
.toc-title { font-size: var(--fs-sm); font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; color: var(--text-3); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--cobalt); border-left-color: var(--cobalt); }
.share { display: flex; gap: 8px; margin-top: 10px; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--text-2); transition: background-color .2s, color .2s, border-color .2s; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 56px; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); max-width: 70ch; }
.author-box p { color: var(--text-2); font-size: var(--fs-sm); }
.author-box strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; display: none; } }

/* ---------- Timeline (process page) ---------- */
.timeline { position: relative; padding: 0 0 0 clamp(64px, 10vw, 150px); }
.timeline-list { list-style: none; margin: 0; padding: 0; }
.timeline-rail { position: absolute; left: clamp(22px, 3.5vw, 52px); top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-fill { position: absolute; inset: 0; background: var(--cobalt); transform-origin: top; transform: scaleY(0); }
.timeline-step { position: relative; padding-bottom: clamp(48px, 6vw, 88px); }
.timeline-num { position: absolute; left: calc(-1 * clamp(64px, 10vw, 150px) + clamp(22px, 3.5vw, 52px) - 24px); top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.timeline-title { font-size: var(--fs-h2); margin: 4px 0 16px; }
.timeline-text { font-size: var(--fs-lead); color: var(--text-2); max-width: 60ch; line-height: 1.55; margin-bottom: 24px; }
.timeline-get { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.timeline-get li { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.timeline-get .icon { color: var(--mint); width: 18px; }

/* ---------- About ---------- */
.stack-wall { display: grid; gap: 12px; overflow: hidden; }
.stack-row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.stack-item { display: inline-flex; align-items: center; gap: 14px; padding: 12px 28px 12px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; white-space: nowrap; font-weight: 600; font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); letter-spacing: -.03em; }
.stack-item .tile { border-radius: 50%; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.number { padding: 28px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); }
.number strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.number span { color: var(--on-dark-2); font-size: var(--fs-sm); }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { padding: clamp(24px, 3.5vw, 44px); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.input > span, .input legend { font-weight: 500; font-size: .92rem; padding: 0; }
.input legend { margin-bottom: 8px; }
.input em { font-style: normal; color: var(--text-3); font-weight: 400; }
.input input, .input select, .input textarea { width: 100%; font: inherit; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.input select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8099' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input input:focus, .input select:focus, .input textarea:focus { outline: 0; border-color: var(--cobalt); background-color: #fff; box-shadow: 0 0 0 4px rgba(107,78,255,.12); }
.input textarea { resize: vertical; min-height: 150px; }
.form .chip span { padding: 9px 15px; font-size: .9rem; background: var(--paper); }
.form .btn { justify-self: start; }
.form-note { font-size: var(--fs-xs); color: var(--text-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 14px 18px; border-radius: 12px; background: #ffe8e4; color: #8b1d0d; margin-bottom: 20px; font-weight: 500; }
.form-done { display: grid; gap: 16px; justify-items: start; }
.form-done .icon-box { background: #dff5ec; color: var(--mint); }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card { padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); }
.aside-card h2 { font-size: var(--fs-h4); margin-bottom: 18px; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 4px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.next-steps li:first-child { border-top: 0; padding-top: 0; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(188,174,255,.14); color: var(--sky); font-weight: 600; font-size: .8rem; }
.next-steps strong { font-weight: 500; }
.next-steps span { color: var(--on-dark-2); font-size: var(--fs-sm); }
.contact-direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-direct li { display: flex; gap: 12px; align-items: flex-start; }
.contact-direct .icon { color: var(--cobalt); margin-top: 2px; }
.contact-direct a { text-decoration: none; font-weight: 500; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.empty-state { display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.admin-hint { font-size: .9rem; padding: 12px 16px; border-radius: 10px; background: #fff3d6; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 500; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.notfound { min-height: 82vh; display: grid; align-content: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--text-3); margin-top: 8px; }

/* ---------- Motion (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js .is-revealed[data-reveal], .no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.js [data-hero-fade] { opacity: 0; }
.js [data-hero-title] .line > span { transform: translateY(105%); }
.js [data-hero-studio] { opacity: 0; }
.no-motion [data-hero-fade], .no-motion [data-hero-studio] { opacity: 1 !important; transform: none !important; }
.no-motion .line > span { transform: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ==========================================================================
   v3 components
   ========================================================================== */

/* ---------- Platform badge ---------- */
.pbadge { --c: var(--cobalt); display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c); color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 6px 14px -8px var(--c); }
.pbadge.has-logo { background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 7px; }
.pbadge.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.pbadge.sm { width: 24px; height: 24px; border-radius: 7px; font-size: .62rem; padding: 3px; }
.pbadge.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 1.45rem; padding: 12px; }
.pbadge.xl { width: 92px; height: 92px; border-radius: 26px; font-size: 1.8rem; padding: 16px; }

/* ---------- Hero v3 ---------- */
.hero3 { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); }
.hero3-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px clamp(32px, 4vw, 64px); align-items: center; }
.hero3-copy { display: grid; gap: 26px; justify-items: start; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.eyebrow-line .avatars { display: flex; }
.eyebrow-line .avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; display: grid; place-items: center; font-size: .6rem; font-weight: 600; color: #fff; }
.eyebrow-line .avatars span:first-child { margin-left: 0; }
.hero3-title { font-size: clamp(2.4rem, 1.2rem + 3.7vw, 4.7rem); letter-spacing: -.05em; line-height: 1; }
.hero3-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero3-title .line > span { display: inline-block; }
.typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.typed-caret { display: inline-block; width: .06em; height: .82em; margin-left: .04em; background: #8b74ff; vertical-align: -.04em; animation: blink 1s steps(1) infinite; }
.hero3-lead { color: var(--on-dark-2); max-width: 52ch; }
.hero3-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero3-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-dark-3); font-size: var(--fs-sm); }
.hero3-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero3-proof .icon { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 1060px) { .hero3-grid { grid-template-columns: 1fr; } }

/* ---------- Window stack ---------- */
.stack { position: relative; height: clamp(380px, 38vw, 500px); perspective: 1600px; }
.win { position: absolute; inset: 0; margin: auto; width: min(100%, 560px); height: 360px; border-radius: 18px; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); transform-origin: 50% 100%; }
.win[data-pos="0"] { transform: translate3d(0, 34px, 0) scale(1); z-index: 4; }
.win[data-pos="1"] { transform: translate3d(5%, -14px, -60px) scale(.94); z-index: 3; filter: brightness(.82); }
.win[data-pos="2"] { transform: translate3d(10%, -58px, -120px) scale(.88); z-index: 2; filter: brightness(.66); }
.win[data-pos="3"] { transform: translate3d(15%, -98px, -180px) scale(.82); z-index: 1; filter: brightness(.5); opacity: .9; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.win-bar strong { font-weight: 600; }
.win-title { color: var(--text-3); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-pub { padding: 6px 12px; border-radius: 8px; background: var(--pc, var(--cobalt)); color: #fff; font-weight: 500; font-size: .76rem; }
.win-body { display: flex; height: calc(100% - 46px); background: #fafafc; }
.w-side, .w-style, .w-status { width: 110px; flex: none; padding: 14px 12px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; background: #fff; font-size: .7rem; color: var(--text-3); }
.w-style, .w-status { border-right: 0; border-left: 1px solid var(--line); }
.w-side i, .w-style i, .w-status i { height: 22px; border-radius: 6px; background: var(--paper-2); }
.w-side i.on { background: color-mix(in srgb, var(--pc) 18%, white); box-shadow: inset 2px 0 0 var(--pc); }
.w-side i.ind { margin-left: 12px; }
.w-style i.sw { background: var(--pc); }
.w-status em { font-style: normal; font-size: .72rem; padding: 4px 8px; border-radius: 6px; background: #dcf5ec; color: var(--mint); justify-self: start; }
.w-canvas { flex: 1; padding: 22px; display: grid; gap: 10px; align-content: start; }
.w-canvas.grid-bg { background-image: radial-gradient(#d9d6e4 1px, transparent 1.2px); background-size: 14px 14px; }
.w-h { margin: 0; min-height: 1.2em; font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.w-h::after, .w-input[data-type]::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--pc); vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
.w-line { height: 8px; border-radius: 4px; background: var(--line); width: 92%; }
.w-line.s { width: 64%; }
.w-img { height: 96px; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 70%, white), var(--pc)); }
.w-img.short { height: 64px; }
.w-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-cols b { height: 42px; border-radius: 8px; background: var(--paper-2); }
.w-sel { outline: 1.5px solid var(--pc); outline-offset: 4px; border-radius: 2px; position: relative; }
.w-sel::before { content: "Heading"; position: absolute; top: -26px; left: -5px; font-size: .62rem; padding: 2px 6px; border-radius: 4px; background: var(--pc); color: #fff; }
.w-btns { display: flex; gap: 8px; }
.w-btns b { width: 80px; height: 26px; border-radius: 999px; background: var(--text); }
.w-btns b.o { background: none; box-shadow: inset 0 0 0 1.5px var(--text); }
.w-form { flex: 1; padding: 18px 20px; display: grid; gap: 6px; align-content: start; font-size: .74rem; }
.w-form label { color: var(--text-2); font-weight: 500; margin-top: 6px; }
.w-form label small { color: var(--text-3); font-weight: 400; font-family: var(--f-mono); }
.w-input { margin: 0; min-height: 34px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-thumbs { display: flex; gap: 8px; }
.w-thumbs b { width: 46px; height: 46px; border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 45%, white), color-mix(in srgb, var(--pc) 80%, black)); }
.w-thumbs b.add { background: none; border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--text-3); font-weight: 400; }
.w-pt { display: grid; gap: 6px; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.w-pt i { height: 7px; border-radius: 4px; background: var(--line); }
.w-pt i.s { width: 60%; }
@media (max-width: 640px) {
	.stack { height: 360px; }
	.win { height: 300px; }
	.w-style, .w-status { display: none; }
	.w-side { width: 84px; }
}

/* ---------- Counters strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(56px, 7vw, 88px); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-line); border: 1px solid var(--ink-line); }
.stat { padding: 26px 26px 24px; background: rgba(22,22,30,.72); display: grid; gap: 6px; position: relative; }
.stat strong { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { color: var(--on-dark-3); font-size: var(--fs-sm); }
.stat .stat-ic { position: absolute; top: 22px; right: 22px; color: var(--sky); opacity: .7; }
.stat-year { display: flex; align-items: baseline; gap: 10px; }
.stat-year small { font-size: .9rem; font-weight: 500; color: var(--teal); letter-spacing: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Logo marquee ---------- */
.logos { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 112px); }
.logos-head { display: flex; justify-content: center; margin-bottom: 26px; }
.logo-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 500; white-space: nowrap; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.logo-chip:hover { border-color: transparent; transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(14,14,19,.35); }
.logo-chip .pbadge { width: 38px; height: 38px; border-radius: 10px; font-size: .8rem; }

/* ---------- Services v3 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 0; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(14,14,19,.35); border-color: #d8d4e6; }
.svc-visual { position: relative; height: 210px; background: linear-gradient(180deg, var(--paper), #fff); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.svc-copy { padding: 22px 26px 26px; display: grid; gap: 8px; }
.svc-copy h3 { font-size: var(--fs-h4); letter-spacing: -.025em; display: flex; align-items: center; gap: 10px; }
.svc-copy p { color: var(--text-2); font-size: var(--fs-sm); }
.svc-copy .link-arrow { color: var(--cobalt); font-size: var(--fs-sm); margin-top: 6px; }
.svc.c3 { grid-column: span 3; } .svc.c2 { grid-column: span 2; }
.svc.dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.svc.dark .svc-visual { background: radial-gradient(120% 90% at 50% 0%, #26213f, var(--ink)); border-color: var(--ink-line); }
.svc.dark p { color: var(--on-dark-2); }
.svc.dark .link-arrow { color: var(--sky); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc.c3, .svc.c2 { grid-column: span 1; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Viz scenes (shared) ---------- */
.viz { --pc: var(--cobalt); position: relative; width: min(92%, 340px); font-size: .74rem; color: var(--text); }
.viz *, .viz *::before, .viz *::after { animation-play-state: paused; }
.viz.is-in *, .viz.is-in *::before, .viz.is-in *::after, .no-motion .viz * { animation-play-state: running; }
.viz .icon { width: 14px; height: 14px; }
.svc.dark .viz, .bg-ink .viz { color: var(--on-dark); }

/* build */
.viz-build { display: grid; grid-template-columns: 1fr 108px; gap: 10px; }
.vb-page { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 7px; min-height: 150px; align-content: start; box-shadow: 0 14px 30px -20px rgba(14,14,19,.3); }
.vb-blk { display: grid; gap: 5px; padding: 8px; border-radius: 8px; background: var(--paper); opacity: 0; transform: translateX(40px); animation: vbIn 6s var(--ease) infinite; }
.vb-blk i { height: 6px; border-radius: 3px; background: #cfcadf; } .vb-blk i.s { width: 60%; }
.vb-blk.b1 { background: var(--cobalt-soft); } .vb-blk.b1 i { background: #c3b8ff; }
.vb-blk.b2 { grid-template-columns: repeat(3, 1fr); animation-delay: .8s; } .vb-blk.b2 b { height: 22px; border-radius: 5px; background: #fff; }
.vb-blk.b3 { background: var(--ink); animation-delay: 1.6s; } .vb-blk.b3 i { background: #514d68; }
@keyframes vbIn { 0%, 6% { opacity: 0; transform: translateX(40px); } 16%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.vb-lib { display: grid; gap: 6px; align-content: start; }
.vb-lib span { padding: 7px 9px; border-radius: 8px; background: #fff; border: 1px dashed #cfcadf; color: var(--text-2); font-size: .68rem; }
.svc.dark .vb-lib span { background: transparent; border-color: #3b3756; color: var(--on-dark-2); }
.svc.dark .vb-page { background: #1d1b2c; border-color: #2e2b45; } .svc.dark .vb-blk { background: #26233a; } .svc.dark .vb-blk.b1 { background: #3a2f7a; } .svc.dark .vb-blk.b2 b { background: #322e4b; } .svc.dark .vb-blk.b3 { background: #0e0e13; }

/* migrate */
.viz-migrate { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 6px; }
.vm-site { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px; display: grid; gap: 6px; }
.vm-site small { font-weight: 500; color: var(--text-3); }
.vm-site i { height: 7px; border-radius: 4px; background: var(--paper-2); }
.vm-site.new { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(107,78,255,.12); }
.vm-site.new i { background: #d7cfff; }
.vm-path { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #c9c3dc 0 6px, transparent 6px 10px); }
.vm-path span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--cobalt); animation: vmMove 2.4s linear infinite; }
.vm-path span:nth-child(2) { animation-delay: .8s; background: var(--teal); } .vm-path span:nth-child(3) { animation-delay: 1.6s; background: var(--marigold); }
@keyframes vmMove { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.vm-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vm-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.vm-bar b { display: block; height: 100%; width: 0; background: var(--grad); animation: vmBar 4.8s var(--ease) infinite; }
@keyframes vmBar { 0% { width: 4%; } 70%, 100% { width: 100%; } }
.vm-status em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; color: var(--mint); font-weight: 500; }

/* headless */
.viz-headless { height: 150px; }
.vh-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.vh-lines path { fill: none; stroke: #cbc4e4; stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
.svc.dark .vh-lines path { stroke: #4a4470; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.vh-hub { position: absolute; left: 4%; top: 50%; transform: translateY(-50%); z-index: 1; display: grid; justify-items: center; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(107,78,255,.6); animation: pulseHub 2.4s ease-in-out infinite; }
.vh-hub small { font-weight: 600; }
@keyframes pulseHub { 50% { box-shadow: 0 14px 40px -6px rgba(107,78,255,.85); } }
.vh-out { position: absolute; right: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--text); }
.vh-out.o1 { top: 2%; } .vh-out.o2 { top: 38%; } .vh-out.o3 { bottom: 2%; }

/* cart */
.viz-cart { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.vc-product { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.vc-img { height: 64px; border-radius: 8px; background: linear-gradient(135deg, #ffd9a8, #ff9f6e); }
.vc-l { height: 7px; border-radius: 4px; background: var(--paper-2); } .vc-l.s { width: 50%; }
.vc-btn { margin-top: 4px; padding: 7px; border-radius: 8px; background: var(--ink); color: #fff; text-align: center; font-weight: 500; animation: press 3s ease-in-out infinite; }
@keyframes press { 0%, 40%, 55%, 100% { transform: none; } 47% { transform: scale(.94); background: var(--cobalt); } }
.vc-cart { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.vc-count { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; background: var(--cobalt); color: #fff; font-size: .66rem; }
.vc-count span { display: grid; place-items: center; height: 20px; animation: countUp 6s steps(1) infinite; }
@keyframes countUp { 0%, 32% { transform: translateY(0); } 33%, 65% { transform: translateY(-20px); } 66%, 100% { transform: translateY(-40px); } }
.vc-steps { grid-column: 1 / -1; display: flex; gap: 6px; }
.vc-steps span { flex: 1; text-align: center; padding: 5px; border-radius: 6px; background: var(--paper-2); color: var(--text-3); animation: stepOn 6s infinite; }
.vc-steps span:nth-child(2) { animation-delay: 2s; } .vc-steps span:nth-child(3) { animation-delay: 4s; }
@keyframes stepOn { 0%, 30% { background: var(--cobalt-soft); color: var(--cobalt); } 34%, 100% { background: var(--paper-2); color: var(--text-3); } }

/* plug */
.viz-plug { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.vp-node { display: grid; justify-items: center; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--text); }
.vp-link { position: relative; height: 2px; background: #d6d0ea; overflow: hidden; }
.vp-link i { position: absolute; inset: 0; width: 40%; background: var(--grad); animation: link 1.6s linear infinite; }
@keyframes link { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.vp-ok { grid-column: 1 / -1; justify-self: center; font-style: normal; display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 999px; background: #dcf5ec; color: var(--mint); font-weight: 500; margin-top: 8px; }

/* editor */
.viz-editor { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 14px 30px -22px rgba(14,14,19,.35); }
.ve-label { color: var(--text-3); font-weight: 500; }
.ve-input { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--cobalt); box-shadow: 0 0 0 3px rgba(107,78,255,.12); font-size: .82rem; font-weight: 500; overflow: hidden; }
.ve-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: typeW 5s steps(19) infinite; }
.ve-input i { width: 2px; height: 14px; background: var(--cobalt); animation: blink 1s steps(1) infinite; }
@keyframes typeW { 0% { width: 0; } 45%, 90% { width: 19ch; } 100% { width: 0; } }
.ve-img { height: 30px; border-radius: 8px; background: linear-gradient(120deg, #ffcf9c, #ff8a6b); }
.ve-saved { justify-self: end; display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; opacity: 0; animation: savedIn 5s infinite; }
@keyframes savedIn { 0%, 50% { opacity: 0; transform: translateY(6px); } 58%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* speed */
.viz-speed { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.vs-gauge { position: relative; text-align: center; }
.vs-gauge svg { width: 120px; height: 70px; }
.vs-gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.vs-track { stroke: var(--paper-2); }
.vs-fill { stroke: url(#none); stroke: var(--mint); stroke-dasharray: 158; stroke-dashoffset: 158; animation: gauge 4s var(--ease) infinite; }
@keyframes gauge { 0% { stroke-dashoffset: 158; } 40%, 85% { stroke-dashoffset: 16; } 100% { stroke-dashoffset: 158; } }
.vs-gauge b { position: absolute; left: 0; right: 0; bottom: 0; font-size: .82rem; }
.vs-metrics { display: grid; gap: 9px; }
.vs-metrics span { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; }
.vs-metrics small { color: var(--text-3); font-weight: 600; }
.vs-metrics i { height: 6px; border-radius: 3px; background: var(--paper-2); position: relative; overflow: hidden; }
.vs-metrics i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--mint); border-radius: 3px; transform-origin: left; animation: barIn 4s var(--ease) infinite; }
@keyframes barIn { 0% { transform: scaleX(0); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.vs-metrics em { font-style: normal; color: var(--mint); font-weight: 600; }

/* own */
.viz-own { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.vo-key { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; animation: keyTurn 4s var(--ease) infinite; }
@keyframes keyTurn { 0%, 20% { transform: rotate(0); } 35%, 100% { transform: rotate(-20deg); } }
.viz-own ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.viz-own li { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.viz-own em { font-style: normal; display: inline-flex; gap: 4px; align-items: center; color: var(--mint); font-weight: 600; opacity: 0; animation: fadeOn 4s infinite; }
.viz-own li:nth-child(2) em { animation-delay: .4s; } .viz-own li:nth-child(3) em { animation-delay: .8s; } .viz-own li:nth-child(4) em { animation-delay: 1.2s; }
@keyframes fadeOn { 0%, 15% { opacity: 0; } 25%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* chat */
.viz-chat { display: grid; gap: 7px; }
.vt-msg { max-width: 82%; padding: 8px 11px; border-radius: 12px; line-height: 1.35; opacity: 0; animation: msgIn 7s infinite; }
.vt-msg.in { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.vt-msg.out { justify-self: end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 4px; animation-delay: 1.4s; }
.vt-msg:nth-child(3) { animation-delay: 2.8s; }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(8px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.vt-typing { display: inline-flex; gap: 3px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); justify-self: start; }
.vt-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); animation: dots 1s infinite; }
.vt-typing i:nth-child(2) { animation-delay: .15s; } .vt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-3px); opacity: .4; } }

/* quote */
.viz-quote { display: grid; gap: 7px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); }
.vq-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--ink-line); }
.vq-head span { padding: 3px 9px; border-radius: 999px; background: var(--marigold); color: var(--ink); font-weight: 600; font-size: .68rem; }
.vq-row { display: flex; justify-content: space-between; align-items: center; color: var(--on-dark-2); }
.vq-row i { font-style: normal; }
.vq-row .icon { color: var(--teal); opacity: 0; animation: fadeOn 5s infinite; }
.vq-row:nth-child(3) .icon { animation-delay: .5s; } .vq-row:nth-child(4) .icon { animation-delay: 1s; }
.vq-total { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(20,200,176,.12); color: #7ff0dd; font-weight: 500; }
.vq-total i { font-style: normal; }

/* discover */
.viz-discover { display: grid; gap: 7px; }
.vd-q { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.vd-q i { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #c9c3dc; position: relative; animation: tick 6s infinite; }
.vd-q:nth-child(2) i { animation-delay: .8s; } .vd-q:nth-child(3) i { animation-delay: 1.6s; }
@keyframes tick { 0%, 12% { background: none; border-color: #c9c3dc; } 20%, 90% { background: var(--cobalt); border-color: var(--cobalt); box-shadow: inset 0 0 0 3px #fff; } }
.vd-res { display: inline-flex; gap: 6px; align-items: center; justify-self: start; padding: 6px 11px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt); font-weight: 600; opacity: 0; animation: fadeOn 6s infinite; animation-delay: 2.4s; }

/* model */
.viz-model { height: 150px; }
.viz-model svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-model path { fill: none; stroke: #c8c1e2; stroke-width: 1.4; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 5s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 120; } 40%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 120; } }
.viz-model span { position: absolute; z-index: 1; padding: 4px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-weight: 500; transform: translate(-50%, -50%); white-space: nowrap; }
.vmo-root { left: 50%; top: 12%; background: var(--grad) !important; color: #fff; border: 0 !important; }
.vmo-node { top: 52%; background: var(--cobalt-soft) !important; color: var(--cobalt); }
.n1 { left: 20%; } .n2 { left: 50%; } .n3 { left: 80%; }
.vmo-leaf { top: 88%; font-size: .66rem; color: var(--text-2); }
.l1 { left: 11%; } .l2 { left: 33%; } .l3 { left: 58%; } .l4 { left: 84%; }

/* design */
.viz-design { height: 150px; }
.vde-frame { position: absolute; inset: 6px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 10px; display: grid; gap: 8px; align-content: start; }
.vde-nav { height: 8px; border-radius: 4px; background: var(--paper-2); }
.vde-hero { display: grid; grid-template-columns: 1fr 70px; gap: 8px; }
.vde-hero i { height: 9px; border-radius: 5px; background: var(--paper-2); animation: colorIn 6s infinite; }
.vde-hero i + i { width: 70%; }
.vde-hero b { grid-row: span 2; grid-column: 2; height: 48px; border-radius: 8px; border: 1.5px dashed #cfc9e2; animation: imgIn 6s infinite; }
.vde-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vde-grid b { height: 26px; border-radius: 6px; border: 1.5px dashed #cfc9e2; animation: imgIn 6s infinite; animation-delay: .6s; }
@keyframes colorIn { 0%, 30% { background: var(--paper-2); } 45%, 90% { background: var(--ink); } 100% { background: var(--paper-2); } }
@keyframes imgIn { 0%, 35% { background: none; border-color: #cfc9e2; } 50%, 90% { background: linear-gradient(135deg, #b9a9ff, #6b4eff); border-color: transparent; } 100% { background: none; } }
.vde-cursor { position: absolute; z-index: 2; left: 30%; top: 30%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; animation: cursorMove 6s var(--ease) infinite; }
@keyframes cursorMove { 0% { left: 30%; top: 30%; } 30% { left: 70%; top: 40%; } 60% { left: 50%; top: 72%; } 100% { left: 30%; top: 30%; } }

/* code */
.viz-code { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--ink); color: #d9d6ea; font-family: var(--f-mono); font-size: .7rem; }
.vco-l { opacity: 0; animation: lineIn 6s infinite; }
.vco-l b { color: var(--teal); margin-right: 6px; font-weight: 400; }
.vco-l:nth-child(2) { animation-delay: .7s; } .vco-l:nth-child(3) { animation-delay: 1.4s; }
@keyframes lineIn { 0%, 4% { opacity: 0; transform: translateX(-6px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.vco-ok { display: inline-flex; gap: 6px; align-items: center; color: #7ff0dd; font-family: var(--f); font-weight: 500; opacity: 0; animation: fadeOn 6s infinite; animation-delay: 2.2s; }

/* launch */
.viz-launch { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.vl-top { display: flex; justify-content: space-between; align-items: center; }
.vl-top b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.vl-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #dcf5ec; color: var(--mint); font-weight: 600; }
.vl-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: dots 1.4s infinite; }
.viz-launch svg { width: 100%; height: 60px; }
.vl-line { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw2 5s var(--ease) infinite; }
.vl-area { fill: rgba(107,78,255,.1); }
@keyframes draw2 { 0% { stroke-dashoffset: 260; } 50%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.vl-checks { display: flex; gap: 6px; flex-wrap: wrap; }
.vl-checks span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--text-2); }

/* ---------- Why v3 ---------- */
.why3 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.why-card { grid-column: span 2; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.why-card.w3 { grid-column: span 3; }
.why-card .why-visual { height: 220px; display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, var(--cobalt-soft), var(--paper) 70%); border-bottom: 1px solid var(--line); }
.why-card .why-copy { padding: 22px 26px 26px; display: grid; gap: 8px; }
.why-card h3 { font-size: var(--fs-h4); letter-spacing: -.025em; }
.why-card p { color: var(--text-2); font-size: var(--fs-sm); }
.why-card.dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.why-card.dark .why-visual { background: radial-gradient(120% 100% at 50% 0%, #2a2346, var(--ink) 70%); border-color: var(--ink-line); }
.why-card.dark p { color: var(--on-dark-2); }
@media (max-width: 1000px) { .why3 { grid-template-columns: 1fr 1fr; } .why-card, .why-card.w3 { grid-column: span 1; } }
@media (max-width: 640px) { .why3 { grid-template-columns: 1fr; } }

/* ---------- Work cards v3 (device mockups) ---------- */
.work-stage { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--stage, var(--ink-2)); isolation: isolate; }
.work-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 70% 20%, rgba(255,255,255,.18), transparent 70%), radial-gradient(60% 50% at 10% 100%, rgba(0,0,0,.25), transparent 70%); }
.work-stage .mock { width: 84%; transform: translateY(6%); transition: transform 1s var(--ease); }
.work-stage .mock-cover { position: absolute; inset: 0; }
.work-stage .mock-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card a:hover .mock-cover img { transform: scale(1.04); }
.work-stage:has(.mock-cover) .work-stage-label { display: none; }
.work-card a:hover .work-stage .mock { transform: translateY(2%); }
.work-stage-label { position: absolute; left: 20px; top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: #fff; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(0,0,0,.22); backdrop-filter: blur(6px); }
.work-stage-label .pbadge { width: 22px; height: 22px; border-radius: 6px; font-size: .58rem; }

/* ---------- Mockup ---------- */
.mock { position: relative; }
.mock-window { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.06); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1f0f5; border-bottom: 1px solid #e4e1ec; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d6e2; }
.mock-bar i:first-child { background: #ff6b5e; } .mock-bar i:nth-child(2) { background: #ffbe2e; } .mock-bar i:nth-child(3) { background: #2bc840; }
.mock-bar span { margin: 0 auto; transform: translateX(-20px); padding: 3px 14px; border-radius: 6px; background: #fff; font-size: .68rem; color: var(--text-3); min-width: 40%; text-align: center; }
.mock-screen { aspect-ratio: 16 / 10; overflow: hidden; background: #f6f5f9; }
.mock-screen img { width: 100%; height: auto; display: block; }
.mock-screen img.mock-scroll { transition: transform 5s var(--ease); }
a:hover .mock-screen img.mock-scroll, .mock:hover .mock-screen img.mock-scroll { transform: translateY(-8%); }
.mock.is-fallback .mock-screen img { height: 100%; object-fit: cover; }
.mock-empty { display: grid; place-items: center; height: 100%; color: var(--text-3); font-weight: 500; }
.mock-phone { position: absolute; right: -4%; bottom: -8%; width: 22%; min-width: 92px; aspect-ratio: 9 / 19.5; border-radius: 22px; padding: 6px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1.5px #333; }
.mock-phone-screen { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #fff; }
.mock-phone-screen img { width: 100%; height: auto; }

/* ---------- Platform tabs ---------- */
.ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.ptab { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--text-2); transition: background-color .25s, color .25s, border-color .25s; }
.ptab:hover { color: var(--text); border-color: var(--text-3); }
.ptab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ppanel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.ppanel[hidden] { display: none; }
.ppanel-intro { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.ppanel-intro h3 { font-size: var(--fs-h3); }
.ppanel-intro p { color: var(--text-2); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.pcard { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(14,14,19,.4); border-color: #d6d1e6; }
.pcard strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.pcard strong .icon { width: 18px; height: 18px; color: var(--cobalt); transition: transform .3s var(--ease); }
.pcard:hover strong .icon { transform: translate(3px, -3px); }
.pcard span { color: var(--text-2); font-size: .9rem; line-height: 1.45; }
.ppanel .pgrid .pcard { opacity: 1; }
@media (max-width: 900px) { .ppanel { grid-template-columns: 1fr; } .ppanel-intro { position: static; } }

/* ---------- Journey (process) ---------- */
.journey { position: relative; }
.journey-track { display: flex; gap: 20px; padding: clamp(88px, 10vw, 130px) var(--gutter); width: max-content; align-items: stretch; }
.journey-progress { position: absolute; left: 0; right: 0; bottom: clamp(40px, 5vw, 64px); height: 2px; background: var(--ink-line); margin: 0 var(--gutter); }
.journey-progress b { display: block; height: 100%; width: 0; background: var(--grad); }
.jcard { width: min(400px, 80vw); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); overflow: hidden; display: flex; flex-direction: column; }
.jcard-visual { height: 210px; display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, #f2efff, #e7e3f3); }
.jcard-copy { padding: 22px 26px 28px; display: grid; gap: 10px; }
.jcard-top { display: flex; align-items: center; gap: 10px; color: var(--sky); font-size: .85rem; font-weight: 500; }
.jcard-top b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(188,174,255,.4); font-weight: 500; }
.jcard h3 { font-size: var(--fs-h3); color: #fff; }
.jcard p { color: var(--on-dark-2); font-size: var(--fs-sm); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
	.journey-track { flex-direction: column; width: auto; }
	.jcard { width: auto; }
	.journey-progress { display: none; }
}

/* ---------- Process page steps ---------- */
.psteps { display: grid; gap: clamp(56px, 7vw, 96px); }
.pstep { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.pstep:nth-child(even) .pstep-visual { order: -1; }
.pstep-visual { height: 340px; border-radius: var(--r-lg); display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, #f3f0ff, #e8e5f2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pstep-visual .viz { width: min(84%, 380px); transform: scale(1.15); }
.pstep-num { display: inline-flex; align-items: center; gap: 10px; color: var(--cobalt); font-weight: 500; }
.pstep-num b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt-soft); font-weight: 600; }
.pstep h2 { font-size: var(--fs-h2); margin: 12px 0 16px; }
.pstep p { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; margin-bottom: 22px; }
@media (max-width: 900px) { .pstep { grid-template-columns: 1fr; } .pstep:nth-child(even) .pstep-visual { order: 0; } .pstep-visual { height: 280px; } }

/* ---------- Platform page v3 ---------- */
.cms3-hero .hero3-grid { align-items: center; }
.cms3-hero .stack { height: clamp(340px, 34vw, 440px); }
.cms3-tag { display: inline-flex; align-items: center; gap: 12px; }
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-item { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.svc-item:hover { border-color: color-mix(in srgb, var(--pc, var(--cobalt)) 45%, white); transform: translateY(-3px); }
.svc-item .icon-box { width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--pc, var(--cobalt)) 12%, white); color: var(--pc, var(--cobalt)); }
.svc-item h3 { font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.3; }
.svc-item p { color: var(--text-2); font-size: .94rem; }
.feat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r-lg); overflow: hidden; }
.feat { padding: 28px; background: var(--ink-2); display: grid; gap: 10px; align-content: start; }
.feat .icon { color: var(--teal); width: 24px; height: 24px; }
.feat h3 { font-size: 1.08rem; color: #fff; letter-spacing: -.02em; }
.feat p { color: var(--on-dark-2); font-size: .92rem; }
.int-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.int-cloud span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.int-cloud span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.example a { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.example-stage { padding: 22px 22px 0; border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 22%, white), color-mix(in srgb, var(--pc) 8%, white)); overflow: hidden; }
.example-stage .mock-window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.example-meta { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.example-meta .icon { color: var(--cobalt); }
@media (max-width: 1000px) { .svc-list, .examples { grid-template-columns: 1fr 1fr; } .feat-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-list, .examples, .feat-row { grid-template-columns: 1fr; } }

/* ---------- About v3 ---------- */
.about-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(140deg, #2a2346, #0e0e13); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark-2); text-align: center; padding: 24px; }
.about-photo-ph .roles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.roles span, .role-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--ink-line); color: var(--on-dark); font-size: .9rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-role { padding: 26px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); display: grid; gap: 10px; }
.team-role .icon-box { margin-bottom: 4px; }
.team-role h3 { font-size: 1.1rem; color: #fff; letter-spacing: -.02em; }
.team-role p { color: var(--on-dark-2); font-size: .92rem; }
.milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--grad); opacity: .45; }
.milestone { position: relative; display: grid; gap: 8px; padding-top: 0; }
.milestone b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--cobalt); font-weight: 600; font-size: .78rem; color: var(--cobalt); position: relative; z-index: 1; }
.milestone h3 { font-size: 1.1rem; letter-spacing: -.02em; margin-top: 8px; }
.milestone p { color: var(--text-2); font-size: .92rem; }
@media (max-width: 900px) { .team-grid, .milestones { grid-template-columns: 1fr 1fr; } .milestones::before { display: none; } }
@media (max-width: 560px) { .team-grid, .milestones { grid-template-columns: 1fr; } }

/* ---------- Reading progress ---------- */
.read-progress { position: fixed; left: 0; top: 0; z-index: 150; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }
.admin-bar .read-progress { top: 32px; }

.hero-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.hero-logos .pbadge { width: 40px; height: 40px; border-radius: 11px; font-size: .78rem; }
.hero-logos-more { padding: 8px 14px; border-radius: 11px; border: 1px solid var(--ink-line); color: var(--on-dark-2); font-size: .88rem; }
.about-photo-ph .brand-mark { width: 54px; height: 54px; margin: 0 auto; color: #fff; }
.stack-item .pbadge { border-radius: 50%; }
.dir-item .pbadge { margin-bottom: 6px; }

.case-stage { aspect-ratio: 16 / 8; box-shadow: 0 50px 100px -50px rgba(14,14,19,.55); }
.case-stage .mock { width: 72%; }
@media (max-width: 700px) { .case-stage { aspect-ratio: 4 / 3; } .case-stage .mock { width: 86%; } }
@media (max-width: 560px) { .stat .stat-ic { display: none; } .stat { padding: 20px; } }
