/* =============================================================
   DATANOVALAB — Design system 2026
   Deep Space #0A0E1A · Electric Cyan #00E5FF · Space Grotesk + Inter
   ============================================================= */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #0A0E1A;
  --ink-2: #0F1530;
  --ink-3: #151C3D;
  --cyan: #00E5FF;
  --cyan-deep: #0097A7;
  --cyan-text: #006C7A;
  --blue: #3B82F6;
  --white: #FFFFFF;
  --paper: #F5F7FA;
  --paper-2: #ECF0F6;
  --text: #1F2937;
  --muted: #5B6575;
  --line: #E3E8F0;
  --line-dark: rgba(255, 255, 255, .10);
  --on-dark: rgba(255, 255, 255, .78);
  --on-dark-2: rgba(255, 255, 255, .56);
  --grad: linear-gradient(120deg, #00E5FF 0%, #3B82F6 100%);
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(10, 14, 26, .04), 0 12px 32px -8px rgba(10, 14, 26, .10);
  --shadow-lg: 0 2px 4px rgba(10, 14, 26, .04), 0 28px 64px -16px rgba(10, 14, 26, .22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  background: var(--ink); color: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sec-light :focus-visible, .on-light :focus-visible { outline-color: var(--cyan-deep); }
::selection { background: var(--cyan); color: var(--ink); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--cyan); color: var(--ink); padding: 10px 18px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.sec-light .eyebrow { color: var(--cyan-text); }
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.12; letter-spacing: -.025em; }
.h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.015em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--on-dark); max-width: 62ch; text-wrap: pretty; }
.sec-light .lead { color: var(--muted); }
.muted { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; min-height: 48px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: var(--ink); box-shadow: 0 0 0 0 rgba(0, 229, 255, .4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(0, 229, 255, .55); background: #5CF0FF; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; min-height: 40px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--cyan-text); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow, .sec-dark .link-arrow { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s, height .3s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .3s;
  background: rgba(10, 14, 26, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; }
.site-header.is-scrolled, .menu-open .site-header { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.logo-glyph { width: 36px; height: 36px; }
.logo-words { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.logo-main { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.04em; color: var(--white); }
.logo-lab { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 9px; letter-spacing: .5em; color: var(--cyan); padding-left: 1px; }
.logo-lab::before, .logo-lab::after { content: ''; height: 1px; width: 12px; background: var(--cyan); opacity: .55; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a.nav-link {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--on-dark);
  border-radius: 999px; transition: color .2s, background .2s;
}
.primary-nav a.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.primary-nav a.nav-link[aria-current="page"] { color: var(--cyan); }
.primary-nav a.nav-link[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--cyan);
}
.header-cta { margin-left: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; z-index: 1; border: 1px solid var(--line-dark); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto;
    background: #0A0E1A;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: -1;
  }
  .menu-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .primary-nav a.nav-link { font-family: var(--font-display); font-size: 1.6rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .primary-nav a.nav-link[aria-current="page"]::after { display: none; }
  .header-cta { margin: 24px 0 0; align-self: stretch; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Atmosphere ---------- */
.atmos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.atmos::before {
  content: ''; position: absolute; inset: 0;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow-a { width: 560px; height: 560px; background: radial-gradient(circle, rgba(0, 229, 255, .55), transparent 70%); top: -180px; right: -120px; }
.glow-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(59, 130, 246, .5), transparent 70%); bottom: -220px; left: -160px; opacity: .4; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .h1 { margin: 20px 0 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.proof-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); }
.proof-item .icon { width: 20px; height: 20px; color: var(--cyan); }
.proof-item strong { color: var(--white); font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, .28); background: rgba(0, 229, 255, .07); font-size: 13px; color: var(--on-dark);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0, 229, 255, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }

/* Dashboard illustration (coded, crisp at every size) */
.dash { position: relative; }
.dash-card {
  position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.dash:hover .dash-card { transform: perspective(1400px) rotateY(0) rotateX(0); }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash-title { font-size: 12px; color: var(--on-dark-2); letter-spacing: .04em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 12px 14px; }
.kpi-l { font-size: 11px; color: var(--on-dark-2); }
.kpi-v { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; margin: 2px 0; }
.kpi-d { font-size: 11px; color: #4ADE80; font-weight: 600; }
.kpi-d.down { color: #FBBF24; }
.dash-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.dash-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px; }
.dash-panel .kpi-l { margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgba(59, 130, 246, .75)); height: 0; transition: height 1s var(--ease); }
.in .bars span, .no-js .bars span { height: var(--h); }
.bars span:nth-child(1) { transition-delay: .05s; } .bars span:nth-child(2) { transition-delay: .1s; } .bars span:nth-child(3) { transition-delay: .15s; }
.bars span:nth-child(4) { transition-delay: .2s; } .bars span:nth-child(5) { transition-delay: .25s; } .bars span:nth-child(6) { transition-delay: .3s; }
.bars span:nth-child(7) { transition-delay: .35s; } .bars span:nth-child(8) { transition-delay: .4s; }
.donut { width: 96px; height: 96px; margin: 0 auto; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 11; }
.donut .track { stroke: rgba(255, 255, 255, .08); }
.donut .arc { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease) .3s; }
.donut .arc2 { stroke: var(--blue); }
.in .donut .arc, .no-js .donut .arc { stroke-dasharray: var(--v) 100; }
.spark { width: 100%; height: 56px; margin-top: 12px; }
.spark path { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.in .spark path, .no-js .spark path { stroke-dashoffset: 0; }
.dash-note { position: absolute; right: 16px; bottom: -14px; font-size: 11px; color: var(--on-dark-2); background: var(--ink-2); border: 1px solid var(--line-dark); padding: 4px 12px; border-radius: 999px; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: rgba(15, 21, 48, .92); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); animation: bob 6s ease-in-out infinite;
}
.float-chip .icon { width: 18px; height: 18px; color: var(--cyan); }
.chip-a { left: -28px; top: 26%; }
.chip-b { right: -16px; top: -18px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dash { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .dash-card { transform: none; }
  .chip-a { left: -6px; } .chip-b { right: -6px; }
}
@media (max-width: 520px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; } .dash-kpis .kpi:nth-child(3) { display: none; }
  .float-chip { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); padding: 22px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.tool {
  font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--on-dark); white-space: nowrap;
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03);
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.sec-light { background: var(--paper); color: var(--text); }
.sec-white { background: var(--white); color: var(--text); }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-dark-2 { background: var(--ink-2); color: var(--white); }
.sec-light .h1, .sec-light .h2, .sec-light .h3, .sec-white .h2, .sec-white .h3 { color: var(--ink); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .h2 { margin: 16px 0 18px; }
.section-head .lead { margin: 0 auto; }
.section-head.left .lead { margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }
.stat { padding: 8px 24px; text-align: center; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat-n { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(odd) { border-left: 0; }
}

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.b-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  grid-column: span 4; padding: 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  color: var(--text);
}
.b-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 229, 255, .14), transparent 60%);
  pointer-events: none;
}
.b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0, 151, 167, .5); }
.b-card:hover::before { opacity: 1; }
.b-card.span-6 { grid-column: span 6; }
.b-card .b-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--ink), var(--ink-3)); color: var(--cyan);
  box-shadow: 0 8px 20px -6px rgba(10, 14, 26, .5);
}
.b-num { position: absolute; top: 28px; right: 30px; font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; color: #9AA3B2; }
.b-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.b-card p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.b-card .link-arrow { margin-top: auto; }
.b-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.b-tags span { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 960px) { .b-card, .b-card.span-6 { grid-column: span 6; } .b-card:last-child { grid-column: span 12; } }
@media (max-width: 640px) { .bento { gap: 14px; } .b-card, .b-card.span-6 { grid-column: span 12; padding: 26px; } }

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud {
  position: relative; border-radius: 28px; padding: clamp(30px, 4vw, 52px); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.aud:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aud-biz { background: var(--white); border: 1px solid var(--line); color: var(--text); }
.aud-res { background: linear-gradient(155deg, var(--ink-3), var(--ink)); color: var(--white); border: 1px solid rgba(255, 255, 255, .08); }
.aud-res::after { content: ''; position: absolute; width: 340px; height: 340px; right: -100px; top: -100px; z-index: -1; background: radial-gradient(circle, rgba(0, 229, 255, .22), transparent 70%); }
.aud-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.aud-biz .aud-label { color: var(--cyan-text); }
.aud-res .aud-label { color: var(--cyan); }
.aud-label .icon { font-size: 20px; }
.aud h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 16px; }
.aud-biz h3 { color: var(--ink); }
.aud p { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.aud-biz p { color: var(--muted); } .aud-res p { color: var(--on-dark); }
.checks { display: grid; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checks .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--cyan-text); }
.aud-res .checks .icon, .on-dark .checks .icon { color: var(--cyan); }
.aud .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 26px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .5), transparent); }
.step { position: relative; padding-top: 0; }
.step-n {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--cyan);
  background: var(--ink); border: 1px solid rgba(0, 229, 255, .45); margin-bottom: 22px;
  box-shadow: 0 0 0 6px var(--ink), 0 0 28px -4px rgba(0, 229, 255, .45);
}
.step h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-2); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 25px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .5), transparent); }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .step-n { margin-bottom: 0; grid-row: span 2; }
}

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split-rev .split-media { order: -1; }
.split-body .h2 { margin: 16px 0 22px; }
.split-body p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.sec-dark .split-body p, .sec-dark-2 .split-body p { color: var(--on-dark); }
.split-media { position: relative; }
.frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame-badge {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: rgba(10, 14, 26, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); font-size: 13px; font-weight: 500; border: 1px solid rgba(255, 255, 255, .14);
}
.frame-badge .icon { color: var(--cyan); width: 18px; height: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-rev .split-media { order: 0; } }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.why { padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.why .icon { font-size: 24px; color: var(--cyan-text); margin-bottom: 14px; }
.why h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.why p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); color: var(--text);
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0, 151, 167, .5); }
.post-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; }
.post-cover::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 80%); mask-image: linear-gradient(135deg, #000, transparent 80%);
}
.post-cover .icon { position: relative; width: 56px; height: 56px; stroke-width: 1.3; color: rgba(255, 255, 255, .92); transition: transform .5s var(--ease); }
.post:hover .post-cover .icon { transform: scale(1.12) rotate(-4deg); }
.post-tag { position: absolute; left: 16px; top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(10, 14, 26, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); border: 1px solid rgba(255, 255, 255, .2); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.post-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.post h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); margin-bottom: 10px; text-wrap: balance; }
.post p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .link-arrow { margin-top: auto; font-size: 14px; }
.post-featured { grid-column: 1 / -1; flex-direction: row; }
.post-featured .post-cover { flex: 1.1; aspect-ratio: auto; min-height: 340px; }
.post-featured .post-cover .icon { width: 96px; height: 96px; }
.post-featured .post-body { flex: 1; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.post-featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; margin-bottom: 14px; }
.post-featured p { font-size: 16px; -webkit-line-clamp: 4; }
.post-featured .post-badge { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: 14px; }
.post[hidden] { display: none; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } .post-grid-3 .post:last-child { grid-column: 1 / -1; flex-direction: row; } .post-grid-3 .post:last-child .post-cover { flex: 1; aspect-ratio: auto; min-height: 240px; } .post-grid-3 .post:last-child .post-body { flex: 1; justify-content: center; } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } .post-featured, .post-grid-3 .post:last-child { flex-direction: column; } .post-featured .post-cover, .post-grid-3 .post:last-child .post-cover { min-height: 220px; flex: none; aspect-ratio: 16 / 9; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(0, 151, 167, .55); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex-shrink: 0; border-right: 2px solid var(--cyan-text); border-bottom: 2px solid var(--cyan-text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-a { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.faq-a a { color: var(--cyan-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0; text-align: center; background: var(--ink); }
.cta-band .atmos::before { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 0%, transparent 75%); }
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-inner .h2 { margin-bottom: 20px; }
.cta-inner .lead { margin: 0 auto 36px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-note { margin-top: 28px; font-size: 14px; color: var(--on-dark-2); }
.cta-note a { color: var(--cyan); font-weight: 500; }
.cta-note a:hover { text-decoration: underline; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin: 18px 0 22px; max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); margin-bottom: 8px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs i { opacity: .5; font-style: normal; }
.crumbs [aria-current] { color: var(--on-dark); }

/* ---------- Sticky sub nav ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(245, 247, 250, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); background: var(--white); border: 1px solid var(--line); transition: all .2s; }
.subnav a b { font-family: var(--font-display); font-size: 11px; color: var(--cyan-text); font-weight: 600; }
.subnav a:hover { color: var(--ink); border-color: var(--ink); }
.subnav a.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.subnav a.active b { color: var(--cyan); }
@media (min-width: 1100px) { .subnav-in { justify-content: center; } }

/* ---------- Service detail ---------- */
.svc { padding: clamp(64px, 8vw, 104px) 0; }
.svc-num { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; margin-bottom: 8px; }
.svc h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 500; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.svc-lead { font-size: 1.1rem; line-height: 1.7; color: var(--text); font-weight: 500; margin-bottom: 20px; }
.simple { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(0, 151, 167, .08); border: 1px solid rgba(0, 151, 167, .2); margin-bottom: 28px; font-size: 15px; line-height: 1.65; color: var(--text); }
.simple .icon { font-size: 22px; color: var(--cyan-text); margin-top: 2px; }
.simple strong { color: var(--ink); }
.feat-title { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: 8px; }
.feats { margin-bottom: 32px; }
.feats li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.feats li:last-child { border-bottom: 0; }
.feats li::before { content: ''; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 151, 167, .12); }
.feats li::after { content: ''; position: absolute; left: 7px; top: 23px; width: 6px; height: 10px; border-right: 2px solid var(--cyan-text); border-bottom: 2px solid var(--cyan-text); transform: rotate(45deg) scale(.85); transform-origin: center; }
.feats li strong { color: var(--ink); font-weight: 600; }
.svc .frame { position: sticky; top: calc(var(--header-h) + 80px); }
.frame-svg img { aspect-ratio: auto; height: auto; background: var(--ink); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.value:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, .4); background: rgba(0, 229, 255, .05); }
.value .tagline { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--cyan); margin-bottom: 18px; }
.value h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.02em; }
.value p { color: var(--on-dark); font-size: 15px; line-height: 1.7; }
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pledge { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pledge .icon { font-size: 28px; color: var(--cyan-text); margin-bottom: 18px; }
.pledge .tagline { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--cyan-text); margin-bottom: 8px; }
.pledge h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.pledge p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.callout-quote { margin-top: 28px; padding: 22px 26px; border-radius: 16px; border-left: 3px solid var(--cyan-deep); background: var(--white); box-shadow: var(--shadow); font-size: 15.5px; line-height: 1.7; color: var(--text); }
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.tl:last-child { border-bottom: 0; }
.tl b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--cyan); }
.tl p { color: var(--on-dark); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr; } .pledges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pledges { grid-template-columns: 1fr; } .tl { grid-template-columns: 70px 1fr; gap: 16px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-list { display: grid; gap: 14px; margin: 32px 0; }
.c-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
a.c-item:hover { transform: translateY(-3px); border-color: rgba(0, 151, 167, .5); }
.c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--ink), var(--ink-3)); color: var(--cyan); font-size: 20px; flex-shrink: 0; }
.c-lab { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-val { font-weight: 600; color: var(--ink); word-break: break-word; }
.c-note { font-size: 13.5px; color: var(--muted); }
.promise { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: rgba(0, 151, 167, .09); border: 1px solid rgba(0, 151, 167, .22); color: var(--text); font-size: 14.5px; }
.promise .icon { font-size: 24px; color: var(--cyan-text); margin-top: 2px; }
.promise strong { display: block; color: var(--ink); margin-bottom: 2px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 18px; }
.f-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.f-group label .req { color: #DC2626; margin-left: 2px; }
.f-ctl {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #D5DBE6; background: var(--white);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.f-ctl::placeholder { color: #8B95A5; }
.f-ctl:hover { border-color: #AEB8C8; }
.f-ctl:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(0, 151, 167, .15); }
select.f-ctl { cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6575' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
textarea.f-ctl { min-height: 150px; resize: vertical; line-height: 1.6; }
.f-ctl[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.f-err { display: none; font-size: 13px; color: #B91C1C; margin-top: 6px; }
.f-ctl[aria-invalid="true"] ~ .f-err { display: block; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-submit { width: 100%; margin-top: 8px; }
.f-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.f-note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.f-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: #FEF2F2; color: #991B1B; font-size: 14px; }
.f-status.show { display: block; }
.f-success { display: none; text-align: center; padding: 28px 8px; }
.f-success.show { display: block; animation: rise .6s var(--ease); }
.f-success .tick { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: #16A34A; font-size: 34px; }
.f-success h2 { margin-bottom: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }

/* ---------- Blog index ---------- */
.blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--white); border: 1px solid var(--line); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip small { opacity: .6; margin-left: 4px; font-size: 12px; }
.search { position: relative; min-width: min(100%, 300px); }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.search input { width: 100%; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1.5px solid #D5DBE6; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(0, 151, 167, .15); }
.empty { display: none; text-align: center; padding: 64px 0; color: var(--muted); }
.empty.show { display: block; }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.art-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); }
.art-hero .container { position: relative; z-index: 1; max-width: calc(860px + var(--gutter) * 2); }
.art-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(0, 229, 255, .3); background: rgba(0, 229, 255, .08); margin: 18px 0 20px; }
.art-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 26px; text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--on-dark-2); }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .icon { width: 16px; height: 16px; color: var(--cyan); }
.art-wrap { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: clamp(32px, 5vw, 72px); justify-content: center; padding: clamp(48px, 6vw, 80px) 0; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; font-size: 14px; }
.toc-t { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--cyan-text); border-left-color: var(--cyan-deep); font-weight: 600; }
.share { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-row { display: flex; gap: 8px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); background: var(--white); font-size: 18px; transition: all .2s; }
.share-btn:hover { color: var(--white); background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.share-btn.ok { background: #16A34A; border-color: #16A34A; color: #fff; }
@media (max-width: 1060px) { .art-wrap { grid-template-columns: minmax(0, 720px); } .toc { display: none; } }

.prose { color: var(--text); }
.prose > * + * { margin-top: 1.4em; }
.prose p { font-size: 1.075rem; line-height: 1.85; color: #2B3444; }
.prose p.lead { font-size: 1.25rem; line-height: 1.7; color: var(--ink); font-weight: 500; max-width: none; text-wrap: pretty; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; line-height: 1.3; color: var(--ink); margin-top: 2em; letter-spacing: -.015em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--cyan-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.prose ul, .prose ol { display: grid; gap: .65em; }
.prose li { position: relative; padding-left: 30px; font-size: 1.05rem; line-height: 1.75; color: #2B3444; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 10px; height: 2px; background: var(--cyan-deep); border-radius: 2px; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--cyan-text); background: rgba(0, 151, 167, .12); }
.prose .article-divider { height: 1px; border: 0; background: linear-gradient(90deg, var(--line), transparent); margin: 2.6em 0 0; }
.prose .callout { padding: 22px 26px; border-radius: 16px; border-left: 4px solid var(--cyan-deep); background: linear-gradient(135deg, rgba(0, 151, 167, .09), rgba(59, 130, 246, .05)); font-size: 1rem; line-height: 1.75; }
.prose .callout strong { color: var(--ink); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.prose th { background: var(--ink); color: var(--white); text-align: left; padding: 14px 18px; font-weight: 500; font-size: .85rem; letter-spacing: .02em; white-space: nowrap; }
.prose td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: #2B3444; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--paper); }
.author { display: flex; gap: 18px; align-items: center; padding: 24px; margin-top: 56px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.author-av { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); flex-shrink: 0; }
.author-av svg { width: 34px; height: 34px; }
.author b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.author span { font-size: 14px; color: var(--muted); line-height: 1.5; display: block; }
.art-cta { margin-top: 48px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; text-align: center; color: var(--white); background: linear-gradient(155deg, var(--ink-3), var(--ink)); position: relative; overflow: hidden; isolation: isolate; }
.art-cta::before { content: ''; position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(0, 229, 255, .25), transparent 70%); z-index: -1; }
.art-cta h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; margin-bottom: 12px; letter-spacing: -.02em; }
.art-cta p { color: var(--on-dark); margin: 0 auto 26px; max-width: 48ch; font-size: 15.5px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pn a { display: block; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); transition: border-color .25s, transform .25s var(--ease); }
.pn a:hover { border-color: rgba(0, 151, 167, .6); transform: translateY(-3px); }
.pn small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pn span { font-family: var(--font-display); font-weight: 500; color: var(--ink); line-height: 1.35; display: block; }
.pn .next { text-align: right; }
@media (max-width: 560px) { .pn { grid-template-columns: 1fr; } .pn .next { text-align: left; } }

/* ---------- Legal ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin: 2.4em 0 .7em; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin: 1.6em 0 .5em; }
.legal p, .legal li { color: #2B3444; line-height: 1.8; font-size: 1rem; }
.legal p + p { margin-top: 1em; }
.legal ul { display: grid; gap: .4em; margin: .8em 0 0; }
.legal li { padding-left: 24px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 4px; top: .8em; width: 8px; height: 2px; background: var(--cyan-deep); }
.legal a { color: var(--cyan-text); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; padding: 22px 26px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin-top: 1em; }
.legal dt { font-weight: 600; color: var(--ink); } .legal dd { color: #2B3444; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* ---------- 404 / thanks ---------- */
.center-page { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 60px; }
.center-page .container { position: relative; z-index: 1; max-width: 720px; }
.big-code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 12rem); line-height: .9; font-weight: 500; letter-spacing: -.06em; }
.center-page .h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 24px 0 16px; }
.center-page .lead { margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #070A14; border-top: 1px solid var(--line-dark); padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.foot-brand p { margin-top: 20px; max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); }
.foot-tag { margin-top: 18px; font-family: var(--font-display); font-size: 1.05rem; color: var(--on-dark); }
.foot-tag em { font-style: normal; color: var(--cyan); }
.foot-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.foot-col li { margin-bottom: 11px; font-size: 14.5px; color: var(--on-dark-2); }
.foot-col a { color: var(--on-dark); transition: color .2s; }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-2); }
.foot-bottom a:hover { color: var(--cyan); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 12px; justify-items: end; }
.fab-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), opacity .3s; }
.fab-btn:hover { transform: translateY(-3px); }
.fab-wa { background: #25D366; color: #06371C; }
.fab-wa .icon { width: 22px; height: 22px; }
.fab-quote { background: var(--cyan); color: var(--ink); opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab-quote.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-quote .icon { width: 18px; height: 18px; }
@media (min-width: 961px) { .fab-quote { display: none; } }
@media (max-width: 560px) { .fab-wa span { display: none; } .fab-wa { padding: 15px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  #net { display: none; }
}
@media print {
  .site-header, .fab, .progress, .cta-band, .site-footer, .toc, .share, .art-cta, .pn, .atmos { display: none !important; }
  body { background: #fff; color: #000; } .art-hero { padding-top: 0; color: #000; }
}
