/* ============================================================
   SORAN AI STUDIO — WordPress Theme Design System
   Shared CSS. All component, layout, and utility styles live here.
   Imported by Vite; served as /public/css/main-[hash].css
   ============================================================ */
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap");

/* ============================================================
   SORAN AI STUDIO — WordPress Theme Design System
   Enterprise dark theme. "The Architect".
   ============================================================ */

:root {
    --bg:            #050816;
    --bg-2:          #070a1c;
    --surface:       #0d1323;
    --surface-2:     #111a30;
    --line:          rgba(255,255,255,0.08);
    --line-strong:   rgba(255,255,255,0.14);
    --glass:         rgba(255,255,255,0.045);
    --glass-2:       rgba(255,255,255,0.07);
    --text:          #f5f8ff;
    --muted:         #94a3b8;
    --muted-2:       #64748b;
    --accent:        #3b82f6;
    --accent-2:      #00d4ff;
    --accent-3:      #8b5cf6;
    --accent-soft:   rgba(59,130,246,0.14);
    --accent-glow:   rgba(59,130,246,0.40);
    --success:       #22c55e;
    --warning:       #f59e0b;
    --error:         #ef4444;
    --font-sans:     "Satoshi","Helvetica Neue",Helvetica,Arial,sans-serif;
    --font-mono:     "JetBrains Mono",ui-monospace,"SF Mono",Menlo,monospace;
    --r-sm:          8px;
    --r-md:          12px;
    --r-lg:          18px;
    --r-xl:          26px;
    --r-pill:        999px;
    --container:     1240px;
    --gutter:        32px;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.4);
    --shadow-md:     0 12px 32px -12px rgba(0,0,0,0.6);
    --shadow-lg:     0 32px 64px -24px rgba(0,0,0,0.7);
    --shadow-glow:   0 0 0 1px var(--accent-soft), 0 24px 60px -20px var(--accent-glow);
    --ease:          cubic-bezier(0.22,1,0.36,1);
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2742; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a3a5e; }

/* ============================================================ BACKGROUND FX */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .grid { position: absolute; inset: -2px; background-image: linear-gradient(to right,rgba(255,255,255,0.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,0.035) 1px,transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%,#000 30%,transparent 80%); opacity: 0; transition: opacity .6s var(--ease); }
.bg-fx .aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0; transition: opacity .8s var(--ease); will-change: transform; }
.bg-fx .a1 { width: 620px; height: 620px; top: -240px; left: -120px; background: radial-gradient(circle,var(--accent),transparent 65%); }
.bg-fx .a2 { width: 540px; height: 540px; top: -160px; right: -120px; background: radial-gradient(circle,var(--accent-3),transparent 65%); }
.bg-fx .a3 { width: 760px; height: 760px; top: 380px; left: 30%; background: radial-gradient(circle,var(--accent-2),transparent 70%); }
body[data-bg="aurora"] .aurora { opacity: .20; }
body[data-bg="grid"]   .grid   { opacity: 1; }
body[data-bg="both"]   .aurora { opacity: .16; }
body[data-bg="both"]   .grid   { opacity: 1; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,30px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,20px)} }
.bg-fx .a1 { animation: drift1 18s ease-in-out infinite; }
.bg-fx .a2 { animation: drift2 22s ease-in-out infinite; }
.bg-fx .a3 { animation: drift1 26s ease-in-out infinite; }
@media (prefers-reduced-motion:reduce) { .bg-fx .aurora { animation: none; } }

/* ============================================================ LAYOUT */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 820px; }
main { position: relative; z-index: 1; }
section { position: relative; }
.section { padding-block: clamp(72px,9vw,140px); }
.section-sm { padding-block: clamp(48px,6vw,88px); }
.flex { display: flex; align-items: center; }
.flex.between { justify-content: space-between; }
.flex.center { justify-content: center; }
.gap-3 { gap: 16px; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ============================================================ TYPOGRAPHY */
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); transform: rotate(45deg); }
.display { font-weight: 900; font-size: clamp(40px,6.4vw,84px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
h1,.h1 { font-weight: 900; font-size: clamp(34px,4.4vw,60px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
h2,.h2 { font-weight: 700; font-size: clamp(28px,3.4vw,46px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h3,.h3 { font-weight: 700; font-size: clamp(21px,2vw,27px); line-height: 1.18; letter-spacing: -0.015em; }
h4,.h4 { font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
h5 { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.lead { font-size: clamp(17px,1.5vw,21px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.mono { font-family: var(--font-mono); }
.gradient-text { background: linear-gradient(100deg,var(--text) 10%,var(--accent-2) 55%,var(--accent-3) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.accent-text { color: var(--accent-2); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; display: inline-flex; }
.section-head h2 { margin-top: 10px; }
.section-head .lead { margin-top: 14px; }
.stat-num { font-weight: 900; font-size: clamp(28px,3.5vw,48px); letter-spacing: -0.04em; line-height: 1; }
.stat-num .unit { color: var(--accent-2); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; font-family: var(--font-mono); }

/* ============================================================ BUTTONS */
.btn { --btn-bg: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent; transition: transform .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease),border-color .25s var(--ease); white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(180deg,color-mix(in srgb,var(--accent) 88%,#fff 12%),var(--accent)); color: #fff; box-shadow: 0 8px 24px -8px var(--accent-glow),inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--accent-glow),inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: var(--glass); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-quiet { background: transparent; color: var(--muted); padding-inline: 8px; }
.btn-quiet:hover { color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================ GLASS CARD */
.card { position: relative; background: linear-gradient(180deg,var(--glass-2),var(--glass)); border: 1px solid var(--line); border-radius: var(--r-lg); backdrop-filter: blur(14px); overflow: hidden; }
.card-hover { transition: transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease); }
.card-hover:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
body[data-cards="glow"] .card-hover:hover { box-shadow: var(--shadow-lg),var(--shadow-glow); }
body[data-cards="solid"] .card { background: var(--surface); }
body[data-cards="flat"] .card { box-shadow: none; }
.card-spot::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle,rgba(59,130,246,0.15),transparent 70%); pointer-events: none; transform: translate(-50%,-50%); left: var(--mx,50%); top: var(--my,50%); opacity: 0; transition: opacity .3s; }
.card-spot:hover::before { opacity: 1; }
.surface { background: linear-gradient(180deg,var(--surface-2),var(--surface)); border-radius: var(--r-xl); border: 1px solid var(--line); }
.divider-glow { height: 1px; background: linear-gradient(90deg,transparent,var(--accent-soft),transparent); }

/* ============================================================ TAGS / CHIPS */
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.chip { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; }
.chip-accent { background: var(--accent-soft); border: 1px solid color-mix(in srgb,var(--accent) 40%,transparent); color: var(--accent-2); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid color-mix(in srgb,var(--accent) 28%,transparent); color: var(--accent-2); flex: none; }
.icon-tile svg { width: 24px; height: 24px; }

/* ============================================================ REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease),transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ============================================================ NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s var(--ease),box-shadow .3s var(--ease); }
.nav.scrolled { background: rgba(5,8,22,0.86); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.logo { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; margin-left: 12px; }
.nav-link { font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); transition: color .2s,background .2s; }
.nav-link:hover,.nav-link.active { color: var(--text); background: var(--glass); }
.nav-dd { position: relative; }
.nav-dd-panel { position: absolute; top: calc(100% + 8px); left: -12px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 10px; min-width: 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s,transform .2s,visibility .2s; box-shadow: var(--shadow-lg); z-index: 200; }
.nav-dd:hover .nav-dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); transition: background .2s; }
.dd-item:hover { background: var(--glass-2); }
.dd-item .icon-tile { width: 36px; height: 36px; }
.dd-item b { display: block; font-size: 14px; }
.dd-item span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; border-radius: var(--r-sm); transition: background .2s; }
.nav-burger:hover { background: var(--glass); }
.nav-burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 110; background: rgba(5,8,22,0.96); backdrop-filter: blur(20px); padding: 28px 28px 40px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu[hidden] { display: none; }
.m-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; transition: color .2s; }
.m-link:hover { color: var(--accent-2); }
.m-link span { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }

/* ============================================================ FOOTER */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.f-link { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.f-link:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fb-meta { font-size: 13px; color: var(--muted-2); }

/* ============================================================ SCROLL PROGRESS */
.scroll-prog { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent-2)); z-index: 200; transform: scaleX(0); transform-origin: left; }

/* ============================================================ HERO */
.hero { padding-top: 150px; padding-bottom: 90px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
body[data-hero="split"] .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
body[data-hero="split"] .hero-copy { text-align: left; margin: 0; }
body[data-hero="split"] .hero-copy .hero-cta,
body[data-hero="split"] .hero-copy .eyebrow { justify-content: flex-start; }
body[data-hero="minimal"] .hero-visual { display: none; }
body[data-hero="minimal"] .hero { padding-bottom: 60px; }
body[data-hero="minimal"] .hero-stats { display: none; }
.hero-copy { text-align: center; max-width: 920px; margin-inline: auto; }
.hero-copy .eyebrow { display: inline-flex; margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px,6.2vw,80px); font-weight: 900; line-height: 1.04; letter-spacing: -0.04em; }
.hero h1 .hl { display: block; }
.hero .lead { margin: 30px auto 0; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .s { text-align: center; }
.hero-visual { perspective: 1600px; }
body[data-hero="spotlight"] .hero-visual { max-width: 940px; margin: 56px auto 0; }
body[data-hero="spotlight"] .sys-panel { transform: rotateX(6deg); transform-origin: top center; }

/* ============================================================ SYSTEM PANEL */
.sys-panel { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg),var(--shadow-glow); }
.sys-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line); }
.sys-dot { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.sys-tabs { display: flex; gap: 4px; margin-left: 14px; }
.sys-tab { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); padding: 4px 11px; border-radius: 7px; }
.sys-tab.on { background: var(--glass-2); color: var(--accent-2); }
.sys-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); }
.sys-left { padding: 22px; border-right: 1px solid var(--line); }
.sys-right { padding: 22px; background: rgba(0,0,0,0.18); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; }
.q-line { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.q-line b { color: var(--text); font-weight: 500; }
.pipe { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.node { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; background: var(--glass); border: 1px solid var(--line); position: relative; }
.node .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); flex: none; }
.node b { font-size: 13px; font-weight: 600; }
.node span { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-left: auto; }
.node.live { border-color: color-mix(in srgb,var(--accent) 45%,transparent); animation: pulseNode 2.4s ease-in-out infinite; }
@keyframes pulseNode { 0%,100%{box-shadow:0 0 0 0 transparent} 50%{box-shadow:0 0 0 4px var(--accent-soft)} }
.tok { color: var(--muted); }
.tok b { color: var(--text); font-weight: 500; }
.tok .k { color: var(--accent-2); }
.tok .g { color: var(--success); }
.tok .p { color: var(--accent-3); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent-2); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50%{opacity:0} }

/* ============================================================ BENTO GRID */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.bento .card { padding: 26px; }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.feat-list { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.feat-list .fi { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.feat-list .fi svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }

/* ============================================================ TRUST BAR */
.trust { padding-block: 36px; border-block: 1px solid var(--line); }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.trust-logo { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--muted); opacity: 0.7; display: flex; align-items: center; gap: 8px; transition: opacity .2s; }
.trust-logo:hover { opacity: 1; }
.trust-logo .m { width: 16px; height: 16px; border-radius: 4px; background: var(--muted); opacity: 0.5; }

/* ============================================================ CASE STUDIES */
.cs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cs-card { overflow: hidden; display: flex; flex-direction: column; }
.cs-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg,rgba(255,255,255,0.03) 0 2px,transparent 2px 11px),linear-gradient(135deg,var(--surface-2),var(--surface)); }
.cs-thumb .ck { position: absolute; left: 16px; top: 16px; }
.cs-thumb .cnodes { position: absolute; inset: 0; display: grid; place-items: center; }
.cs-thumb .cnodes b { font-family: var(--font-mono); font-size: clamp(28px,4vw,44px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.cs-thumb .cnodes b .unit { color: var(--accent-2); }
.cs-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.cs-body h4 { font-size: 17px; }
.cs-body p { font-size: 13.5px; color: var(--muted); margin-top: 8px; flex: 1; }
.cs-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }

/* ============================================================ TECH CHIPS */
.tech-track { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.tech-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; transition: all .25s var(--ease); }
.tech-chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-3px); }
.tech-chip .td { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }

/* ============================================================ TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { padding: 28px; display: flex; flex-direction: column; }
.testi .quote { font-size: 16px; line-height: 1.55; color: var(--text); flex: 1; letter-spacing: -0.01em; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi .av { width: 40px; height: 40px; border-radius: 50%; flex: none; background: linear-gradient(135deg,var(--accent),var(--accent-3)); display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; }
.testi .who b { font-size: 14px; display: block; }
.testi .who span { font-size: 12.5px; color: var(--muted); }

/* ============================================================ FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-size: 18px; font-weight: 600; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; letter-spacing: -0.01em; }
.faq-q .ic { width: 26px; height: 26px; flex: none; border-radius: 7px; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: all .25s var(--ease); }
.faq-q .ic::before,.faq-q .ic::after { content: ""; position: absolute; background: var(--accent-2); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .ic::before { width: 12px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); }
.faq-item.open .faq-q .ic { background: var(--accent-soft); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding-bottom: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 680px; }

/* ============================================================ CTA BAND */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(48px,6vw,80px); text-align: center; background: linear-gradient(160deg,var(--surface-2),var(--surface)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 50% -10%,var(--accent-soft),transparent 60%); }
.cta-band > * { position: relative; }

/* ============================================================ PROCESS TIMELINE */
.proc { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.proc-steps { display: flex; flex-direction: column; }
.proc-step { display: flex; align-items: center; gap: 16px; padding: 15px 16px; border-radius: var(--r-md); cursor: pointer; transition: all .3s var(--ease); border: 1px solid transparent; }
.proc-step .pn { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; font-weight: 600; background: var(--glass); border: 1px solid var(--line); color: var(--muted); transition: all .3s var(--ease); }
.proc-step b { font-size: 15.5px; font-weight: 600; transition: color .3s; }
.proc-step.active { background: var(--glass); border-color: var(--line-strong); }
.proc-step.active .pn { background: linear-gradient(135deg,var(--accent),var(--accent-3)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px var(--accent-glow); }
.proc-detail { padding: 36px; display: flex; flex-direction: column; justify-content: center; min-height: 340px; }
.proc-panel { display: none; }
.proc-panel.on { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }
.proc-panel .step-tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.08em; }
.proc-panel h3 { margin: 10px 0 14px; font-size: 30px; }
.proc-panel .pl { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.proc-panel .pl div { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.proc-panel .pl svg { width: 17px; height: 17px; color: var(--accent-2); flex: none; margin-top: 2px; }

/* ============================================================ CONTACT FORM */
.form-card { padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full-row { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 14px; font-weight: 600; color: var(--text); }
.label .req { color: var(--accent-2); }
.input,.textarea,.select { background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--text); font-family: var(--font-sans); font-size: 15px; padding: 13px 16px; transition: border-color .2s,box-shadow .2s; outline: none; width: 100%; }
.input:focus,.textarea:focus,.select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.invalid,.textarea.invalid { border-color: var(--error); }
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; }
.field-error { font-size: 12.5px; color: var(--error); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { padding: 8px 16px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all .2s; }
.choice:hover { border-color: var(--accent); color: var(--text); }
.choice.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }

/* ============================================================ TWEAKS PANEL */
.tweaks-fab { position: fixed; bottom: 28px; right: 28px; z-index: 80; display: flex; align-items: center; gap: 9px; padding: 11px 18px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); transition: all .25s var(--ease); }
.tweaks-fab svg { width: 17px; height: 17px; }
.tweaks-fab:hover { border-color: var(--accent); transform: translateY(-2px); }
.tweaks-panel { position: fixed; bottom: 80px; right: 28px; z-index: 80; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-xl); width: 290px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none; transition: opacity .2s,transform .2s,pointer-events 0s .2s; }
.tweaks-panel.open { opacity: 1; transform: none; pointer-events: auto; transition: opacity .2s,transform .2s; }
.tw-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.tw-head b { font-size: 15px; }
.tw-x { background: none; border: 0; color: var(--muted); padding: 4px; border-radius: var(--r-sm); }
.tw-x svg { width: 18px; height: 18px; }
.tw-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.tw-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.tw-seg { display: flex; gap: 6px; background: var(--glass); border-radius: var(--r-md); padding: 4px; }
.tw-seg button { flex: 1; padding: 7px 10px; border-radius: var(--r-sm); background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 500; transition: all .2s; }
.tw-seg button.on { background: var(--surface); color: var(--text); }
.tw-swatches { display: flex; gap: 10px; }
.tw-sw { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--sw,#3b82f6) 0 50%,var(--sw2,#00d4ff) 50% 100%); border: 2px solid transparent; transition: transform .2s,border-color .2s; }
.tw-sw.on { border-color: var(--text); transform: scale(1.15); }
.tw-reset { width: 100%; padding: 9px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--muted); font-size: 13px; transition: all .2s; }
.tw-reset:hover { border-color: var(--line-strong); color: var(--text); }

/* ============================================================ PROSE (article body) */
.prose { line-height: 1.75; }
.prose h2 { font-size: clamp(22px,2.2vw,30px); margin-top: 56px; margin-bottom: 18px; }
.prose h3 { font-size: clamp(18px,1.8vw,24px); margin-top: 40px; margin-bottom: 14px; }
.prose p { margin-bottom: 20px; color: var(--muted); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul,.prose ol { padding-left: 24px; margin-bottom: 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 28px 0; background: var(--glass); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose code { font-family: var(--font-mono); font-size: 13.5px; background: var(--glass-2); padding: 2px 7px; border-radius: var(--r-sm); }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; overflow-x: auto; margin-bottom: 24px; }
.prose pre code { background: none; padding: 0; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1024px) {
    body[data-hero="split"] .hero-grid { grid-template-columns: 1fr; }
    .bento,.testi-grid,.cs-grid { grid-template-columns: repeat(2,1fr); }
    .bento .b-wide { grid-column: span 2; }
    .proc { grid-template-columns: 1fr; gap: 24px; }
    .sys-body { grid-template-columns: 1fr; }
    .sys-left { border-right: 0; border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 640px) {
    .bento,.testi-grid,.cs-grid { grid-template-columns: 1fr; }
    .bento .b-wide { grid-column: span 1; }
    .hero-stats { gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 26px; }
    :root { --gutter: 20px; }
}
