/* =========================================================
   Tokens
   ========================================================= */
:root {
  --bg: #f6f6f3;
  --bg-alt: #efeee9;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --ink: #0d1015;
  --ink-2: #3a404b;
  --muted: #6b7280;
  --line: #e4e3dd;
  --line-strong: #d2d1c9;
  --grid: rgba(13, 16, 21, .06);

  --accent: #2448f5;
  --accent-2: #18a8e6;
  --accent-3: #7a5cff;
  --accent-ink: #ffffff;
  --accent-soft: #e9edff;
  --good: #14a870;
  --good-soft: #e3f6ee;
  --warn: #ff7a45;

  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-3) 55%, var(--accent-2) 100%);

  --shadow-sm: 0 1px 2px rgba(13, 16, 21, .05), 0 2px 6px -2px rgba(13, 16, 21, .06);
  --shadow: 0 1px 2px rgba(13, 16, 21, .04), 0 12px 32px -12px rgba(13, 16, 21, .16);
  --shadow-lg: 0 2px 4px rgba(13, 16, 21, .04), 0 24px 60px -20px rgba(13, 16, 21, .28), 0 60px 120px -40px rgba(36, 72, 245, .18);
  --ring: inset 0 1px 0 rgba(255, 255, 255, .7);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: 28px;
  --header-h: 84px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0c10; --bg-alt: #0e1116; --surface: #12151c; --surface-2: #161a22;
    --ink: #eef0f4; --ink-2: #c4c9d2; --muted: #8b93a1;
    --line: #20242d; --line-strong: #2d323d; --grid: rgba(255, 255, 255, .045);
    --accent: #6f8cff; --accent-2: #3cc4f5; --accent-3: #9a82ff; --accent-ink: #0a0c10; --accent-soft: #1a2142;
    --good: #34d399; --good-soft: #0f2a22;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 60px -20px rgba(0,0,0,.7), 0 60px 120px -40px rgba(111,140,255,.25);
    --ring: inset 0 1px 0 rgba(255, 255, 255, .06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0c10; --bg-alt: #0e1116; --surface: #12151c; --surface-2: #161a22;
  --ink: #eef0f4; --ink-2: #c4c9d2; --muted: #8b93a1;
  --line: #20242d; --line-strong: #2d323d; --grid: rgba(255, 255, 255, .045);
  --accent: #6f8cff; --accent-2: #3cc4f5; --accent-3: #9a82ff; --accent-ink: #0a0c10; --accent-soft: #1a2142;
  --good: #34d399; --good-soft: #0f2a22;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 60px -20px rgba(0,0,0,.7), 0 60px 120px -40px rgba(111,140,255,.25);
  --ring: inset 0 1px 0 rgba(255, 255, 255, .06);
  color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* film grain for tactile depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; display: inline-block; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--good); opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.dots i:nth-child(1) { background: #ff6159; } .dots i:nth-child(2) { background: #ffbd2e; } .dots i:nth-child(3) { background: #28c941; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; isolation: isolate;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn .ic { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 20px -8px rgba(13,16,21,.5); }
.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-accent:hover { background-position: 100% 0; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--line-strong); transform: rotate(-8deg); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 500; color: var(--accent); }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* =========================================================
   Header (floating glass pill)
   ========================================================= */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; padding: 0 var(--gutter); pointer-events: none; }
.header-shell {
  pointer-events: auto; position: relative;
  max-width: calc(var(--container) - 2 * var(--gutter) + 24px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 60px; padding: 0 10px 0 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  box-shadow: var(--ring), 0 10px 30px -14px rgba(13,16,21,.25);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled .header-shell { background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--ring), 0 14px 40px -12px rgba(13,16,21,.3); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(13,16,21,.5); }
.brand-text { font-weight: 700; letter-spacing: -0.02em; font-size: 17px; display: flex; flex-direction: column; line-height: 1; }
.brand-text span { font-family: var(--mono); font-weight: 400; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 8px 14px; font-size: 14px; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a.active { color: var(--ink); background: var(--bg-alt); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 8px; }

#themeToggle .ic-moon { display: none; }
:root[data-theme="dark"] #themeToggle .ic-sun { display: none; }
:root[data-theme="dark"] #themeToggle .ic-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #themeToggle .ic-sun { display: none; }
  :root:not([data-theme="light"]) #themeToggle .ic-moon { display: block; }
}
.menu-btn { display: none; }
.menu-btn .ic-close { display: none; }
.menu-open .menu-btn .ic-open { display: none; }
.menu-open .menu-btn .ic-close { display: block; }

.mobile-nav {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  display: none; flex-direction: column; padding: 12px 20px 20px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mobile-nav a:not(.btn) { padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
.menu-open .mobile-nav { display: flex; animation: drop .25s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-a { width: 560px; height: 560px; right: -80px; top: 40px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { width: 420px; height: 420px; right: 360px; top: 320px; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2);
  padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero-title { margin-top: 26px; font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -0.045em; line-height: 1.0; text-wrap: balance; }
.hero-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap; padding-right: .05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 26px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 52ch; }
.hero-ctas { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .ic { width: 15px; height: 15px; color: var(--good); stroke-width: 2.4; }

/* Hero composition */
.hero-visual { position: relative; height: 540px; perspective: 1400px; }
.hv-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--ring), var(--shadow-lg); transition: transform .3s ease-out;
  will-change: transform;
}
.hv-main { left: 0; right: 30px; top: 40px; transform: rotateY(-6deg) rotateX(3deg); transform-origin: left center; overflow: hidden; }
.hv-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.hv-url { flex: 1; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; max-width: 220px; }
.hv-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--good); }
.hv-body { padding: 20px; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-kpis > div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 2px; }
.k-label { font-size: 11.5px; color: var(--muted); }
.k-val { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.k-delta { font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.k-delta.up { color: var(--good); } .k-delta.down { color: var(--good); }
.hv-chart { width: 100%; height: 170px; margin-top: 16px; overflow: visible; }
.hv-gridlines path { stroke: var(--line); stroke-dasharray: 3 5; fill: none; }
.hv-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s .4s ease forwards; }
.hv-line2 { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 6; }
.hv-area { opacity: 0; animation: fadein 1.2s 1.2s ease forwards; }
.hv-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 3; opacity: 0; animation: fadein .4s 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.hv-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.hv-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.hv-legend .l1 { background: var(--accent); } .hv-legend .l2 { background: var(--line-strong); }
.hv-months { margin-left: auto; font-family: var(--mono); }

.hv-chat { left: -40px; bottom: 0; width: 290px; padding: 16px; animation: float 7s ease-in-out infinite; }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--good); font-size: 12px; }
.bot-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.bot-av .ic { width: 17px; height: 17px; }
.bubble { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 14px; max-width: 88%; margin-top: 6px; }
.bubble.me { margin-left: auto; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; width: fit-content; }
.bubble.bot { background: var(--bg-alt); border-bottom-left-radius: 4px; }
.chat-tag { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--good); background: var(--good-soft); padding: 5px 10px; border-radius: 999px; }
.chat-tag .ic { width: 13px; height: 13px; stroke-width: 2.6; }

.hv-sec { right: -10px; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; animation: float 8s 1s ease-in-out infinite; }
.hv-sec b { display: block; font-size: 13.5px; }
.hv-sec small { font-size: 12px; color: var(--muted); }
.sec-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); }

.hv-uptime { right: 0; bottom: 50px; padding: 14px 16px; display: grid; gap: 4px; width: 200px; animation: float 9s .5s ease-in-out infinite; }
.uptime-bars { display: flex; gap: 3px; margin-top: 6px; }
.uptime-bars i { flex: 1; height: 20px; border-radius: 3px; background: var(--good); opacity: .85; }
.uptime-bars i:nth-child(9) { opacity: .35; }
@keyframes float { 50% { translate: 0 -10px; } }

/* Stats */
.stats {
  margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--ring), var(--shadow);
}
.stats > div { padding: 26px 28px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 6px 0 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Marquee */
.marquee { margin-top: 64px; overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 30px; position: relative; }
.marquee-track span::after { content: "✦"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--accent); opacity: .6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: 120px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 24px 56px; margin-bottom: 52px; }
.section-head > :last-child:not(:first-child) { justify-self: end; }
.section-head .section-sub { justify-self: start; }
.section h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -0.04em; line-height: 1.04; max-width: 18ch; text-wrap: balance; }
.section h2 .serif { color: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.kicker span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.section-sub { color: var(--ink-2); max-width: 44ch; font-size: 17px; }

/* Tabs with sliding thumb */
.tabs { position: relative; display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.tab { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .3s; }
.tab[aria-selected="true"] { color: var(--bg); }
.tab-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .4s cubic-bezier(.6,.1,.2,1), width .4s cubic-bezier(.6,.1,.2,1); box-shadow: 0 6px 16px -6px rgba(13,16,21,.5); }
.tab-panel:not([hidden]) { animation: panelIn .5s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   Bento
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.bcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.bcard::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%);
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--shadow-lg); border-color: var(--line-strong); }
.bcard:hover::before { opacity: 1; }
.bcard-body { position: relative; padding: 24px 26px 28px; }
.bc-ic { display: none; }
.bcard h3 { font-size: 19px; letter-spacing: -0.02em; }
.bcard p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 52ch; }
.bcard-wide { flex-direction: row; align-items: stretch; }
.bcard-wide .bcard-body { flex: 1; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.bcard-wide .bc-ic { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.bcard-wide h3 { font-size: 24px; }
.bcard-wide .viz { flex: 1.2; height: auto; min-height: 240px; border-bottom: 0; border-left: 1px solid var(--line); }

/* viz canvas */
.viz {
  position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 7%, var(--surface-2)), var(--surface-2));
  display: grid; place-items: center;
}
.viz::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.viz > * { position: relative; }
.sk { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

/* brand */
.viz-brand { display: flex; align-items: center; justify-content: center; gap: 28px; }
.brand-tile { width: 120px; height: 120px; border-radius: 28px; background: var(--ink); position: relative; box-shadow: var(--shadow-lg); transform: rotate(-6deg); transition: transform .5s; }
.bcard:hover .brand-tile { transform: rotate(0) scale(1.04); }
.bt-shape { position: absolute; }
.bt-shape.a { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); left: 22px; top: 24px; }
.bt-shape.b { width: 40px; height: 40px; border-radius: 10px; border: 3px solid #fff; right: 22px; bottom: 22px; }
.swatches { display: flex; flex-direction: column; gap: 6px; }
.swatches i { display: block; width: 90px; height: 18px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: width .4s; }
.bcard:hover .swatches i:nth-child(2) { width: 110px; }
.bcard:hover .swatches i:nth-child(4) { width: 70px; }
.type-spec { display: grid; gap: 4px; }
.aa { font-family: var(--serif); font-style: italic; font-size: 84px; line-height: .9; }
.ts-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* web */
.browser { width: 78%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transform: translateY(-10px); }
.b-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.dots i { width: 7px; height: 7px; }
.b-url { font-family: var(--mono); font-size: 10.5px; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 6px; }
.b-body { padding: 16px; display: grid; gap: 8px; }
.b-body .sk:first-child { height: 12px; background: var(--ink); opacity: .85; }
.sk-btn { display: block; width: 70px; height: 22px; border-radius: 999px; background: var(--accent); margin-top: 6px; }
.mail-chip { position: absolute !important; bottom: 20px; right: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mail-chip .ic { width: 14px; height: 14px; color: var(--accent); }

/* social */
.viz-social { display: block; }
.post { position: absolute !important; width: 116px; padding: 7px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post .img { display: block; height: 100px; border-radius: 9px; }
.post span { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 7px 3px 1px; }
.post .ic { width: 12px; height: 12px; color: #ff4d6d; fill: #ff4d6d; }
.p1 { left: 50%; top: 50%; transform: translate(-150%, -45%) rotate(-10deg); }
.p1 .img { background: linear-gradient(135deg, #ffb199, #ff7a45); }
.p2 { left: 50%; top: 50%; transform: translate(-50%, -55%); z-index: 2; }
.p2 .img { background: var(--grad); }
.p3 { left: 50%; top: 50%; transform: translate(50%, -45%) rotate(10deg); }
.p3 .img { background: linear-gradient(135deg, #7ee8c8, #18a8e6); }
.bcard:hover .p1 { transform: translate(-165%, -45%) rotate(-14deg); }
.bcard:hover .p3 { transform: translate(65%, -45%) rotate(14deg); }

/* seo */
.viz-seo { display: block; }
.map { position: absolute !important; inset: 0; background:
  linear-gradient(28deg, transparent 47%, color-mix(in srgb, var(--accent-2) 30%, transparent) 47.5%, color-mix(in srgb, var(--accent-2) 30%, transparent) 50%, transparent 50.5%),
  linear-gradient(-62deg, transparent 58%, var(--line-strong) 58.5%, var(--line-strong) 60%, transparent 60.5%),
  linear-gradient(90deg, transparent 30%, var(--line) 30.2%, var(--line) 31.5%, transparent 31.7%),
  linear-gradient(0deg, transparent 64%, var(--line) 64.2%, var(--line) 66%, transparent 66.2%); }
.pin { position: absolute !important; left: 50%; top: 32%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50% 50% 50% 4px; rotate: -45deg; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--accent) 70%, transparent); animation: bob 3s ease-in-out infinite; }
.pin .ic { rotate: 45deg; width: 20px; height: 20px; }
.pin::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.4s ease-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -62%); } }
.seo-card { position: absolute !important; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 1px; text-align: center; padding: 10px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); white-space: nowrap; }
.seo-card b { font-size: 13px; }
.stars { color: #f5a524; font-size: 12px; letter-spacing: 2px; }
.seo-card small { font-size: 11px; color: var(--good); font-weight: 500; }

/* chat */
.viz-chat { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 0 22px; }
.viz-chat .bubble { font-size: 12.5px; box-shadow: var(--shadow-sm); }
.viz-chat .bubble.bot { background: var(--surface); border: 1px solid var(--line); }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; margin-top: 6px; width: fit-content; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* tiers */
.viz-tiers { display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 32px 24px 0; }
.tier { position: relative; width: 150px; padding: 18px 16px 22px; border-radius: 14px 14px 0 0; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; display: grid; gap: 9px; align-content: start; box-shadow: var(--shadow-sm); transition: transform .4s; }
.tier b { font-size: 14px; margin-bottom: 4px; }
.tier:nth-child(1) { height: 150px; } .tier:nth-child(2) { height: 200px; } .tier:nth-child(3) { height: 178px; }
.tier.hot { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.tier.hot .sk { background: color-mix(in srgb, var(--bg) 25%, transparent); }
.tier-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 600; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.bcard:hover .tier { transform: translateY(-6px); }
.bcard:hover .tier.hot { transform: translateY(-12px); }

/* flow */
.viz-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.flow { display: flex; align-items: center; }
.node { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 500; }
.node .ic { width: 16px; height: 16px; color: var(--muted); }
.node-ai { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent), var(--shadow-lg); }
.node-ai .ic { color: var(--accent-2); }
.wire { width: 60px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 24px 0; } }
.log { display: grid; gap: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.log b { color: var(--good); font-weight: 500; margin-right: 4px; }
.log .dim { color: var(--muted); }

/* app */
.phone { width: 112px; height: 196px; border-radius: 22px; border: 5px solid var(--ink); background: var(--surface); padding: 18px 10px 10px; display: grid; gap: 7px; align-content: start; box-shadow: var(--shadow-lg); transform: translateY(18px) rotate(-4deg); transition: transform .5s; }
.bcard:hover .phone { transform: translateY(10px) rotate(0); }
.notch { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 34px; height: 6px; border-radius: 4px; background: var(--ink); }
.sk-hero { display: block; height: 60px; border-radius: 9px; background: var(--grad); }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; }
.ph-row i { height: 34px; border-radius: 7px; background: var(--bg-alt); }
.code { position: absolute !important; right: 14px; top: 26px; font-family: var(--mono); font-size: 11.5px; padding: 8px 12px; border-radius: 10px; background: #0d1015; color: #e6e9ef; box-shadow: var(--shadow); }
.c-k { color: #9a82ff; } .c-f { color: #3cc4f5; }

/* saas */
.viz-saas { perspective: 600px; }
.tenant { position: absolute !important; left: 50%; top: 50%; width: 180px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; font-weight: 500; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.t3, .t2 { align-items: flex-start; padding-top: 9px; color: var(--muted); font-size: 12px; }
.t3 { transform: translate(-50%, -150%) scale(.84); opacity: .55; }
.t2 { transform: translate(-50%, -92%) scale(.92); opacity: .85; }
.t1 { transform: translate(-50%, -22%); }
.t1 em { font-style: normal; font-size: 11px; color: var(--good); background: var(--good-soft); padding: 3px 8px; border-radius: 999px; }
.bcard:hover .t3 { transform: translate(-50%, -175%) scale(.84); }
.bcard:hover .t2 { transform: translate(-50%, -106%) scale(.92); }

/* shield */
.viz-shield { display: flex; align-items: center; justify-content: center; gap: 22px; }
.shield { position: relative; width: 96px; height: 110px; overflow: hidden; }
.shield svg { width: 100%; height: 100%; fill: color-mix(in srgb, var(--good) 14%, var(--surface)); stroke: var(--good); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 10px 20px color-mix(in srgb, var(--good) 35%, transparent)); }
.scan { position: absolute !important; left: 8%; right: 8%; height: 2px; top: 10%; background: var(--good); box-shadow: 0 0 12px 2px var(--good); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 80%; } }
.checks { display: grid; gap: 8px; }
.checks li { font-family: var(--mono); font-size: 12px; padding: 5px 10px 5px 26px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 9px; color: var(--good); font-weight: 700; }

/* bars */
.viz-bars { display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 26px 20px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; width: 100%; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, color-mix(in srgb, var(--accent) 35%, transparent), var(--accent)); transform-origin: bottom; transition: transform .5s; }
.bars i:last-child { background: var(--grad); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.bcard:hover .bars i:nth-child(odd) { transform: scaleY(1.08); }
.bars-label { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* roadmap */
.viz-roadmap { display: flex; flex-direction: column; justify-content: center; padding: 0 40px; }
.rm-track { position: absolute !important; left: 60px; right: 60px; top: 50%; height: 4px; border-radius: 2px; background: var(--line); transform: translateY(-16px); }
.rm-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 66%; border-radius: 2px; background: var(--grad); }
.rm-steps { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.rm-steps > div { display: grid; justify-items: center; gap: 4px; text-align: center; }
.rm-steps i { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); margin-bottom: 10px; }
.rm-steps .done i { border-color: var(--accent); background: var(--accent); }
.rm-steps .now i { border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.rm-steps b { font-size: 14px; }
.rm-steps small { font-size: 12px; color: var(--muted); }

/* =========================================================
   Process
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 58px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--ring), var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--shadow); }
.step-num { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step-ic { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 24px -10px rgba(13,16,21,.6); }
.step-ic .ic { width: 24px; height: 24px; }
.step:nth-child(4) .step-ic { background: var(--grad); color: #fff; }
.step h3 { font-size: 20px; margin: 26px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* =========================================================
   Work
   ========================================================= */
.work { background: var(--bg-alt); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--ring), var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--shadow-lg); border-color: var(--line-strong); }

.case-visual {
  position: relative; height: 300px; overflow: hidden; color: var(--tone);
  background:
    radial-gradient(120% 100% at 100% 100%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%),
    color-mix(in srgb, var(--tone) 5%, var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.case-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 70%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
}
.case-head { position: relative; z-index: 1; padding: 28px 32px 0; }
.case-tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
}
.case-metric { margin-top: 18px; font-size: clamp(52px, 5.2vw, 76px); font-weight: 600; letter-spacing: -0.055em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-metric-label { margin-top: 8px; color: var(--ink-2); font-weight: 500; }

/* edge-to-edge visuals anchored to the bottom of the panel */
.cv-area { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.cv-compare { position: absolute; left: 32px; right: 32px; bottom: 30px; display: grid; gap: 12px; }
.cv-compare div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; }
.cv-compare span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.cv-compare i { display: block; height: 14px; width: var(--w); border-radius: 999px; }
.cv-compare div:first-child i { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.cv-compare div:last-child i { background: var(--tone); box-shadow: 0 6px 16px -6px var(--tone); }
.cv-bars { position: absolute; left: 32px; right: 32px; bottom: 0; height: 30%; display: flex; align-items: flex-end; gap: 8px; }
.cv-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(to top, color-mix(in srgb, var(--tone) 30%, transparent), var(--tone)); }
.cv-dots {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background-image: radial-gradient(circle, var(--tone) 2.2px, transparent 2.7px); background-size: 16px 16px; background-position: 8px 8px;
  mask-image: linear-gradient(100deg, transparent 10%, #000 70%); -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%); opacity: .7;
}
.case:hover .cv-bars i { transform-origin: bottom; }

.case-body { display: flex; flex-direction: column; flex: 1; padding: 26px 32px 30px; }
.case-body h3 { font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.case-body h3 span { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.case-body > p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.chips li { font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border-radius: 7px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }

/* =========================================================
   Industries
   ========================================================= */
.industries-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.industries-intro { position: sticky; top: 120px; }
.industries-intro .section-sub { margin: 20px 0 30px; }
.industry-list { display: grid; gap: 10px; }
.industry { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.industry[open] { border-color: var(--line-strong); box-shadow: var(--ring), var(--shadow); }
.industry summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 30px; gap: 16px; align-items: center; padding: 20px 22px; }
.industry summary::-webkit-details-marker { display: none; }
.industry .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.industry .name { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.025em; transition: color .2s; }
.industry summary:hover .name { color: var(--accent); }
.industry .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .3s, background .3s; }
.industry .plus::before, .industry .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.industry .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.industry[open] .plus { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(180deg); }
.industry[open] .plus::after { opacity: 0; }
.ind-body { padding: 0 22px 22px 78px; }
.ind-body p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.industry[open] .ind-body { animation: panelIn .4s ease; }

/* =========================================================
   Stack
   ========================================================= */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stack { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--ring), var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.stack:hover { transform: translateY(-3px); box-shadow: var(--ring), var(--shadow); }
.stack-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.stack h3 { font-size: 18px; }
.stack p { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.stack ul { display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 7px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }

/* =========================================================
   About
   ========================================================= */
.about-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.about-copy { display: grid; gap: 18px; color: var(--ink-2); font-size: 17px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { padding-top: 26px; border-top: 1px solid var(--line-strong); position: relative; }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--grad); }
.pillar-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pillar h3 { font-size: 21px; margin: 12px 0 8px; }
.pillar p { color: var(--muted); }

.hubs-panel { position: relative; margin-top: 80px; padding: 44px; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--ring), var(--shadow); }
.hubs-map { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1.2px, transparent 1.6px); background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000, transparent 70%); }
.hubs-head { position: relative; margin-bottom: 32px; }
.hubs-head h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.hubs-head h3 .serif { color: var(--accent); }
.hubs-head p { color: var(--muted); margin-top: 8px; }
.hub-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hub { padding: 22px; border-radius: 16px; background: color-mix(in srgb, var(--bg-alt) 80%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: transform .3s, border-color .3s; }
.hub:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.hub-hq { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hub-hq .hub-focus { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.hub-hq .hub-city { color: var(--accent-2); }
.hub-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hub-region { font-weight: 600; font-size: 17px; }
.clock { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.hub-hq .clock { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.hub-city { color: var(--accent); font-size: 14px; margin-top: 4px; }
.hub-focus { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* =========================================================
   Split / forms / contact
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.split .section-sub { margin-top: 18px; }
.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 2.6; margin-top: 1px; }

.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--ring), var(--shadow-lg); }
.form { display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 10px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
  box-shadow: inset 0 1px 2px rgba(13,16,21,.04);
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line-strong)); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
input[aria-invalid="true"] { border-color: #e04848; box-shadow: 0 0 0 4px rgba(224,72,72,.12); }
.form-note { font-size: 14px; color: var(--muted); min-height: 1em; text-align: center; }
.form-note.ok { color: var(--good); } .form-note.err { color: #e04848; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 7px 13px; font-size: 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink-2); transition: all .15s; user-select: none; }
.pills label:hover span { border-color: var(--ink); }
.pills input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--accent) 70%, transparent); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.contact { padding-top: 60px; }
.contact-shell { position: relative; padding: 64px; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-alt)); border: 1px solid var(--line); }
.contact-glow { position: absolute; width: 600px; height: 600px; left: -200px; bottom: -300px; border-radius: 50%; filter: blur(90px); opacity: .35; background: var(--grad); pointer-events: none; }
.contact-shell .split { position: relative; }
.contact-list { margin-top: 32px; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list a:hover { color: var(--accent); }
.cl-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--accent); flex: none; }
.sla-card { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sla-card b { display: block; font-size: 14px; } .sla-card small { color: var(--muted); font-size: 13px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding: 88px 0 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 38ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); transition: color .2s, transform .2s; }
.footer-cols a:hover { color: var(--accent); transform: translateX(3px); }
.footer-word { margin-top: 56px; font-size: clamp(80px, 17vw, 250px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 14%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--ink); }

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .25s; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.6s ease-out infinite; }
.fab:hover { transform: scale(1.08); }

/* =========================================================
   Reveal
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-visual.reveal { transform: translateY(30px) scale(.98); }
.js .hero-visual.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hv-line { stroke-dashoffset: 0; } .hv-area, .hv-dot { opacity: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 520px; max-width: 640px; width: 100%; margin: 0 auto; }
  .hv-chat { left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 1; } .span-4, .span-6 { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .section-head, .about-top, .split, .footer-top, .industries-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-head > :last-child:not(:first-child) { justify-self: start; }
  .industries-intro { position: static; }
  .contact-shell { padding: 44px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .site-header { top: 10px; padding: 0 10px; }
  .header-shell { height: 56px; padding: 0 8px 0 12px; }
  .hide-sm { display: none; }
  .hero { padding-top: 120px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-title em { white-space: normal; }
  .hero-ctas .btn { flex: 1; }
  .hero-visual { height: auto; padding-top: 26px; }
  .hv-main { position: relative; left: auto; right: auto; top: auto; transform: none; }
  .hv-chat { position: relative; left: auto; margin: -56px 0 0 auto; width: 84%; }
  .hv-kpis { grid-template-columns: 1fr 1fr; }
  .hv-kpis > div:nth-child(3) { display: none; }
  .hv-chart { height: 130px; }
  .hv-sec { right: 8px; top: 0; z-index: 2; }
  .hv-sec small { display: none; }
  .hv-uptime { display: none; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .stats > div { padding: 20px; }
  .stats > div + div { border-left: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 32px; }
  .tabs { width: 100%; } .tab { flex: 1; padding: 10px 8px; }
  .bento, .work-grid, .steps, .stack-grid, .hub-grid, .pillars, .row-2 { grid-template-columns: 1fr; }
  .span-2, .span-4, .span-6 { grid-column: auto; }
  .bcard-wide { flex-direction: column-reverse; }
  .bcard-wide .viz { border-left: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
  .bcard-wide .bcard-body { padding: 26px; }
  .viz-brand { gap: 16px; } .brand-tile { width: 90px; height: 90px; } .swatches i { width: 60px; } .aa { font-size: 60px; }
  .bcard:hover .swatches i:nth-child(2) { width: 72px; }
  .tier { width: 100px; padding: 14px 12px; }
  .wire { width: 24px; }
  .node { padding: 9px 11px; font-size: 12px; }
  .viz-roadmap { padding: 0 16px; } .rm-track { left: 30px; right: 30px; }
  .case-head { padding: 22px 22px 0; } .case-body { padding: 22px; }
  .case-visual { height: 270px; } .cv-compare, .cv-bars { left: 22px; right: 22px; }
  .industry summary { grid-template-columns: 1fr 30px; padding: 18px; }
  .industry .num { display: none; }
  .ind-body { padding: 0 18px 18px; }
  .hubs-panel { padding: 26px; }
  .contact-shell { padding: 24px 16px; border-radius: 28px; }
  .panel { padding: 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .fab { right: 16px; bottom: 16px; }
}
