:root {
  --color-primary: #0f172a;
  --color-secondary: #334155;
  --color-muted: #64748b;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-accent-soft: #eff6ff;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-success: #15803d;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04), 0 4px 12px rgb(15 23 42 / 0.04);
  --shadow-md: 0 16px 40px rgb(15 23 42 / 0.09);
  --shadow-lg: 0 30px 80px rgb(15 23 42 / 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 74px;
  --transition: 180ms ease;
  --green1: #2563eb;
  --green2: #3b82f6;
  --green3: #60a5fa;
  --blue1: #2563eb;
  --blue2: #60a5fa;
  --dark1: #0f172a;
  --dark2: #1e293b;
  --dark3: #94a3b8;
  --light1: #f8fafc;
  --light2: #cbd5e1;
  --light3: #94a3b8;
  --border-radius: 10px;
  --notice-max-width: 440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--color-primary); background: var(--color-bg); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgb(37 99 235 / 0.35); outline-offset: 3px; border-radius: 6px; }
::selection { color: #fff; background: var(--color-accent); }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--color-primary); border-radius: 8px; transform: translateY(-160%); transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 88px; }
.section-sm { padding-block: 64px; }
.section-heading { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading h2, .about h2, .contact h2, .cta-box h2 { margin: 8px 0 16px; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.12; letter-spacing: -0.045em; }
.section-heading > p:last-child { max-width: 600px; margin: 0 auto; color: var(--color-muted); font-size: 1.08rem; }
.eyebrow { margin: 0; color: var(--color-accent); font-size: 0.76rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; margin-right: 8px; background: currentColor; vertical-align: middle; }
.gradient-text { color: var(--color-accent); background: linear-gradient(110deg, #2563eb, #4f46e5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.button { position: relative; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; overflow: hidden; padding: 12px 20px; color: #fff; background: var(--color-accent); border: 1px solid var(--color-accent); border-radius: 10px; box-shadow: 0 8px 20px rgb(37 99 235 / 0.18); font-weight: 650; line-height: 1.2; cursor: pointer; transition: transform var(--transition), background var(--transition), box-shadow var(--transition); }
.button::before { position: absolute; top: -50%; left: -75%; width: 38%; height: 200%; content: ""; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.28), transparent); transform: rotate(18deg); transition: left 500ms ease; }
.button:hover::before { left: 135%; }
.button:hover { background: var(--color-accent-dark); box-shadow: 0 12px 25px rgb(37 99 235 / 0.25); transform: translateY(-2px); }
.button-secondary { color: var(--color-primary); background: #fff; border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.button-secondary:hover { background: var(--color-bg-alt); border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: 0.9rem; }

/* Header */
.site-header { position: fixed; z-index: 100; top: 0; width: 100%; height: var(--header-height); background: rgb(255 255 255 / 0.78); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: box-shadow var(--transition), border-color var(--transition); }
.site-header.scrolled { border-color: rgb(226 232 240 / 0.8); box-shadow: 0 8px 30px rgb(15 23 42 / 0.05); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 750; letter-spacing: -0.025em; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--color-primary); border-radius: 9px; font-size: 0.7rem; letter-spacing: -0.04em; }
.main-nav { position: fixed; inset: var(--header-height) 0 auto; display: flex; visibility: hidden; max-height: 0; flex-direction: column; gap: 5px; overflow: hidden; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--color-border); opacity: 0; transition: max-height 250ms ease, opacity 200ms ease, visibility 200ms; }
.main-nav.open { visibility: visible; max-height: 430px; padding-block: 18px 24px; opacity: 1; }
.main-nav > a:not(.button) { padding: 10px 8px; color: var(--color-secondary); font-size: 0.94rem; font-weight: 550; transition: color var(--transition); }
.main-nav > a:not(.button):hover { color: var(--color-accent); }
.nav-cta { margin-top: 8px; }
.menu-toggle { display: grid; width: 43px; height: 43px; place-content: center; gap: 5px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 780px; overflow: hidden; padding-top: calc(var(--header-height) + 80px); background: linear-gradient(180deg, #fff 0%, #fff 65%, #f8fafc 100%); }
.hero-glow { position: absolute; top: 60px; right: -20%; width: 720px; height: 620px; background: radial-gradient(circle, rgb(37 99 235 / 0.10), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 70px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero h1 { max-width: 680px; margin: 18px 0 24px; font-size: clamp(2.8rem, 11vw, 5rem); line-height: 1.02; letter-spacing: -0.06em; }
.hero-lead { max-width: 620px; margin: 0 0 30px; color: var(--color-secondary); font-size: clamp(1.06rem, 2.2vw, 1.25rem); line-height: 1.65; }
.button-group { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--color-muted); font-size: 0.86rem; font-weight: 550; }
.hero-proof i { display: inline-grid; width: 19px; height: 19px; margin-right: 4px; place-items: center; color: var(--color-success); background: #dcfce7; border-radius: 50%; font-size: 0.7rem; font-style: normal; }
.product-visual { position: relative; min-width: 0; padding: 12px 0 25px; }
.browser-window { overflow: hidden; width: 100%; min-width: 580px; background: #fff; border: 1px solid #dbe3ed; border-radius: 15px; box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(calc(-2deg + var(--pointer-x, 0deg))) rotateX(calc(1deg + var(--pointer-y, 0deg))) translateY(var(--pointer-lift, 0)); transition: transform 220ms ease-out, box-shadow 220ms ease-out; }
.product-visual:hover .browser-window { --pointer-lift: -4px; box-shadow: 0 36px 90px rgb(15 23 42 / 0.18); }
.browser-bar { display: flex; height: 42px; align-items: center; padding: 0 14px; background: #f8fafc; border-bottom: 1px solid var(--color-border); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 7px; height: 7px; background: #cbd5e1; border-radius: 50%; }
.browser-address { width: 210px; margin: auto; padding: 5px 12px; color: #94a3b8; background: #fff; border: 1px solid #e2e8f0; border-radius: 5px; font-size: 0.58rem; }
.app-shell { display: grid; min-height: 420px; grid-template-columns: 52px 1fr; background: #f8fafc; }
.app-sidebar { display: flex; align-items: center; flex-direction: column; gap: 22px; padding-top: 16px; background: #111827; }
.app-logo { display: grid; width: 24px; height: 24px; margin-bottom: 12px; place-items: center; color: #fff; background: var(--color-accent); border-radius: 6px; font-size: 0.55rem; font-weight: 700; }
.side-item { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; color: #64748b; background: transparent; border: 1px solid transparent; border-radius: 7px; cursor: pointer; transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
.side-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.side-item:hover { color: #bfdbfe; background: rgb(255 255 255 / 0.06); transform: translateY(-1px); }
.side-item.active { color: #bfdbfe; background: rgb(37 99 235 / 0.35); border-color: rgb(147 197 253 / 0.2); }
.app-content { --app-accent: #2563eb; --app-soft: #dbeafe; min-width: 0; padding: 22px; transition: opacity 120ms ease, transform 120ms ease, background 180ms ease; }
.app-content[data-view="documents"] { --app-accent: #0891b2; --app-soft: #cffafe; background: linear-gradient(135deg, #f8fafc, #ecfeff); }
.app-content[data-view="automation"] { --app-accent: #16a34a; --app-soft: #dcfce7; background: linear-gradient(135deg, #f8fafc, #f0fdf4); }
.app-content[data-view="assistant"] { --app-accent: #7c3aed; --app-soft: #ede9fe; background: linear-gradient(135deg, #f8fafc, #faf5ff); }
.app-content.switching { opacity: 0.35; transform: translateY(2px); }
.app-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app-topline div:first-child { display: flex; flex-direction: column; }
.app-topline small, .metric span, .metric small, .assistant-card small { color: #94a3b8; font-size: 0.53rem; }
.app-topline strong { font-size: 0.88rem; }
.app-avatar { display: grid; width: 27px; height: 27px; place-items: center; color: var(--app-accent); background: var(--app-soft); border-radius: 50%; font-size: 0.48rem; font-weight: 700; transition: color 180ms ease, background 180ms ease; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric, .chart-card, .assistant-card, .process-list { background: #fff; border: 1px solid #e7edf4; border-radius: 8px; }
.metric { display: grid; grid-template-columns: 1fr auto; padding: 12px; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.metric:hover { border-color: #bfdbfe; box-shadow: 0 7px 18px rgb(37 99 235 / 0.1); transform: translateY(-3px); }
.metric span { grid-column: 1 / -1; }
.metric strong { margin-top: 3px; font-size: 0.9rem; }
.metric small { align-self: end; }
.metric .positive { color: #16a34a; }
.dashboard-row { display: grid; grid-template-columns: 1.45fr 0.85fr; gap: 10px; margin-top: 10px; }
.chart-card, .assistant-card, .process-list { padding: 13px; }
.card-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.57rem; }
.card-head span { color: #94a3b8; }
.chart { display: flex; height: 92px; align-items: end; gap: 6px; padding: 15px 3px 0; border-bottom: 1px solid #e2e8f0; }
.chart span { width: 100%; height: var(--height); background: linear-gradient(color-mix(in srgb, var(--app-accent), white 38%), var(--app-accent)); border-radius: 3px 3px 0 0; opacity: 0.9; }
.document-view, .ai-analysis-view { height: 107px; padding-top: 10px; }
.document-view[hidden], .ai-analysis-view[hidden] { display: none; }
.document-view { display: grid; grid-template-columns: 65px 1fr; gap: 14px; align-items: center; }
.document-sheet { position: relative; height: 83px; padding: 15px 10px; background: #fff; border: 1px solid #a5f3fc; border-radius: 6px; box-shadow: 0 8px 18px rgb(8 145 178 / 0.12); }
.document-sheet::after { position: absolute; top: 0; right: 0; width: 15px; height: 15px; content: ""; background: linear-gradient(45deg, #cffafe 50%, #fff 50%); border-radius: 0 5px 0 0; }
.document-sheet span, .document-sheet i { display: block; height: 3px; margin-bottom: 7px; background: #cbd5e1; border-radius: 2px; }
.document-sheet span { width: 60%; background: #0891b2; }
.document-sheet i:nth-of-type(2) { width: 75%; }
.document-sheet b { position: absolute; right: 7px; bottom: 6px; color: #0891b2; font-size: 0.43rem; }
.document-progress { display: grid; gap: 10px; }
.document-progress span { position: relative; display: block; height: 6px; background: #e2e8f0; border-radius: 4px; }
.document-progress i { display: block; width: var(--progress); height: 100%; background: linear-gradient(90deg, #06b6d4, #0891b2); border-radius: inherit; }
.document-progress small { position: absolute; top: -12px; left: 0; color: #64748b; font-size: 0.4rem; }
.ai-analysis-view { position: relative; display: grid; grid-template-columns: 1fr 82px; gap: 12px; align-items: center; }
.ai-document { display: grid; gap: 7px; padding: 13px; background: #faf5ff; border: 1px solid #ddd6fe; border-radius: 7px; }
.ai-document i { height: 4px; background: #c4b5fd; border-radius: 2px; }
.ai-document i:nth-child(2) { width: 78%; }
.ai-document i:nth-child(3) { width: 56%; }
.ai-document span { height: 18px; background: rgb(124 58 237 / 0.1); border: 1px dashed #a78bfa; border-radius: 4px; }
.confidence-ring { display: grid; width: 65px; height: 65px; place-items: center; align-content: center; background: conic-gradient(#7c3aed 94%, #ede9fe 0); border-radius: 50%; box-shadow: inset 0 0 0 8px #fff; }
.confidence-ring strong { font-size: 0.75rem; line-height: 1; }
.confidence-ring strong small { font-size: 0.42rem; }
.confidence-ring > span { margin-top: 3px; color: #7c3aed; font-size: 0.35rem; }
.ai-tags { position: absolute; bottom: 2px; left: 10px; display: flex; gap: 4px; }
.ai-tags span { padding: 2px 5px; color: #6d28d9; background: #ede9fe; border-radius: 6px; font-size: 0.35rem; }
.snake-game { padding-top: 9px; }
.snake-game[hidden], .chart[hidden] { display: none; }
.snake-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #64748b; font: 0.46rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.snake-head strong { color: #2563eb; }
.snake-stats { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: #64748b; font-size: 0.4rem; }
.snake-stats b { color: #0f172a; }
.snake-game canvas { display: block; width: 100%; height: 74px; background-color: #0f172a; background-image: linear-gradient(rgb(148 163 184 / 0.08) 1px, transparent 1px), linear-gradient(90deg, rgb(148 163 184 / 0.08) 1px, transparent 1px); background-size: 10px 10px; border: 1px solid #334155; border-radius: 5px; image-rendering: pixelated; outline: 0; }
.snake-game canvas:focus-visible { border-color: #60a5fa; box-shadow: 0 0 0 2px rgb(37 99 235 / 0.18); }
.snake-actions { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 6px; margin-top: 6px; }
.snake-actions > button { padding: 5px 8px; color: #fff; background: #2563eb; border: 0; border-radius: 5px; font-size: 0.43rem; cursor: pointer; }
.snake-name { display: flex; min-width: 0; flex-direction: column; gap: 2px; color: #64748b; font-size: 0.38rem; }
.snake-name input { min-width: 0; width: 100%; height: 24px; padding: 3px 6px; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 0.43rem; outline: 0; }
.snake-name input:focus { border-color: #2563eb; }
.snake-controls { display: grid; grid-template-columns: repeat(3, 20px); grid-template-rows: repeat(2, 18px); gap: 2px; }
.snake-controls button { display: grid; place-items: center; padding: 0; color: #475569; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 0.48rem; cursor: pointer; touch-action: manipulation; }
.snake-controls button[data-snake-direction="up"] { grid-column: 2; }
.snake-controls button[data-snake-direction="left"] { grid-column: 1; grid-row: 2; }
.snake-controls button[data-snake-direction="down"] { grid-column: 2; grid-row: 2; }
.snake-controls button[data-snake-direction="right"] { grid-column: 3; grid-row: 2; }
.snake-controls button:active { color: #fff; background: #2563eb; }
.assistant-title { display: flex; align-items: center; gap: 6px; font-size: 0.6rem; }
.spark { display: grid; width: 22px; height: 22px; place-items: center; color: var(--app-accent); background: var(--app-soft); border-radius: 6px; transition: color 180ms ease, background 180ms ease; }
.assistant-card p { margin: 9px 0; color: #64748b; font-size: 0.52rem; }
.assistant-result { display: flex; align-items: center; gap: 7px; padding: 7px; background: #f8fafc; border-radius: 5px; font-size: 0.53rem; }
.assistant-result > span { display: grid; width: 18px; height: 18px; place-items: center; color: #16a34a; background: #dcfce7; border-radius: 50%; }
.assistant-result div { display: flex; flex-direction: column; }
.assistant-card button { width: 100%; margin-top: 8px; padding: 6px; color: #fff; background: #111827; border: 0; border-radius: 4px; font-size: 0.48rem; }
.process-list { margin-top: 10px; }
.process-row { display: grid; grid-template-columns: 24px 1fr auto 35px; gap: 7px; align-items: center; padding-top: 9px; color: #475569; font-size: 0.5rem; }
.file-icon { display: grid; width: 21px; height: 21px; place-items: center; color: #2563eb; background: #dbeafe; border-radius: 5px; font-size: 0.48rem; }
.file-icon.purple { color: #7c3aed; background: #f3e8ff; }
.status { padding: 3px 5px; border-radius: 8px; }
.status.running { color: #b45309; background: #fef3c7; }
.status.done { color: #15803d; background: #dcfce7; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 13px; background: rgb(255 255 255 / 0.95); border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: var(--shadow-md); font-size: 0.65rem; animation: float 5s ease-in-out infinite; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card small { color: var(--color-muted); }
.floating-one { top: 55px; right: -18px; }
.floating-two { bottom: 0; left: -26px; animation-delay: -2s; }
.float-icon { display: grid; width: 28px; height: 28px; place-items: center; color: #2563eb; background: #dbeafe; border-radius: 7px; font-weight: 700; }
.float-icon.check { color: #15803d; background: #dcfce7; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Focus and services */
.focus-section { background: var(--color-bg-alt); border-block: 1px solid #eef2f7; }
.focus-grid { display: grid; gap: 12px; }
.focus-card { padding: 24px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.focus-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.focus-card h3 { margin: 17px 0 7px; font-size: 1rem; letter-spacing: -0.02em; }
.focus-card p { margin: 0; color: var(--color-muted); font-size: 0.89rem; line-height: 1.6; }
.icon-box { display: grid; width: 39px; height: 39px; place-items: center; color: var(--color-accent); background: var(--color-accent-soft); border-radius: 9px; font-weight: 700; transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease; }
.focus-card:hover .icon-box { background: #dbeafe; transform: translateY(-4px) rotate(-4deg) scale(1.06); }
.services-grid { display: grid; gap: 16px; }
.service-card { position: relative; overflow: hidden; padding: 30px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.service-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card.featured { background: linear-gradient(145deg, #fff, #f8fbff); border-color: #bfdbfe; }
.service-number { position: absolute; top: 25px; right: 25px; color: #cbd5e1; font-size: 0.72rem; font-weight: 700; }
.service-icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--color-accent); background: var(--color-accent-soft); border-radius: 11px; font-size: 1.1rem; font-weight: 700; transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), color 180ms ease, background 180ms ease; }
.service-card:hover .service-icon { color: #fff; background: var(--color-accent); transform: translateY(-5px) rotate(5deg); }
.service-number { transition: color 180ms ease, transform 220ms ease; }
.service-card:hover .service-number { color: #93c5fd; transform: translateX(-3px); }
.service-card h3 { margin: 24px 0 10px; font-size: 1.18rem; line-height: 1.35; letter-spacing: -0.025em; }
.service-card p { min-height: 78px; margin: 0 0 20px; color: var(--color-muted); font-size: 0.92rem; }
.service-card a, .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--color-accent); font-size: 0.88rem; font-weight: 650; }
.service-card a span, .text-link span { transition: transform var(--transition); }
.service-card a:hover span, .text-link:hover span { transform: translateX(4px); }

/* Projects */
.projects { background: var(--color-bg-alt); }
.project-card { overflow: hidden; border-radius: var(--radius-lg); }
.project-main { display: grid; color: #fff; background: #101b33; box-shadow: var(--shadow-lg); }
.project-copy { z-index: 1; padding: 40px 28px; }
.project-copy h3 { margin: 17px 0 14px; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.055em; }
.project-copy > p { max-width: 550px; color: #cbd5e1; }
.project-tag { display: inline-block; padding: 6px 10px; color: #bfdbfe; background: rgb(37 99 235 / 0.22); border: 1px solid rgb(147 197 253 / 0.25); border-radius: 20px; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.04em; }
.feature-list { display: grid; gap: 10px; margin: 25px 0 30px; padding: 0; list-style: none; color: #e2e8f0; font-size: 0.88rem; }
.feature-list span { display: inline-grid; width: 20px; height: 20px; margin-right: 6px; place-items: center; color: #93c5fd; background: rgb(37 99 235 / 0.2); border-radius: 50%; font-size: 0.65rem; }
.button-light { color: #172033; background: #fff; border-color: #fff; box-shadow: none; }
.button-light:hover { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
.proven-visual { display: flex; min-height: 400px; align-items: center; justify-content: center; overflow: hidden; padding: 34px; background: radial-gradient(circle at 60% 50%, rgb(37 99 235 / 0.35), transparent 56%); }
.screenshot-preview { display: grid; width: min(100%, 330px); grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 17px; color: #0f172a; background: rgb(255 255 255 / 0.96); border: 1px solid rgb(255 255 255 / 0.28); border-radius: 15px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.28); text-align: left; cursor: zoom-in; transition: transform var(--transition), box-shadow var(--transition); }
.screenshot-preview:hover { box-shadow: 0 30px 70px rgb(0 0 0 / 0.38); transform: translateY(-4px); }
.preview-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #2563eb; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; transition: transform 260ms ease, background 180ms ease; }
.preview-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.preview-icon svg path:last-child { fill: currentColor; stroke: none; }
.preview-copy { display: flex; min-width: 0; flex-direction: column; }
.preview-copy strong { font-size: 0.92rem; letter-spacing: -0.02em; }
.preview-copy small { margin-top: 2px; color: #64748b; font-size: 0.75rem; }
.preview-arrow { display: grid; width: 30px; height: 30px; place-items: center; color: #2563eb; background: #eff6ff; border-radius: 8px; font-weight: 700; transition: transform 220ms ease; }
.screenshot-preview:hover .preview-icon { background: #dbeafe; transform: rotate(-4deg) scale(1.06); }
.screenshot-preview:hover .preview-arrow { transform: translate(3px, -3px); }
.lightbox { width: min(94vw, 1500px); max-width: none; max-height: 92vh; margin: auto; padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgb(2 6 23 / 0.88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lightbox-in 180ms ease-out; }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 30px 100px rgb(0 0 0 / 0.55); }
.lightbox-close { position: absolute; z-index: 1; top: -18px; right: -18px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0 0 3px; color: #fff; background: #0f172a; border: 1px solid rgb(255 255 255 / 0.3); border-radius: 50%; box-shadow: var(--shadow-md); font-size: 1.7rem; line-height: 1; cursor: pointer; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.legal-dialog { width: min(calc(100% - 32px), 820px); max-width: none; max-height: min(88vh, 900px); padding: 0; overflow: auto; color: var(--color-primary); background: #fff; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 35px 110px rgb(2 6 23 / 0.5); }
.legal-dialog::backdrop { background: rgb(2 6 23 / 0.78); backdrop-filter: blur(6px); }
.legal-dialog[open] { animation: lightbox-in 180ms ease-out; }
.legal-dialog-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px 18px; background: rgb(255 255 255 / 0.95); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(12px); }
.legal-dialog-head h2 { margin: 2px 0 0; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.04em; }
.legal-kicker { color: var(--color-accent); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-dialog-close { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; padding: 0 0 2px; color: var(--color-primary); background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.legal-content { padding: 25px; }
.legal-content section { margin: 0 0 28px; }
.legal-content h3 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -0.02em; }
.legal-content p { margin: 0 0 11px; color: var(--color-secondary); font-size: 0.86rem; line-height: 1.7; }
.legal-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content .email-link { color: var(--color-accent); }
.legal-content mark { padding: 2px 4px; color: #854d0e; background: #fef9c3; border-radius: 3px; }
.legal-warning { padding: 13px 15px; color: #854d0e !important; background: #fefce8; border: 1px solid #fde68a; border-radius: 9px; }
.legal-version { padding-top: 18px; border-top: 1px solid var(--color-border); color: var(--color-muted) !important; font-size: 0.75rem !important; }
.project-grid { display: grid; gap: 20px; margin-top: 20px; }
.project-small { padding: 28px; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.project-small:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-small h3 { margin: 15px 0 8px; font-size: 1.45rem; letter-spacing: -0.035em; }
.project-small p { margin: 0; color: var(--color-muted); font-size: 0.94rem; }
.project-tag.blue { color: #1d4ed8; background: #eff6ff; border-color: #dbeafe; }
.project-tag.violet { color: #6d28d9; background: #f5f3ff; border-color: #ede9fe; }
.abstract-portal, .abstract-flow { height: 180px; margin: -28px -28px 26px; background: linear-gradient(135deg, #eff6ff, #f8fafc); transition: background-position 400ms ease; }
.abstract-portal { display: grid; grid-template-columns: 48px 1fr; padding: 32px 55px 0; }
.mini-sidebar { background: #1e293b; border-radius: 9px 0 0; transition: transform 280ms ease; }
.mini-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 20px; background: #fff; border: 1px solid #dbeafe; border-radius: 0 9px 0 0; box-shadow: 0 15px 35px rgb(37 99 235 / 0.12); transition: transform 280ms ease, box-shadow 280ms ease; }
.mini-body span { grid-column: 1 / -1; width: 45%; height: 9px; background: #cbd5e1; border-radius: 5px; }
.mini-body div { height: 62px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 6px; }
.abstract-flow { display: flex; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(135deg, #f5f3ff, #fafafa); }
.abstract-flow span { display: grid; width: 55px; height: 55px; place-items: center; color: #6d28d9; background: #fff; border: 1px solid #ddd6fe; border-radius: 14px; box-shadow: 0 8px 20px rgb(109 40 217 / 0.1); font-weight: 700; transition: transform 280ms ease, box-shadow 280ms ease; }
.abstract-flow i { width: 45px; height: 2px; background: repeating-linear-gradient(90deg, #a78bfa 0 4px, transparent 4px 8px); background-size: 16px 2px; transition: background-position 400ms ease; }
.project-small:hover .mini-sidebar { transform: translateX(-3px); }
.project-small:hover .mini-body { box-shadow: 0 20px 45px rgb(37 99 235 / 0.18); transform: translate(3px, -4px); }
.project-small:hover .abstract-flow span:first-child { transform: translateX(-5px) rotate(-4deg); }
.project-small:hover .abstract-flow span:last-child { transform: translateX(5px) rotate(4deg); }
.project-small:hover .abstract-flow span:nth-of-type(2) { box-shadow: 0 12px 28px rgb(109 40 217 / 0.2); transform: rotate(12deg) scale(1.06); }
.project-small:hover .abstract-flow i { background-position: 16px 0; }

/* Process and about */
.process-steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-steps li { position: relative; padding: 28px 20px 36px 74px; border-left: 1px dashed #cbd5e1; }
.process-steps li:last-child { border-color: transparent; }
.step-number { position: absolute; top: 28px; left: 0; color: #94a3b8; font-size: 0.7rem; font-weight: 700; }
.step-icon { position: absolute; top: 22px; left: 26px; display: grid; width: 38px; height: 38px; place-items: center; color: var(--color-accent); background: var(--color-accent-soft); border: 1px solid #dbeafe; border-radius: 10px; font-weight: 700; transition: transform 240ms ease, background 180ms ease, box-shadow 180ms ease; }
.process-steps li:hover .step-icon { background: #fff; box-shadow: 0 9px 22px rgb(37 99 235 / 0.15); transform: translateY(-4px) rotate(4deg); }
.process-steps h3 { margin: 0 0 7px; font-size: 1.1rem; }
.process-steps p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.about { background: var(--color-primary); color: #fff; }
.about-grid { display: grid; gap: 50px; }
.about-copy h2 { max-width: 700px; }
.about-copy h2 span { color: #94a3b8; }
.about-copy > p:not(.eyebrow) { max-width: 670px; margin: 0 0 13px; color: #cbd5e1; }
.about .text-link { margin-top: 16px; color: #93c5fd; }
.values-list { display: grid; gap: 12px; align-content: center; }
.value-card { display: flex; gap: 17px; padding: 22px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius-md); transition: background var(--transition), transform var(--transition); }
.value-card:hover { background: rgb(255 255 255 / 0.08); transform: translateX(4px); }
.value-card > span { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: #93c5fd; background: rgb(37 99 235 / 0.18); border-radius: 10px; font-weight: 700; transition: transform 250ms ease, background 180ms ease; }
.value-card:hover > span { background: rgb(37 99 235 / 0.3); transform: rotate(-5deg) scale(1.06); }

@media (hover: hover) and (pointer: fine) {
  .focus-card, .service-card, .project-small, .value-card, .screenshot-preview { will-change: transform; }
}
.value-card h3 { margin: 0 0 4px; font-size: 1rem; }
.value-card p { margin: 0; color: #94a3b8; font-size: 0.88rem; }

/* CTA and contact */
.cta-section { background: #fff; }
.cta-box { position: relative; display: grid; gap: 28px; overflow: hidden; padding: 38px 28px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #4f46e5); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgb(37 99 235 / 0.25); }
.cta-box > * { z-index: 1; }
.cta-glow { position: absolute; z-index: 0; top: -130px; right: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgb(255 255 255 / 0.22), transparent 67%); }
.cta-box h2 { max-width: 750px; margin-block: 9px 13px; font-size: clamp(2rem, 5vw, 3rem); }
.cta-box p:not(.eyebrow) { margin: 0; color: #dbeafe; }
.eyebrow.light { color: #bfdbfe; }
.button-white { align-self: center; color: var(--color-accent-dark); background: #fff; border-color: #fff; box-shadow: 0 10px 25px rgb(15 23 42 / 0.15); }
.button-white:hover { color: var(--color-primary); background: #f8fafc; border-color: #f8fafc; }
.contact { background: var(--color-bg-alt); }
.contact-grid { display: grid; gap: 45px; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: var(--color-muted); font-size: 1.02rem; }
.contact-details { display: grid; gap: 16px; margin: 35px 0 0; }
.contact-details div { padding-left: 16px; border-left: 2px solid #bfdbfe; }
.contact-details dt { color: var(--color-muted); font-size: 0.75rem; font-weight: 650; text-transform: uppercase; }
.contact-details dd { margin: 2px 0 0; font-weight: 650; }
.contact-details a:hover { color: var(--color-accent); }
.email-link { display: inline; padding: 0; color: inherit; background: none; border: 0; font: inherit; font-weight: inherit; text-align: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; cursor: pointer; }
.email-link:hover { color: var(--color-accent); }
.contact-form { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--color-secondary); font-size: 0.84rem; font-weight: 650; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; color: var(--color-primary); background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; transition: border-color var(--transition), box-shadow var(--transition); }
.form-field textarea { resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #94a3b8; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12); }
.form-button { width: 100%; border: 0; }
.form-button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-note { margin: 12px 0 0; color: var(--color-muted); font-size: 0.75rem; text-align: center; }
.form-note.success { color: var(--color-success); }
.form-note.error { color: #b91c1c; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Product operation */
.product-operator { position: relative; overflow: hidden; background: #fff; }
.operator-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgb(37 99 235 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(37 99 235 / 0.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 75%, transparent); pointer-events: none; }
.product-operator .container { position: relative; }
.operator-intro { display: grid; gap: 28px; margin-bottom: 44px; }
.operator-intro h2 { max-width: 650px; margin: 10px 0 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.055em; }
.operator-copy { max-width: 650px; color: var(--color-muted); }
.operator-copy p { margin: 0 0 13px; }
.operator-copy p:first-child { color: var(--color-primary); font-size: 1.15rem; }
.operator-cards { display: grid; gap: 14px; }
.operator-card { position: relative; min-height: 245px; overflow: hidden; padding: 25px; background: rgb(255 255 255 / 0.9); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.operator-card::after { position: absolute; right: -45px; bottom: -55px; width: 150px; height: 150px; content: ""; background: radial-gradient(circle, rgb(37 99 235 / 0.12), transparent 68%); transition: transform 350ms ease; }
.operator-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-md); transform: translateY(-5px); }
.operator-card:hover::after { transform: scale(1.25); }
.operator-status { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: 0.68rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.operator-status i, .deployment-head i, .architecture-head i, .architecture-log i, .founder-status i { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 4px rgb(34 197 94 / 0.12); }
.operator-icon { display: grid; width: 46px; height: 46px; margin-top: 27px; place-items: center; color: var(--color-accent); background: var(--color-accent-soft); border-radius: 12px; font-weight: 700; transition: transform 250ms ease, background 180ms ease; }
.operator-card:hover .operator-icon { background: #dbeafe; transform: translateY(-4px) rotate(-5deg); }
.operator-card h3 { margin: 18px 0 7px; font-size: 1.08rem; letter-spacing: -0.025em; }
.operator-card p { margin: 0; color: var(--color-muted); font-size: 0.85rem; line-height: 1.6; }
.deployment-strip { margin-top: 18px; padding: 19px 21px; background: #0f172a; border: 1px solid #1e293b; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.deployment-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #94a3b8; font-size: 0.7rem; }
.deployment-head span { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; font-weight: 650; }
.deployment-flow { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 18px; }
.deployment-flow span { display: flex; align-items: center; gap: 10px; padding: 9px 11px; color: #cbd5e1; background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.07); border-radius: 8px; font-size: 0.75rem; }
.deployment-flow span b { color: #64748b; font-size: 0.62rem; }
.deployment-flow span.active { color: #dcfce7; border-color: rgb(34 197 94 / 0.25); background: rgb(34 197 94 / 0.09); }
.deployment-flow > i { display: none; }

/* Engineering statement and technology */
.engineering-statement { position: relative; overflow: hidden; color: #fff; background: #0f172a; }
.engineering-statement::before { position: absolute; inset: 0; content: ""; background-image: radial-gradient(rgb(148 163 184 / 0.16) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle at 80% 30%, #000, transparent 55%); }
.engineering-orbit { position: absolute; top: 50%; right: -120px; width: 500px; height: 500px; border: 1px solid rgb(96 165 250 / 0.13); border-radius: 50%; transform: translateY(-50%); }
.engineering-orbit i { position: absolute; border: 1px solid rgb(96 165 250 / 0.12); border-radius: 50%; inset: 70px; }
.engineering-orbit i:nth-child(2) { inset: 145px; }
.engineering-orbit i:nth-child(3) { top: 70px; left: 215px; width: 10px; height: 10px; background: #3b82f6; border: 0; box-shadow: 0 0 25px #3b82f6; }
.engineering-inner { position: relative; }
.engineering-inner h2 { display: flex; flex-direction: column; margin: 20px 0 35px; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.06em; }
.engineering-inner h2 span:nth-child(2) { color: #94a3b8; }
.engineering-inner h2 span:nth-child(3) { color: #64748b; }
.engineering-inner > p:not(.eyebrow) { margin: 0; color: #e2e8f0; font-size: clamp(1.15rem, 2.5vw, 1.55rem); }
.engineering-terminal { display: flex; max-width: 570px; align-items: center; gap: 10px; margin-top: 34px; padding: 13px 16px; color: #94a3b8; background: rgb(2 6 23 / 0.65); border: 1px solid #334155; border-radius: 10px; font-size: 0.73rem; }
.terminal-prompt { color: #60a5fa; font-weight: 700; }
.terminal-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #86efac; }
.terminal-status i { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }
.technology { background: #fff; }
.technology-grid { display: grid; gap: 10px; }
.technology-card { display: flex; min-height: 145px; gap: 16px; padding: 21px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.technology-card:hover { border-color: #bfdbfe; box-shadow: 0 12px 30px rgb(15 23 42 / 0.08); transform: translateY(-3px); }
.technology-card img { width: 32px; height: 32px; flex: 0 0 auto; opacity: 0.82; transition: transform 220ms ease, opacity 180ms ease; }
.technology-card:hover img { opacity: 1; transform: scale(1.14) rotate(-3deg); }
.technology-card h3 { margin: 1px 0 6px; font-size: 0.98rem; letter-spacing: -0.02em; }
.technology-card p { margin: 0; color: var(--color-muted); font-size: 0.8rem; line-height: 1.55; }

/* Proven engineering context */
.proven-practice { display: grid; gap: 28px; align-items: center; margin: 70px 0; }
.proven-practice-copy h3 { max-width: 620px; margin: 10px 0 18px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.045em; }
.proven-practice-copy > p:not(.eyebrow) { max-width: 650px; margin: 0 0 13px; color: var(--color-muted); }
.architecture-card { overflow: hidden; padding: 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.architecture-head { display: flex; align-items: center; justify-content: space-between; color: var(--color-muted); font-size: 0.7rem; }
.architecture-head > span { display: inline-flex; align-items: center; gap: 8px; color: var(--color-secondary); font-weight: 650; }
.architecture-flow { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 30px 0 20px; }
.architecture-node { display: flex; align-items: center; justify-content: space-between; padding: 13px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 10px; }
.architecture-node b { font-size: 0.82rem; }
.architecture-node small { color: var(--color-muted); font-size: 0.66rem; }
.architecture-node.accent { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.architecture-line { width: 1px; height: 14px; margin: -3px auto; background: repeating-linear-gradient(#94a3b8 0 3px, transparent 3px 6px); }
.architecture-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 13px; background: #f8fafc; border: 1px solid var(--color-border); border-radius: 10px; }
.architecture-services span { padding: 7px; color: var(--color-muted); background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; text-align: center; }
.architecture-log { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 0.65rem; }
.architecture-log span { display: inline-flex; align-items: center; gap: 7px; color: var(--color-success); }

/* Founders and AI transparency */
.founders { background: #fff; }
.founders-intro { max-width: 790px; margin-bottom: 45px; }
.founders-intro h2 { margin: 10px 0 20px; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.05em; }
.founders-intro > p:not(.eyebrow) { margin: 0 0 11px; color: var(--color-muted); }
.founder-grid { display: grid; gap: 18px; }
.founder-card { overflow: hidden; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: transform 220ms ease, box-shadow 220ms ease; }
.founder-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.founder-info { min-height: 290px; padding: 30px; }
.founder-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 48px; }
.founder-initials { display: grid; width: 54px; height: 54px; place-items: center; color: #fff; background: linear-gradient(135deg, #0f172a, #2563eb); border-radius: 14px; box-shadow: 0 12px 25px rgb(37 99 235 / 0.2); font-size: 0.82rem; font-weight: 750; letter-spacing: -0.03em; transition: transform 250ms ease; }
.founder-card:hover .founder-initials { transform: rotate(-4deg) scale(1.05); }
.founder-status { display: inline-flex; align-items: center; gap: 8px; color: var(--color-muted); font-size: 0.68rem; font-weight: 650; }
.founder-role { margin: 0 0 6px; color: var(--color-accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.founder-info h3 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -0.03em; }
.founder-info > p:last-child { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.ai-transparency { background: #fff; }
.ai-note { display: grid; gap: 20px; padding: 28px; background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.ai-note-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #6d28d9; background: #ede9fe; border-radius: 14px; font-size: 1.25rem; }
.ai-note h2 { margin: 9px 0 12px; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.1; letter-spacing: -0.04em; }
.ai-note-copy > p:not(.eyebrow) { max-width: 880px; margin: 0 0 11px; color: var(--color-muted); font-size: 0.9rem; }
.ai-note-copy .ai-lead { color: var(--color-primary); font-size: 1.05rem; font-weight: 650; }
.ai-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.ai-badges span { padding: 7px 10px; color: #475569; background: #fff; border: 1px solid #dbe3ed; border-radius: 20px; font-size: 0.7rem; font-weight: 650; }
.code-showcase { display: grid; gap: 28px; align-items: center; margin-top: 24px; padding: 28px; color: #fff; background: #0f172a; border: 1px solid #1e293b; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.code-showcase-intro h3 { max-width: 510px; margin: 9px 0 13px; font-size: clamp(1.55rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -0.04em; }
.code-showcase-intro > p:last-child { max-width: 520px; margin: 0; color: #94a3b8; font-size: 0.9rem; }
.code-window { min-width: 0; overflow: hidden; background: #090e1a; border: 1px solid #334155; border-radius: 14px; box-shadow: 0 24px 55px rgb(0 0 0 / 0.32); }
.code-window-bar { display: grid; min-height: 43px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; color: #64748b; background: #111827; border-bottom: 1px solid #1e293b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.65rem; }
.code-dots { display: flex; gap: 5px; }
.code-dots i { width: 7px; height: 7px; background: #475569; border-radius: 50%; }
.code-filename { transition: opacity 160ms ease; }
.code-live { display: inline-flex; align-items: center; justify-self: end; gap: 6px; color: #86efac; }
.code-live i, .code-result i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 9px #22c55e; }
.code-slides { position: relative; min-height: 345px; }
.code-slide { position: absolute; inset: 0; visibility: hidden; padding: 20px; opacity: 0; transform: translateX(18px); transition: opacity 280ms ease, transform 280ms ease, visibility 280ms; }
.code-slide.active { position: relative; visibility: visible; opacity: 1; transform: translateX(0); }
.code-slide-label { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; color: #cbd5e1; font-size: 0.72rem; font-weight: 650; }
.code-slide-label img { width: 18px; height: 18px; filter: invert(1); opacity: 0.85; }
.code-slide pre { min-height: 215px; margin: 0; overflow: auto; color: #dbeafe; font: 0.72rem/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; tab-size: 2; white-space: pre; }
.code-muted { color: #94a3b8; }
.code-green { color: #86efac; }
.code-blue { color: #7dd3fc; }
.code-yellow { color: #fde68a; }
.code-purple { color: #c4b5fd; }
.code-result { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 12px; color: #86efac; border-top: 1px solid #1e293b; font: 0.65rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-controls { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #111827; border-top: 1px solid #1e293b; }
.code-dots-nav { display: flex; gap: 7px; }
.code-dots-nav button { width: 7px; height: 7px; padding: 0; background: #475569; border: 0; border-radius: 50%; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.code-dots-nav button.active { width: 21px; background: #3b82f6; border-radius: 5px; }
.code-arrows { display: flex; gap: 6px; }
.code-arrows button { display: grid; width: 31px; height: 31px; place-items: center; padding: 0; color: #cbd5e1; background: #1e293b; border: 1px solid #334155; border-radius: 7px; cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.code-arrows button:hover { color: #fff; background: #2563eb; transform: translateY(-2px); }
.footer-origin { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: #94a3b8; }
.footer-origin svg { width: 13px; height: 13px; fill: #ef4444; filter: drop-shadow(0 0 5px rgb(239 68 68 / 0.35)); }

/* Footer */
.site-footer { color: #cbd5e1; background: #0b1120; }
.footer-main { display: grid; gap: 35px; padding-block: 55px 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { color: var(--color-primary); background: #fff; }
.footer-brand p { max-width: 470px; margin: 18px 0 0; color: #94a3b8; font-size: 0.88rem; }
.footer-nav { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; font-size: 0.86rem; }
.footer-nav strong { margin-bottom: 5px; color: #fff; }
.footer-nav a, .footer-nav button { padding: 0; color: #94a3b8; background: none; border: 0; font: inherit; cursor: pointer; transition: color var(--transition); }
.footer-nav a:hover, .footer-nav button:hover { color: #fff; }
.klaro .cookie-notice:not(.cookie-modal-notice) { border: 1px solid #334155; box-shadow: 0 24px 60px rgb(2 6 23 / 0.35); }
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body { padding: 18px; }
.klaro .cookie-modal .cm-btn, .klaro .cookie-notice .cm-btn { min-height: 38px; padding: 8px 12px; font-weight: 650; }
.klaro .cookie-modal .cm-modal.cm-klaro { border: 1px solid #334155; }
.klaro .cookie-modal a, .klaro .cookie-notice a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 0.08); color: #64748b; font-size: 0.76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.scale-in { transform: scale(0.97) translateY(12px); }
.reveal.slide-in { transform: translateX(-24px); }
.reveal.slide-in-right { transform: translateX(24px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 620px) {
  .focus-grid, .services-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .operator-cards, .technology-grid, .founder-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-note { grid-template-columns: auto 1fr; padding: 38px; }
  .cta-box { padding: 50px; }
  .footer-main { grid-template-columns: 1.6fr 0.7fr 0.7fr; }
  .footer-bottom { align-items: center; flex-direction: row; justify-content: space-between; }
}

@media (min-width: 800px) {
  .section { padding-block: 112px; }
  .section-sm { padding-block: 76px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-steps li { padding: 76px 28px 0 0; border-top: 1px dashed #cbd5e1; border-left: 0; }
  .process-steps li:last-child { border-color: transparent; }
  .process-steps li:not(:last-child)::after { position: absolute; top: -5px; right: 9px; width: 9px; height: 9px; content: ""; background: #fff; border-top: 1px solid #94a3b8; border-right: 1px solid #94a3b8; transform: rotate(45deg); }
  .step-number { top: 27px; left: 0; }
  .step-icon { top: -22px; left: 43px; background: #fff; }
  .about-grid, .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .operator-intro, .proven-practice { grid-template-columns: 0.9fr 1.1fr; }
  .deployment-flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: center; }
  .deployment-flow > i { display: block; width: 25px; height: 1px; background: repeating-linear-gradient(90deg, #475569 0 3px, transparent 3px 6px); }
  .architecture-flow { grid-template-columns: 1fr 28px 1fr 28px 1fr; align-items: center; }
  .architecture-line { width: 28px; height: 1px; margin: 0; background: repeating-linear-gradient(90deg, #94a3b8 0 3px, transparent 3px 6px); }
  .architecture-node { align-items: flex-start; flex-direction: column; }
  .code-showcase { grid-template-columns: 0.75fr 1.25fr; padding: 40px; }
  .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 60px; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; visibility: visible; max-height: none; align-items: center; flex-direction: row; gap: 27px; overflow: visible; padding: 0; background: transparent; border: 0; opacity: 1; }
  .main-nav > a:not(.button) { padding: 8px 0; }
  .nav-cta { margin: 0 0 0 4px; }
  .hero-grid { grid-template-columns: minmax(460px, 0.95fr) minmax(580px, 1.05fr); gap: 35px; }
  .hero { min-height: 830px; padding-top: calc(var(--header-height) + 95px); }
  .product-visual { margin-right: -120px; }
  .focus-grid { grid-template-columns: repeat(4, 1fr); }
  .operator-cards { grid-template-columns: repeat(4, 1fr); }
  .technology-grid { grid-template-columns: repeat(3, 1fr); }
  .project-main { grid-template-columns: 0.9fr 1.1fr; min-height: 525px; align-items: stretch; }
  .project-copy { display: flex; justify-content: center; flex-direction: column; padding: 60px; }
  .proven-visual { min-width: 0; }
}

@media (max-width: 979px) {
  .product-visual { overflow: hidden; margin-inline: -20px; padding-left: 20px; }
  .browser-window { width: 720px; }
}

@media (max-width: 619px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .hero { padding-top: calc(var(--header-height) + 56px); }
  .hero-grid { gap: 50px; }
  .hero .button { width: 100%; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-visual { transform: scale(0.82); transform-origin: left top; width: 122%; margin-bottom: -65px; }
  .browser-window { min-width: 580px; }
  .floating-one { right: 10px; }
  .floating-two { left: 7px; }
  .project-copy { padding: 35px 24px; }
  .proven-visual { min-height: 280px; padding: 25px; }
  .lightbox { width: calc(100vw - 24px); }
  .lightbox-close { top: 8px; right: 8px; }
  .project-small, .contact-form { padding: 24px; }
  .abstract-portal, .abstract-flow { margin: -24px -24px 24px; }
  .abstract-portal { padding-inline: 25px; }
  .engineering-terminal { align-items: flex-start; flex-direction: column; }
  .terminal-status { margin-left: 0; }
  .deployment-head { align-items: flex-start; flex-direction: column; }
  .architecture-log { align-items: flex-start; flex-direction: column; }
  .footer-origin { display: flex; width: max-content; margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Variables make a future dark theme possible without restructuring components. */
@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] {
    --color-primary: #f8fafc;
    --color-secondary: #cbd5e1;
    --color-muted: #94a3b8;
    --color-bg: #0f172a;
    --color-bg-alt: #111827;
    --color-border: #334155;
  }
}
