/* TAKIX — minimal design system. Light tokens on :root, dark (default) on [data-theme="dark"]. */
@font-face { font-family: "Vazirmatn"; src: url("fonts/Vazirmatn-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@view-transition { navigation: auto; }

:root {
	--primary: #6B21F5; --primary-2: #7C3AED; --primary-text: #5B18D6; --on-primary: #fff;
	--grad: linear-gradient(135deg, #8A45FF 0%, #6B21F5 55%, #5617D0 100%);
	--bg: #FFFFFF; --bg-tint: #F7F6FB; --surface: #FFFFFF; --surface-2: #F3F2F8;
	--text: #0F0E1F; --text-2: #4E4D66; --text-3: #8B8AA3;
	--line: rgba(15, 14, 31, .08); --line-2: rgba(15, 14, 31, .14);
	--glow: rgba(107, 33, 245, .16); --accent-soft: rgba(107, 33, 245, .07);
	--shadow: 0 1px 2px rgba(15,14,31,.04), 0 12px 32px -12px rgba(15,14,31,.12);
	--shadow-lg: 0 30px 80px -30px rgba(43, 17, 110, .35);
	--radius: 18px; --radius-sm: 12px;
	--wrap: 1200px; --gutter: clamp(20px, 5vw, 40px);
	--space: clamp(80px, 11vw, 144px);
	--ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
	--font: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: light;
}
[data-theme="dark"] {
	--primary: #8B5CF6; --primary-2: #A78BFA; --primary-text: #B9A0FF;
	--bg: #08071A; --bg-tint: #0D0C22; --surface: #121130; --surface-2: #17163A;
	--text: #F3F2FF; --text-2: #A9A7C7; --text-3: #6E6C90;
	--line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
	--glow: rgba(139, 92, 246, .28); --accent-soft: rgba(139, 92, 246, .1);
	--shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
	--shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; transition: background-color .4s var(--ease), color .4s var(--ease); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.logo, svg.logo * { stroke: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.35; color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] em { background: linear-gradient(135deg, #C4B5FD, #8B5CF6); -webkit-background-clip: text; background-clip: text; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.skip { position: absolute; inset-inline-start: -9999px; top: 12px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { inset-inline-start: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--primary-text); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--text-2); line-height: 2; max-width: 620px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); position: relative; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(.25); transform-origin: right; opacity: .5; transition: transform .5s var(--ease), opacity .3s; }
.link:hover::after { transform: scaleX(1); opacity: 1; }
.link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(-4px); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent; font-size: 15.5px; font-weight: 700; line-height: 1; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .4s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(-4px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn--primary { background: var(--grad); color: var(--on-primary); box-shadow: 0 10px 24px -10px rgba(107, 33, 245, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(110%); transition: transform .8s var(--ease); }
.btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(107, 33, 245, .85), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(-110%); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text-3); background: var(--accent-soft); }
.btn--light { background: #fff; color: #1A0B45; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btns--center { justify-content: center; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text-2); transition: color .3s, background-color .3s, border-color .3s; }
.icon-btn:hover { color: var(--text); background: var(--accent-soft); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .6s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 32px; height: 76px; transition: height .4s var(--ease); }
.header.is-scrolled .header__in { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 19px; color: var(--text); flex: none; }
.brand__mark { width: 36px; height: 36px; display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.brand__mark .logo { width: 100%; height: 100%; display: block; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--text-2); border-radius: 10px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1.5px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.theme-btn span { display: grid; }
.theme-btn svg { transition: transform .6s var(--ease); }
.theme-btn:hover svg { transform: rotate(25deg); }
.theme-btn__moon, [data-theme="dark"] .theme-btn__sun { display: none !important; }
[data-theme="dark"] .theme-btn__moon { display: grid !important; }
.header__cta { margin-inline-start: 6px; }
.menu-btn { display: none; position: relative; }
.menu-btn span { position: absolute; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 24px; }
.nav-open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 104px var(--gutter) max(32px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.nav-open .mnav { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.nav-open, .nav-open body { overflow: hidden; }
.nav-open .header { background: var(--bg); border-color: var(--line); transform: none; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { font-size: clamp(28px, 8vw, 40px); font-weight: 800; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; transition-delay: calc(var(--i) * 45ms + 80ms); }
.mnav__links a[aria-current="page"] { color: var(--text); }
.nav-open .mnav__links a { opacity: 1; transform: none; }
.mnav__cta { width: 100%; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease) .38s, transform .6s var(--ease) .38s; }
.nav-open .mnav__cta { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: var(--space); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--flush-top { padding-top: clamp(24px, 4vw, 48px); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 14px; }
.head .lead { justify-self: end; }
.head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.head--center .eyebrow::before { display: none; }
.more { margin-top: 48px; display: flex; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(128px, 15vw, 176px) 0 clamp(32px, 5vw, 64px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .6; }
.hero__bg span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.hero__bg span:first-child { width: 520px; height: 520px; top: -160px; left: 8%; background: radial-gradient(circle, rgba(122, 47, 255, .55), transparent 65%); animation: drift 22s var(--ease-io) infinite alternate; }
.hero__bg span:last-child { width: 420px; height: 420px; top: 120px; right: -120px; background: radial-gradient(circle, rgba(56, 120, 255, .28), transparent 65%); animation: drift 26s var(--ease-io) infinite alternate-reverse; }
[data-theme="light"] .hero__bg span { opacity: .35; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.3; margin: 22px 0 24px; }
.hero__names { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; font-weight: 600; }
.hero__names li { display: inline-flex; align-items: center; gap: 8px; }
.hero__names li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); opacity: .7; }

/* Hero visual: code editor with floating product notifications */
.hero__visual { position: relative; min-width: 0; }
.hero__grid > * { min-width: 0; }
.editor__win { max-width: 100%; }
.editor { position: relative; padding: 44px 0 64px; }
.editor__win { position: relative; border-radius: 18px; overflow: hidden; background: #0B0A1F; box-shadow: 0 0 0 1px rgba(255,255,255,.08), var(--shadow-lg), 0 0 120px -30px rgba(122, 47, 255, .55); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform 1s var(--ease); }
.hero:hover .editor__win { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.07); direction: ltr; }
.editor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.editor__bar i:nth-child(2) { background: #FEBC2E; } .editor__bar i:nth-child(3) { background: #28C840; }
.editor__tab { margin-left: 14px; font: 500 12.5px var(--mono); color: #C9C6F2; padding: 4px 12px; border-radius: 8px; background: rgba(255,255,255,.06); }
.editor__tab--off { margin-left: 2px; color: #6B6890; background: none; }
.editor__code { margin: 0; padding: 20px 0 24px; font: 13.5px/1.95 var(--mono); color: #D6D4F0; overflow-x: auto; white-space: pre; text-align: left; counter-reset: ln; }
.editor__code .ln { display: block; padding: 0 20px 0 0; counter-increment: ln; }
.editor__code .ln::before { content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: #45426A; user-select: none; }
.editor__code .t { color: #F472B6; } .editor__code .c { color: #6E6B96; } .editor__code .k { color: #C084FC; } .editor__code .f { color: #7DD3FC; }
.editor__code .s { color: #86EFAC; } .editor__code .n { color: #FDBA74; } .editor__code .v { color: #F9A8D4; } .editor__code .p { color: #A5B4FC; }
.editor__code .cur { display: inline-block; width: 8px; height: 17px; margin-left: 2px; background: #A78BFA; vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .hero__visual .ln { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--l) * 70ms + 500ms); }
.js .hero__visual.is-in .ln { opacity: 1; transform: none; }
.note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); font-size: 13.5px; white-space: nowrap; }
.note b { display: block; font-weight: 700; color: var(--text); }
.note small { display: block; font-size: 12px; color: var(--text-3); }
.note__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--primary-text); flex: none; }
.note__ic svg { width: 18px; height: 18px; }
.note--a { top: 0; left: -18px; animation: float 8s ease-in-out infinite; }
.note--b { bottom: 0; right: 8%; animation: float 9s ease-in-out -3s infinite; }
.note--c { bottom: 0; left: 14%; animation: float 10s ease-in-out -5s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.js .hero__visual .note { opacity: 0; scale: .92; transition: opacity .7s var(--ease), scale .8s var(--ease); }
.js .hero__visual.is-in .note { opacity: 1; scale: 1; }
.js .hero__visual.is-in .note--a { transition-delay: 1.3s; } .js .hero__visual.is-in .note--c { transition-delay: 1.6s; } .js .hero__visual.is-in .note--b { transition-delay: 1.9s; }
.hero__names a { color: inherit; transition: color .3s; }
.hero__names a:hover { color: var(--text); }

/* ---------- Product cards (home) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.pcard__media { overflow: hidden; aspect-ratio: 1050 / 520; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 24px; }
.pcard__body h3 { font-size: 20px; }
.pcard__body p { color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.pcard__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); color: var(--text-2); transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.pcard:hover .pcard__go { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(-45deg); }
.pcard__kind { display: block; font-size: 12.5px; font-weight: 700; color: var(--primary-text); margin-bottom: 4px; }
.soon-art { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; background: radial-gradient(60% 80% at 80% 0%, rgba(122, 47, 255, .55), transparent 70%), radial-gradient(50% 70% at 10% 100%, rgba(52, 211, 153, .22), transparent 70%), linear-gradient(160deg, #1D1A4A, #08071A); position: relative; }
.soon-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.soon-art__mark { width: 56px; height: 56px; position: relative; }
.soon-art__mark .logo { width: 100%; height: 100%; }
.soon-art__name { font-size: clamp(22px, 3vw, 30px); font-weight: 900; position: relative; }
.soon-art__badge { position: relative; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); }

/* ---------- Product showcase (products page) ---------- */
.page-hero .jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.jump a { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); transition: color .3s, border-color .3s, background-color .3s; }
.jump a:hover { color: var(--text); border-color: var(--primary); background: var(--accent-soft); }
.shows { display: grid; gap: clamp(88px, 12vw, 160px); }
.show { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.show--flip .show__media { order: 2; }
.show__media { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); cursor: zoom-in; }
.show__media img { width: 100%; aspect-ratio: 1050 / 520; object-fit: cover; transition: transform 1.2s var(--ease); }
.show__media:hover img { transform: scale(1.03); }
.show__body h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 16px 0 6px; }
.show__body h2 small, .soon h2 small { font-size: .42em; font-weight: 600; color: var(--text-3); margin-inline-start: 8px; letter-spacing: .02em; }
.show__tagline { font-weight: 700; color: var(--primary-text); margin-bottom: 14px; }
.show__desc { color: var(--text-2); }
.ticks { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ticks li { position: relative; padding: 11px 26px 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; right: 3px; top: 20px; width: 11px; height: 6px; border-left: 1.8px solid var(--primary); border-bottom: 1.8px solid var(--primary); transform: rotate(-45deg); }
.soon { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); border: 1px dashed var(--line-2); background: radial-gradient(60% 120% at 100% 0%, var(--accent-soft), transparent 70%); }
.soon__mark { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; }
.soon__mark .logo { width: 100%; height: 100%; }
.soon h2 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 4px; }
.soon p { color: var(--text-2); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 36px 28px 8px; border-inline-start: 1px solid var(--line); }
.principle:first-child { border-inline-start: 0; padding-inline-start: 0; }
.principle:last-child { padding-inline-end: 0; }
.principle__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--primary-text); margin-bottom: 22px; }
.principle h3 { font-size: 18px; margin-bottom: 8px; }
.principle p { color: var(--text-2); font-size: 15px; }

/* ---------- Service rows ---------- */
.srows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); position: relative; }
div.srow { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr); }
a.srow::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); border-radius: var(--radius-sm); background: var(--accent-soft); opacity: 0; transition: opacity .4s; z-index: -1; }
a.srow { isolation: isolate; }
a.srow:hover::before { opacity: 1; }
.srow__n { font-size: 14px; font-weight: 700; color: var(--text-3); padding-top: 6px; font-feature-settings: "tnum"; }
.srow h3 { font-size: clamp(19px, 1.9vw, 23px); transition: color .3s, transform .6s var(--ease); }
a.srow:hover h3 { color: var(--primary-text); transform: translateX(-6px); }
.srow__text p { color: var(--text-2); }
.srow__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .5s var(--ease); }
a.srow:hover .srow__go { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(-45deg); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: var(--line-2); }
.steps li::after { content: ""; position: absolute; top: -4px; right: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--accent-soft); }
.steps__n { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-3); margin-bottom: 10px; }
.steps h3 { font-size: 18.5px; margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 15px; }

/* ---------- About ---------- */
.about-teaser, .about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #1D1A4A, #08071A); box-shadow: var(--shadow-lg); max-width: 440px; }
.portrait .logo { position: absolute; width: 38%; height: auto; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.portrait .logo rect { display: none; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
blockquote { font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.55; margin: 20px 0 22px; text-wrap: balance; }
.about-teaser .lead { margin-bottom: 28px; }
.about__text h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.about__text p { color: var(--text-2); font-size: 17px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--text-3); font-weight: 600; }
.facts dd { font-weight: 700; margin-top: 4px; }
.stack-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list li { font-weight: 600; padding: 10px 20px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 15px; transition: border-color .3s, color .3s; }
.stack-list li:hover { color: var(--text); border-color: var(--primary); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.post[hidden] { display: none; }
.post:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.post__meta, .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--text-3); }
.post__tag { font-weight: 700; color: var(--primary-text); }
.post h3 { font-size: 19px; line-height: 1.6; }
.post p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.post__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); margin-top: 8px; }
.post__go svg { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.post:hover .post__go svg { transform: translateX(-5px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 14.5px; font-weight: 600; transition: all .3s; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Article */
.progress { position: fixed; top: 0; right: 0; left: 0; height: 2px; z-index: 110; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: right; transform: scaleX(0); }
.page-hero--article h1 { font-size: clamp(28px, 4.2vw, 50px); max-width: 900px; margin-inline: auto; }
.page-hero--article .post-meta { justify-content: center; margin-top: 22px; }
.article { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 88px); justify-content: center; align-items: start; }
.article--single { grid-template-columns: minmax(0, 720px); }
.post-cover { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--surface-2); }
.post-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.srows + .srows { border-top: 0; }
.field label small { font-weight: 400; color: var(--text-3); }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc b { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0; padding-inline-start: 16px; margin-inline-start: -1px; border-inline-start: 1.5px solid transparent; color: var(--text-2); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--text); border-color: var(--primary); }
.prose { font-size: 17.5px; line-height: 2.05; color: var(--text-2); }
.prose > * + * { margin-top: 20px; }
.prose__lead { font-size: 19.5px; color: var(--text); line-height: 2; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 56px; color: var(--text); }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { background: none; color: var(--primary-text); -webkit-text-fill-color: currentColor; }
.prose ul, .prose ol { padding-inline-start: 22px; display: grid; gap: 10px; }
.prose ol { list-style: persian; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose code { font-family: var(--mono); font-size: .82em; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; white-space: nowrap; color: var(--text); }
.prose pre { background: #0B0A1F; color: #E2E1F5; border-radius: 14px; padding: 18px 22px; overflow-x: auto; direction: ltr; text-align: left; border: 1px solid var(--line-2); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 14.5px; white-space: pre; }
.tip { padding: 20px 24px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--line); font-size: 16px; color: var(--text); }
.tip b { display: block; font-size: 13px; color: var(--primary-text); margin-bottom: 4px; }
.author { display: flex; gap: 20px; align-items: center; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.author__pic { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; position: relative; flex: none; }
.author__pic .logo, .author__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author p { color: var(--text-2); font-size: 15px; margin: 2px 0 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(136px, 15vw, 184px) 0 clamp(56px, 7vw, 88px); text-align: center; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, var(--glow), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 20px 0; line-height: 1.35; }
.page-hero .lead { margin-inline: auto; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.crumbs svg { width: 14px; height: 14px; transform: scaleX(-1); opacity: .6; }
.crumbs a:hover { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-weight: 700; font-size: 17px; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-text); }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.6px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .6s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--primary); border-color: var(--primary); color: #fff; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--text-2); padding: 0 0 26px; max-width: 680px; }

/* ---------- CTA ---------- */
.cta { padding-block: 0 var(--space); }
.section--tint + .cta { padding-top: var(--space); }
.cta__box { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px); border-radius: 28px; background: radial-gradient(60% 90% at 50% 0%, rgba(139, 92, 246, .55), transparent 70%), linear-gradient(180deg, #17134A, #08071A); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%); }
.cta__box h2 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.cta__box p { color: rgba(255,255,255,.72); font-size: clamp(16px, 1.4vw, 18px); max-width: 560px; margin: 14px auto 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.channels { border-top: 1px solid var(--line); }
.channel { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.channel > svg { margin-inline-start: auto; color: var(--text-3); transition: transform .5s var(--ease), color .3s; }
a.channel:hover { padding-inline-start: 8px; }
a.channel:hover > svg { color: var(--primary-text); transform: translateX(-4px); }
.channel__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--primary-text); flex: none; }
.channel small { display: block; font-size: 13px; color: var(--text-3); }
.channel b { font-weight: 700; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 18px; }
.form h2 { font-size: 24px; }
.form__intro { color: var(--text-2); font-size: 15px; margin-top: -8px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.field input, .field textarea, .field select { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8AA3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-left: 42px; }
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #EF4444; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.send-row .btn--primary { flex: 1 1 220px; }
.send-row .btn--ghost { flex: 1 1 120px; }
.form__status { font-size: 14.5px; font-weight: 600; border-radius: 12px; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 12px 16px; background: rgba(34, 197, 94, .1); color: #16A34A; }
[data-theme="dark"] .form__status.is-ok { color: #4ADE80; }
.form__status.is-error { padding: 12px 16px; background: rgba(239, 68, 68, .1); color: #EF4444; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__about p { color: var(--text-2); margin: 18px 0 22px; max-width: 340px; }
.footer h4 { font-size: 13.5px; color: var(--text-3); font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer__contact li { color: var(--text-2); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); transition: all .4s var(--ease); }
.socials a:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.to-top:hover { color: var(--text); }
.to-top svg { width: 16px; height: 16px; transform: rotate(45deg) scaleX(-1); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(56px, 6vh) 16px 24px; background: rgba(5, 4, 18, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: zoom-out; opacity: 0; transition: opacity .4s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: fixed; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; }

/* ---------- Reveal animations ---------- */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .is-in[data-reveal], .js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.2s, 1.3s; }
.js .hero__visual[data-reveal] { transform: translate3d(0, 40px, 0) scale(.97); }
.js .pcard, .js .post { transition-property: opacity, transform, box-shadow; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
	@view-transition { navigation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav a { padding: 8px 10px; }
	.principles { grid-template-columns: repeat(2, 1fr); }
	.principle:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.principle:nth-child(2) { padding-inline-end: 0; }
	.principle:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 32px; }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
	.posts { grid-template-columns: repeat(2, 1fr); }
	.posts:not(.posts--all) .post:nth-child(3) { display: none; }
	.article { grid-template-columns: minmax(0, 720px); }
	.toc { position: static; padding: 20px 22px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
	.toc ol { border: 0; list-style: persian; padding-inline-start: 20px; }
	.toc a { padding: 3px 0; border: 0; }
}
@media (max-width: 960px) {
	.nav, .header__cta { display: none; }
	.menu-btn { display: grid; }
	.header__actions { margin-inline-start: auto; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__text { text-align: center; }
	.hero .lead { margin-inline: auto; }
	.hero .btns, .hero__names { justify-content: center; }
	.hero .eyebrow::before { display: none; }
	.hero__visual { max-width: 620px; width: 100%; margin: 8px auto 0; }
	.note--a { left: 0; } .note--c { right: 0; }
	.head { grid-template-columns: 1fr; gap: 16px; }
	.head .lead { justify-self: start; }
	.show, .show--flip { grid-template-columns: 1fr; gap: 32px; }
	.show--flip .show__media { order: 0; }
	.about-teaser, .about { grid-template-columns: 1fr; }
	.portrait { max-width: 360px; margin-inline: auto; }
	.contact { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer__about { grid-column: 1 / -1; }
	.srow, div.srow { grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 8px 16px; }
	div.srow { grid-template-columns: 48px minmax(0, 1fr); }
	.srow .srow__text { grid-column: 2 / 3; grid-row: 2; }
	.srow__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.btn { height: 50px; padding: 0 22px; }
	.hero .btns { flex-direction: column; align-items: stretch; }
	.btns--center { flex-direction: column; align-items: stretch; }
	.pgrid, .posts { grid-template-columns: 1fr; }
	.posts .post:nth-child(3) { display: flex; }
	.post[hidden] { display: none !important; }
	.pcard__body { padding: 18px 18px 20px; }
	.pcard__body h3 { font-size: 18.5px; }
	.principles { grid-template-columns: 1fr; }
	.principle { border-inline-start: 0 !important; padding: 28px 0 !important; border-top: 1px solid var(--line); }
	.principle:first-child { border-top: 0; }
	.steps { grid-template-columns: 1fr; gap: 36px; }
	.ticks { grid-template-columns: 1fr; }
	.soon { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.soon .eyebrow::before { display: none; }
	.facts { grid-template-columns: 1fr; gap: 14px; }
	.form .row { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.footer__grid > div:last-child { grid-column: 1 / -1; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.srow { padding: 24px 0; }
	.srow, div.srow { grid-template-columns: 36px minmax(0, 1fr) 40px; }
	div.srow { grid-template-columns: 36px minmax(0, 1fr); }
	.srow__go { display: none; }
	a.srow { grid-template-columns: 36px minmax(0, 1fr); }
	.editor { padding: 30px 0 38px; }
	.editor__win { transform: none !important; }
	.editor__code { font-size: 11.5px; }
	.editor__code .ln::before { width: 30px; padding-right: 10px; }
	.note { font-size: 12.5px; padding: 9px 12px 9px 10px; gap: 9px; }
	.note__ic { width: 30px; height: 30px; }
	.note--c { display: none; }
	.editor { padding: 40px 0 56px; }
	.prose { font-size: 16.5px; }
	.prose__lead { font-size: 17.5px; }
	.prose pre { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
	.cta__box { border-radius: 22px; }
	.author { flex-direction: column; align-items: flex-start; }
	.page-hero .jump { gap: 6px; }
}
@media (max-width: 380px) {
	.brand__name { font-size: 17px; }
	.hero h1 { font-size: 32px; }
	.send-row .btn { flex-basis: 100%; }
}
@media (hover: none) {
	.pcard:hover, .post:hover { transform: none; }
}

/* ---------- Product landing pages ---------- */
.eyebrow--center::before { display: none; }
.page-hero--product { padding-bottom: 0; }
.page-hero--product h1 { font-size: clamp(30px, 4.4vw, 54px); max-width: 960px; margin-inline: auto; }
.product-hero__media { display: block; max-width: 1040px; margin: clamp(48px, 7vw, 80px) auto 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg), 0 0 160px -40px var(--glow); cursor: zoom-in; }
.product-hero__media img { width: 100%; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.feature { background: var(--bg); padding: 32px 28px; transition: background-color .4s; }
.feature:hover { background: var(--bg-tint); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 14px 0 8px; }
.ticks--one { grid-template-columns: 1fr; }
.show__body h2 a { color: inherit; transition: color .3s; }
.show__body h2 a:hover { color: var(--primary-text); }

/* Product box at the end of articles */
.pboxes { display: grid; gap: 16px; margin-top: 56px; }
.pbox { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease), transform .6s var(--ease); }
.pbox:hover { box-shadow: 0 0 0 1px var(--primary), var(--shadow); transform: translateY(-3px); }
.pbox img { width: 100%; border-radius: 12px; aspect-ratio: 2.02; object-fit: cover; }
.pbox__body { display: grid; gap: 4px; }
.pbox__body b { font-size: 20px; font-weight: 800; }
.pbox__body > span:not(.eyebrow):not(.link) { color: var(--text-2); font-size: 15px; }
.pbox .link { margin-top: 8px; justify-self: start; }
.portrait--brand { background: radial-gradient(70% 60% at 70% 20%, rgba(122, 47, 255, .45), transparent 70%), linear-gradient(160deg, #1D1A4A, #08071A); }
.portrait--brand::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(to top, #000, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); }

/* Tables in articles */
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose a { color: var(--primary-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose h3 { font-size: 19px; margin-top: 32px; color: var(--text); }
.about__text a { color: var(--primary-text); }

@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .split2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.features { grid-template-columns: 1fr; }
	.feature { padding: 26px 22px; }
	.pbox { grid-template-columns: 1fr; }
	.product-hero__media { border-radius: 14px; }
}
