/* ==========================================================================
   Websign — engineering-grade corporate theme
   ========================================================================== */
:root {
  /* light (default) */
  --bg: #f6f7fb;
  --bg-2: #eff2f8;
  --surface: #ffffff;
  --surface-2: #f3f5fa;
  --surface-3: #e7ebf3;
  --line: rgba(10, 14, 26, .085);
  --line-2: rgba(10, 14, 26, .14);
  --text: #1a2131;
  --text-2: #394356;
  --muted: #5c6579;
  --dim: #8a92a4;
  --heading: #0a0e1a;
  --accent: #4d6bff;
  --accent-2: #3350e6;
  --accent-3: #2a3fd6;
  --mint: #0c9b6a;
  --amber: #b46a00;
  --violet: #7c5cff;
  --violet-text: #6748d8;
  --fg-rgb: 10, 14, 26;
  --bg-rgb: 246, 247, 251;
  --panel-rgb: 255, 255, 255;
  --scrim: rgba(18, 24, 44, .32);
  --em-grad: linear-gradient(100deg, #2236c8 0%, #4d6bff 50%, #7656ff 100%);
  --visual-base: #edf0f7;
  --ftr-end: #e9ecf3;
  --shadow-rgb: 24, 34, 72;
  --sk: .2;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1240px;
  --gutter: 32px;
  --f-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* dark theme + elements that stay dark in both themes (terminal, code, maps, showcase cards) */
[data-theme="dark"],
.term, .code-win, .mini-win, .macwin, .port-map-wrap, .pc, .serp, .atit-card, .cta-card, .model-card {
  --bg: #07090f;
  --bg-2: #0a0d15;
  --surface: #0f131d;
  --surface-2: #141a27;
  --surface-3: #1b2232;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #e9edf5;
  --text-2: #c3cad8;
  --muted: #8b94a8;
  --dim: #5b6479;
  --heading: #ffffff;
  --accent-2: #93a5ff;
  --mint: #3ddc97;
  --amber: #ffb547;
  --violet: #a78bfa;
  --violet-text: #c4b5fd;
  --fg-rgb: 255, 255, 255;
  --bg-rgb: 7, 9, 15;
  --panel-rgb: 15, 19, 29;
  --scrim: rgba(3, 4, 8, .65);
  --em-grad: linear-gradient(100deg, #c9d2ff 0%, #93a5ff 45%, #7b8dff 100%);
  --visual-base: #0b0e16;
  --ftr-end: #05070b;
  color: var(--text);
}
[data-theme="dark"] { --shadow-rgb: 0, 0, 0; --sk: 1; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd, pre { font-family: var(--f-mono); }
::selection { background: rgba(77, 107, 255, .45); color: var(--heading); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.display {
  font: 600 clamp(2.5rem, 6.1vw, 5.4rem)/1.02 var(--f-display);
  letter-spacing: -.038em; color: var(--heading);
}
.display--md { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.h2 { font: 600 clamp(2rem, 3.9vw, 3.25rem)/1.06 var(--f-display); letter-spacing: -.032em; color: var(--heading); }
.h3 { font: 600 clamp(1.45rem, 2.3vw, 1.95rem)/1.15 var(--f-display); letter-spacing: -.025em; color: var(--heading); }
.display em, .h2 em, .h3 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--em-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .04em;
}
.lead { font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.65; color: var(--text-2); max-width: 62ch; }
.mini-h { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .02em; color: var(--muted); margin-bottom: 22px;
}
.kicker-path { color: var(--accent-2); padding: 6px 10px; border: 1px solid rgba(147, 165, 255, .22); border-radius: 8px; background: rgba(77, 107, 255, .07); }
.kicker-sep { color: var(--dim); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 14px; white-space: nowrap;
  font: 600 15px/1 var(--f-body); letter-spacing: -.005em;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #5d79ff, #3d58f0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(77, 107, 255, .8), 0 0 0 1px rgba(77, 107, 255, .6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 40px -12px rgba(77, 107, 255, .95), 0 0 0 1px rgba(147, 165, 255, .8); }
.btn-ghost { color: var(--text); background: rgba(var(--fg-rgb), .035); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(var(--fg-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .22); }
.btn-sm { --h: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 26px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font: 500 12px/1 var(--f-mono); color: var(--text-2); padding: 7px 10px; border-radius: 8px;
  background: rgba(var(--fg-rgb), .035); border: 1px solid var(--line);
}
.tags--lg span { font-size: 13px; padding: 9px 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .02em; color: var(--mint);
  padding: 6px 10px; border-radius: 999px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .25);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge--soon { color: var(--amber); background: rgba(255, 181, 71, .08); border-color: rgba(255, 181, 71, .28); margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  background: rgba(var(--fg-rgb), .03); border: 1px solid var(--line-2); transition: .2s;
}
.chip .ic { width: 18px; height: 18px; color: var(--accent-2); }
.chip:hover { color: var(--heading); border-color: rgba(147, 165, 255, .45); background: rgba(77, 107, 255, .08); }

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

/* ---------- Spotlight hover ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 107, 255, .14), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

.hdr { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.scrolled, .menu-open .hdr { background: rgba(var(--bg-rgb), .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 6px 16px rgba(77, 107, 255, .45)); }
.logo-word { font: 700 21px/1 var(--f-display); letter-spacing: -.045em; color: var(--heading); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--heading); background: rgba(var(--fg-rgb), .05); }
.nav a.on { color: var(--heading); }
.nav a.on::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-new { position: absolute; top: 7px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cmdk-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: 11px;
  color: var(--muted); font-size: 14px; background: rgba(var(--fg-rgb), .035); box-shadow: inset 0 0 0 1px var(--line); transition: .2s;
}
.cmdk-btn .ic { width: 17px; height: 17px; }
.cmdk-btn:hover { color: var(--heading); box-shadow: inset 0 0 0 1px var(--line-2); }
kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  font: 500 11px/1 var(--f-mono); color: var(--muted); border-radius: 6px; background: rgba(var(--fg-rgb), .06); border: 1px solid var(--line);
}
.lang { display: inline-flex; padding: 3px; border-radius: 11px; background: rgba(var(--fg-rgb), .035); box-shadow: inset 0 0 0 1px var(--line); }
.lang a { padding: 7px 9px; border-radius: 8px; font: 500 12px/1 var(--f-mono); color: var(--muted); transition: .2s; }
.lang a:hover { color: var(--heading); }
.lang a.on { color: var(--heading); background: rgba(77, 107, 255, .22); box-shadow: inset 0 0 0 1px rgba(147, 165, 255, .35); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; padding-top: 76px; background: rgba(var(--bg-rgb), .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav-in { height: 100%; overflow-y: auto; padding: 18px var(--gutter) calc(110px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 600 27px/1.1 var(--f-display); letter-spacing: -.03em; color: var(--text);
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.menu-open .mnav-links a { transform: none; opacity: 1; }
.menu-open .mnav-links a:nth-child(2) { transition-delay: .04s; } .menu-open .mnav-links a:nth-child(3) { transition-delay: .08s; }
.menu-open .mnav-links a:nth-child(4) { transition-delay: .12s; } .menu-open .mnav-links a:nth-child(5) { transition-delay: .16s; }
.menu-open .mnav-links a:nth-child(6) { transition-delay: .2s; }
.mnav-links a .ic { margin-left: auto; color: var(--dim); }
.mnav-links a.on { color: var(--accent-2); }
.mnav-n { font: 500 12px/1 var(--f-mono); color: var(--dim); width: 24px; }
.mnav-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.mnav-foot > a { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); }
.mnav-foot .ic { color: var(--accent-2); }
.lang--lg { align-self: flex-start; }
.lang--lg a { padding: 11px 16px; font-size: 13px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(var(--fg-rgb), .045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--fg-rgb), .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 720px; height: 520px; left: 50%; top: -260px; transform: translateX(-30%); background: radial-gradient(circle, rgba(77, 107, 255, .45), transparent 65%); }
.glow-2 { width: 520px; height: 520px; right: -160px; top: 220px; background: radial-gradient(circle, rgba(167, 139, 250, .22), transparent 65%); }
.glow-3 { width: 520px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(61, 220, 151, .14), transparent 65%); }
.hero-sig { position: absolute; left: 0; right: 0; top: 34%; width: 100%; height: 46%; opacity: .5; }
.hero-sig path {
  fill: none; stroke: url(#none); stroke: rgba(147, 165, 255, .22); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s .3s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; margin-bottom: 30px; border-radius: 999px;
  font-size: 13.5px; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: .25s;
}
.hero-pill:hover { box-shadow: inset 0 0 0 1px rgba(147, 165, 255, .45); background: rgba(77, 107, 255, .08); }
.hero-pill .ic { width: 15px; height: 15px; color: var(--muted); }
.pill-dot { width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15), 0 0 12px var(--mint); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0), 0 0 12px var(--mint); } }
.pill-k { font: 500 11.5px/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pill-v { font-weight: 600; color: var(--heading); }

.display .sig { position: relative; display: inline-block; }
.display .sig svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.display .sig svg path {
  fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s .9s var(--ease) forwards;
  filter: drop-shadow(0 0 8px rgba(77, 107, 255, .7));
}
.hero-lead { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }
.hero-meta .ic { width: 15px; height: 15px; color: var(--mint); }

.hero-stage { position: relative; padding: 30px 0 40px; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(var(--fg-rgb), .02); }
.win-bar i, .macwin-bar i, .mini-bar i, .win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.win-bar i:nth-child(2), .macwin-bar i:nth-child(2), .mini-bar i:nth-child(2), .win-dots i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3), .macwin-bar i:nth-child(3), .mini-bar i:nth-child(3), .win-dots i:nth-child(3) { background: #28c840; }
.win-bar span { margin: 0 auto; padding-right: 50px; font: 500 12px/1 var(--f-mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 26, 39, .92), rgba(10, 13, 21, .96));
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(var(--shadow-rgb), calc(.85 * var(--sk))), 0 0 80px -20px rgba(77, 107, 255, .35);
  backdrop-filter: blur(10px);
}
.term::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(var(--fg-rgb), .05), transparent 30%); }
.term-body { margin: 0; padding: 22px 22px 26px; font-size: 13px; line-height: 1.85; color: var(--text-2); overflow: hidden; white-space: pre; min-height: 300px; }
.tl { display: block; transition: opacity .35s, transform .35s; }
.term.anim .tl { opacity: 0; transform: translateX(-6px); }
.term.anim .tl.show { opacity: 1; transform: none; }
.t-p { color: var(--accent-2); } .t-d { color: var(--dim); } .t-type { color: var(--heading); } .t-ok { color: var(--mint); }
.t-m { color: var(--muted); } .t-g { color: #7d8aa5; } .t-dots { color: #2e3647; }
.t-sig { font-family: var(--f-serif); font-style: italic; font-size: 16px; color: var(--accent-2); }
.cursor { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: var(--accent-2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(var(--panel-rgb), .88); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -18px rgba(var(--shadow-rgb), calc(.8 * var(--sk)));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.float-chip .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--accent-2); background: rgba(77, 107, 255, .14); }
.float-chip span { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; color: var(--heading); white-space: nowrap; }
.float-chip small { font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.chip-1 { left: -36px; bottom: 0; animation: float 7s ease-in-out infinite; }
.chip-2 { right: -18px; top: -6px; animation: float 8s ease-in-out -3s infinite; }
.chip-2 .ic { color: var(--mint); background: rgba(61, 220, 151, .12); }
@keyframes float { 50% { translate: 0 -10px; } }
.hero-platforms {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-platforms span { font: 600 clamp(1.1rem, 2.2vw, 1.7rem)/1 var(--f-display); letter-spacing: -.03em; color: rgba(var(--fg-rgb), .26); transition: color .3s; }
.hero-platforms span:hover { color: var(--heading); }

/* ==========================================================================
   Tech strip
   ========================================================================== */
.tech-strip { padding: 64px 0 26px; }
.tech-label { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.tech {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 14px; white-space: nowrap;
  font: 600 16px/1 var(--f-display); letter-spacing: -.015em; color: var(--text-2);
  background: rgba(var(--fg-rgb), .025); border: 1px solid var(--line);
}
.tech i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: .8; }
.tech:nth-child(3n+2) i { background: var(--mint); } .tech:nth-child(3n) i { background: var(--violet); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 120px 0 0; }
.section--tight { padding-top: 64px; }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 20px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head--row > div:first-child { max-width: 680px; }
.sec-head--row .lead { margin: 0; max-width: 440px; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc-card {
  grid-column: span 3; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.svc-card:hover { border-color: rgba(147, 165, 255, .3); transform: translateY(-3px); }
.svc-card--xl { grid-column: span 12; display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto auto 1fr auto; column-gap: 48px; padding: 38px; }
.svc-card--xl > * { grid-column: 1; }
.svc-card--xl .mini-win { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.svc-card--xl .badge { justify-self: start; }
.svc-card h3 { font: 600 23px/1.2 var(--f-display); letter-spacing: -.025em; color: var(--heading); }
.svc-card--xl h3 { font-size: clamp(26px, 3vw, 34px); }
.svc-card p { color: var(--muted); font-size: 15.5px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-num { font: 500 12.5px/1 var(--f-mono); color: var(--dim); }
.svc-ic { width: 46px; height: 46px; padding: 11px; border-radius: 13px; color: var(--accent-2); background: rgba(77, 107, 255, .1); box-shadow: inset 0 0 0 1px rgba(147, 165, 255, .2); }
.svc-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-2); }
.svc-more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .ic, .proj-mini:hover .svc-more .ic { transform: translateX(4px); }

.mini-win { border-radius: 14px; overflow: hidden; background: #0c1018; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(var(--shadow-rgb), calc(.8 * var(--sk))); }
.mini-bar { display: flex; gap: 6px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.mini-bar i { width: 9px; height: 9px; }
.mini-body { display: grid; grid-template-columns: 26% 1fr; min-height: 230px; }
.mini-side { padding: 14px 12px; border-right: 1px solid var(--line); background: rgba(var(--fg-rgb), .02); display: flex; flex-direction: column; gap: 10px; }
.mini-side b { height: 8px; border-radius: 4px; background: rgba(var(--fg-rgb), .08); }
.mini-side b:first-child { background: rgba(77, 107, 255, .5); width: 80%; }
.mini-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mini-row b { display: block; height: 11px; border-radius: 5px; background: rgba(var(--fg-rgb), .12); }
.mini-row .w60 { width: 60%; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-cards b { height: 46px; border-radius: 9px; background: rgba(var(--fg-rgb), .04); border: 1px solid var(--line); }
.mini-chart { flex: 1; min-height: 90px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(var(--fg-rgb), .015); }
.mini-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent-2), rgba(77, 107, 255, .2)); transform-origin: bottom; }
.in .mini-chart i, .mini-win .mini-chart i { animation: grow 1.4s var(--ease) both; }
.mini-chart i:nth-child(2) { animation-delay: .08s; } .mini-chart i:nth-child(3) { animation-delay: .16s; } .mini-chart i:nth-child(4) { animation-delay: .24s; }
.mini-chart i:nth-child(5) { animation-delay: .32s; } .mini-chart i:nth-child(6) { animation-delay: .4s; } .mini-chart i:nth-child(7) { animation-delay: .48s; }
@keyframes grow { from { transform: scaleY(.1); } }

/* ==========================================================================
   Featured project (Psikiyatri Rehberi)
   ========================================================================== */
.feat-card, .atit-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 64px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 85% 20%, rgba(77, 107, 255, .2), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
}
.feat-grid-bg, .atit-grid-bg, .cta-grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(var(--fg-rgb), .04) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--fg-rgb), .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000, transparent 70%);
}
.feat-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.feat-logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px -10px rgba(31, 111, 255, .55); }
.feat-logo img { width: 44px; height: 44px; }
.feat-logo--lg { width: 84px; height: 84px; border-radius: 22px; }
.feat-logo--lg img { width: 58px; height: 58px; }
.feat-brand a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.feat-brand a .ic { width: 14px; height: 14px; }
.feat-brand a:hover { color: var(--accent-2); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 28px 0 24px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.feat-list .ic { width: 32px; height: 32px; padding: 7px; border-radius: 9px; color: var(--accent-2); background: rgba(77, 107, 255, .1); }
.feat-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 12px; border-radius: 14px;
  color: #fff; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: .2s;
}
.store-btn:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); transform: translateY(-1px); }
.store-btn .ic { width: 22px; height: 22px; }
.store-btn span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.1; }
.store-btn small { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .62); }

.feat-stage { position: relative; height: 600px; }
.feat-stage .device { position: absolute; }
.dv-center { width: 262px; left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.dv-left { width: 214px; left: 2%; top: 84px; transform: rotate(-7deg); z-index: 2; }
.dv-right { width: 214px; right: 2%; top: 84px; transform: rotate(7deg); z-index: 2; }
.dv-left, .dv-right { filter: brightness(.82); transition: filter .4s, transform .6s var(--ease); }
.feat-stage:hover .dv-left { transform: rotate(-9deg) translateX(-10px); filter: none; }
.feat-stage:hover .dv-right { transform: rotate(9deg) translateX(10px); filter: none; }
.stage-tag { position: absolute; bottom: 10px; z-index: 4; font: 500 11.5px/1 var(--f-mono); padding: 7px 10px; border-radius: 8px; background: rgba(var(--panel-rgb), .9); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.tag-ios { left: 10%; } .tag-and { right: 10%; }

/* ---------- Device frames (image slots) ---------- */
.device { position: relative; aspect-ratio: 9 / 19.5; margin: 0; border-radius: 15% / 7%; padding: 3.6%; background: linear-gradient(145deg, #2c3240, #0c0f16 55%, #1d2230); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #05070b, 0 40px 80px -30px rgba(var(--shadow-rgb), calc(.85 * var(--sk))), 0 0 0 1px rgba(var(--shadow-rgb), calc(.6 * var(--sk))); }
.device::before { content: ''; position: absolute; z-index: 5; left: 50%; top: 4.6%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.device--android { border-radius: 11% / 5.2%; }
.device--android::before { width: 4.6%; height: auto; aspect-ratio: 1; top: 3.6%; }
.device-screen { position: absolute; inset: 3.6%; overflow: hidden; border-radius: 12% / 5.6%; background: #f3f6fb; }
.device--android .device-screen { border-radius: 8.4% / 3.9%; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }
.device-ph { position: absolute; inset: 0; padding: 22% 8% 0; display: flex; flex-direction: column; gap: 4.5%; background: linear-gradient(180deg, #f6f9fd, #edf2f9); }
.device-ph i { display: block; }
.ph-top { display: flex; align-items: center; gap: 6%; margin-bottom: 4%; }
.ph-logo { width: 13%; aspect-ratio: 1; border-radius: 28%; background: linear-gradient(135deg, #4d6bff, #2a3fd6); }
.ph-pill { margin-left: auto; width: 22%; aspect-ratio: 2.6; border-radius: 999px; background: #c9d4ee; }
.ph-line { height: 7px; border-radius: 4px; background: #d5ddeb; }
.ph-line.lg { height: 12px; background: #b8c4dc; }
.ph-line.sm { height: 5px; margin-top: 6px; background: #e1e7f1; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.ph-search { height: 9%; max-height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #dfe6f1; margin: 3% 0; }
.ph-card { display: flex; align-items: center; gap: 7%; padding: 6%; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e3e9f3; }
.ph-card > div { flex: 1; }
.ph-sq { width: 18%; aspect-ratio: 1; border-radius: 26%; background: #e4ebfb; flex: none; }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; display: flex; justify-content: space-around; align-items: center; padding: 0 6% 3%; background: #fff; box-shadow: 0 -1px 0 #e3e9f3; }
.ph-tabs i { width: 9%; aspect-ratio: 1; border-radius: 30%; background: #d5ddeb; }
.ph-tabs i:first-child { background: #4d6bff; }

/* ---------- Mac window frame (image slot) ---------- */
.macwin { margin: 0; border-radius: 13px; overflow: hidden; background: #0c1018; box-shadow: 0 0 0 1px rgba(var(--fg-rgb), .14), 0 40px 90px -35px rgba(var(--shadow-rgb), calc(.9 * var(--sk))); }
.macwin-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: linear-gradient(180deg, #232938, #1a1f2b); border-bottom: 1px solid rgba(var(--shadow-rgb), calc(.5 * var(--sk))); }
.macwin-bar i { width: 10px; height: 10px; }
.macwin-bar span { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.macwin-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.macwin-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }
.macwin-ph { position: absolute; inset: 0; display: grid; grid-template-columns: 22% 1fr; background: #0f131c; }
.mph-side { padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; background: rgba(var(--fg-rgb), .025); border-right: 1px solid var(--line); }
.mph-side b { height: 7px; border-radius: 4px; background: rgba(var(--fg-rgb), .08); }
.mph-side b:nth-child(2) { background: rgba(77, 107, 255, .55); width: 75%; }
.mph-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mph-top { display: flex; justify-content: space-between; align-items: center; }
.mph-top .w40 { display: block; height: 10px; border-radius: 5px; background: rgba(var(--fg-rgb), .13); }
.mph-btn { width: 18%; height: 20px; border-radius: 6px; background: rgba(77, 107, 255, .45); }
.mph-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mph-gauges i { aspect-ratio: 1.5; border-radius: 10px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 110%, transparent 38%, rgba(61, 220, 151, .35) 39%, rgba(61, 220, 151, .35) 45%, transparent 46%), rgba(var(--fg-rgb), .02); }
.mph-gauges i:nth-child(2) { background: radial-gradient(circle at 50% 110%, transparent 38%, rgba(147, 165, 255, .4) 39%, rgba(147, 165, 255, .4) 45%, transparent 46%), rgba(var(--fg-rgb), .02); }
.mph-gauges i:nth-child(3) { background: radial-gradient(circle at 50% 110%, transparent 38%, rgba(255, 181, 71, .4) 39%, rgba(255, 181, 71, .4) 45%, transparent 46%), rgba(var(--fg-rgb), .02); }
.mph-rows { display: flex; flex-direction: column; gap: 8px; }
.mph-rows b { height: 18px; border-radius: 6px; background: rgba(var(--fg-rgb), .035); border: 1px solid var(--line); }

/* ==========================================================================
   Projects
   ========================================================================== */
.proj-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proj-mini {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease);
}
.proj-mini:hover { border-color: rgba(147, 165, 255, .3); transform: translateY(-3px); }
.proj-mini:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
.proj-mini:last-child:nth-child(odd) .proj-mini-visual { flex: 1.1; height: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); }
.proj-mini:last-child:nth-child(odd) .proj-mini-copy { flex: 1; justify-content: center; }
.proj-mini-visual {
  position: relative; height: 290px; overflow: hidden; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 26px;
  background: radial-gradient(500px 260px at 50% 0%, rgba(77, 107, 255, .14), transparent 70%), var(--visual-base);
}
.proj-mini-visual .port-map-wrap { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.proj-mini-visual .macwin { width: min(88%, 360px); transition: transform .6s var(--ease); }
.proj-mini:hover .proj-mini-visual .macwin { transform: translateY(-4px) scale(1.01); }
.proj-mini-visual .pc { width: 330px; margin-right: 16%; transform: scale(.78); flex: none; }
.port-float { position: absolute !important; width: 104px; right: 22px; bottom: -70px; z-index: 3; transform: rotate(4deg); transition: transform .6s var(--ease); }
.proj-mini:hover .port-float { transform: rotate(2deg) translateY(-12px); }
.proj-mini-copy { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 30px; flex: 1; }
.proj-mini-copy h3 { font: 600 21px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--heading); }
.proj-mini-copy p { color: var(--muted); font-size: 15px; }
.proj-mini-copy small { display: block; font: 500 11.5px/1.4 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.proj-mini-copy .badge--soon { align-self: flex-start; margin: 0; }
.proj-head { display: flex; align-items: center; gap: 14px; }
.proj-logo {
  position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; overflow: hidden;
  background: linear-gradient(135deg, rgba(77, 107, 255, .25), rgba(42, 63, 214, .12)); box-shadow: inset 0 0 0 1px rgba(147, 165, 255, .28);
}
.proj-logo b { font: 700 20px/1 var(--f-display); color: var(--accent-2); }
.proj-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; z-index: 2; }
.proj .proj-logo { width: 60px; height: 60px; border-radius: 17px; }

.projs { display: flex; flex-direction: column; gap: 22px; }
.proj {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center;
  padding: 56px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.proj:nth-child(even) .proj-visual { order: -1; }
.proj .proj-head { margin-bottom: 18px; }
.proj .lead { margin-bottom: 26px; }
.proj .tags { margin-top: 24px; }
.proj-visual { position: relative; }
.proj--port .proj-visual, .proj--hotel .proj-visual, .proj--fin .proj-visual { padding-bottom: 20px; }

.port-map-wrap { position: relative; border-radius: 18px; overflow: hidden; color: var(--heading); background: radial-gradient(120% 100% at 30% 30%, #0f1d33, #0a1220 60%, #08101c); box-shadow: 0 0 0 1px var(--line-2); }
.port-map { width: 100%; height: 100%; }
.proj-mini-visual .port-map { object-fit: cover; height: 100%; width: 100%; }
.pm-land { fill: #131a26; stroke: rgba(var(--fg-rgb), .1); stroke-width: 1; }
.pm-pier rect { fill: #2a3247; }
.pm-label { font: 500 8.5px var(--f-mono); fill: #6e7a92; letter-spacing: .06em; }
.pm-route { fill: none; stroke: rgba(147, 165, 255, .55); stroke-width: 1.3; stroke-dasharray: 4 5; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.pm-ship path { fill: var(--mint); }
.pm-ship.moving path { fill: var(--accent-2); }
.pm-ship.anchor path { fill: var(--amber); }
.pm-pulse { transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.pm-ship:nth-of-type(2) .pm-pulse { animation-delay: .8s; } .pm-ship:nth-of-type(3) .pm-pulse { animation-delay: 1.6s; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pm-hud rect { fill: rgba(var(--bg-rgb), .82); stroke: rgba(var(--fg-rgb), .12); }
.pm-hud text { font: 600 11px var(--f-mono); fill: #fff; letter-spacing: .04em; }
.pm-hud .pm-hud-sub { font: 500 10px var(--f-body); fill: var(--muted); letter-spacing: 0; }
.pm-live { fill: var(--mint); animation: blink 1.6s steps(1) infinite; }

.port-phones { position: relative; z-index: 2; display: flex; justify-content: center; gap: 4%; margin: -90px 6% 0; }
.port-phones .device { width: 30%; max-width: 168px; }
.port-phones .device:nth-child(2) { transform: translateY(26px); }
.port-phones--2 { margin-top: -70px; }
.port-phones--2 .device { width: 34%; }

.car-wins { position: relative; padding-bottom: 70px; }
.car-wins .macwin:first-child { width: 92%; }
.car-wins .macwin--sm { position: absolute; width: 56%; right: 0; bottom: 0; z-index: 2; }

/* Price / rate comparison illustration */
.pc { position: relative; z-index: 1; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, #161c2a, #10141e); box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(var(--shadow-rgb), calc(.9 * var(--sk))); }
.proj-visual .pc { width: 78%; }
.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pc-hotel { width: 40px; height: 40px; border-radius: 11px; flex: none; background: linear-gradient(135deg, #ffb547, #ff7a59); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pc-globe { background: radial-gradient(circle at 35% 30%, #7cf0c0, #1f9e6e 70%); }
.pc-head b { display: block; font-size: 14px; color: var(--heading); }
.pc-head small { font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.pc ul { display: flex; flex-direction: column; gap: 8px; }
.pc li { display: grid; grid-template-columns: 96px 1fr 58px; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(var(--fg-rgb), .025); border: 1px solid var(--line); }
.pc--rates li { grid-template-columns: 44px 1fr; }
.pc-src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.pc-src i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 600 10.5px/1 var(--f-mono); font-style: normal; color: #fff; background: var(--surface-3); }
.pc--rates .pc-src i { width: 30px; }
.pc-bar { height: 7px; border-radius: 4px; background: rgba(var(--fg-rgb), .05); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(147, 165, 255, .35), var(--accent-2)); }
.pc li b { font: 600 12.5px/1 var(--f-mono); text-align: right; color: var(--text-2); }
.pc li.best { border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .07); }
.pc li.best .pc-bar i { background: linear-gradient(90deg, rgba(61, 220, 151, .4), var(--mint)); }
.pc li.best b, .pc li.best .pc-src { color: var(--mint); }
.pc-best { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--mint); }
.pc-best .ic { width: 16px; height: 16px; }

/* ==========================================================================
   Atit
   ========================================================================== */
.atit-card {
  background: radial-gradient(700px 500px at 80% 50%, rgba(167, 139, 250, .2), transparent 60%), radial-gradient(600px 400px at 10% 100%, rgba(61, 220, 151, .1), transparent 60%), linear-gradient(180deg, #0f1220, #090b13);
  border-color: rgba(167, 139, 250, .25);
}
.atit-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; background: linear-gradient(130deg, rgba(167, 139, 250, .6), transparent 30%, transparent 70%, rgba(77, 107, 255, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.atit .kicker-path, .page-atit .kicker-path { color: var(--violet-text); border-color: rgba(167, 139, 250, .3); background: rgba(167, 139, 250, .08); }
.atit-copy .lead { margin-top: 20px; }
.atit-timeline { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.atit-timeline li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(var(--fg-rgb), .03); border: 1px solid var(--line-2); }
.atit-timeline b { font: 600 14px/1 var(--f-mono); color: var(--heading); }
.atit-timeline span { font-size: 13.5px; color: var(--muted); }
.atit-timeline li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.atit-timeline .done::before { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.atit-timeline .next::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); animation: pulse-v 2s infinite; }
@keyframes pulse-v { 50% { box-shadow: 0 0 0 6px rgba(167, 139, 250, 0), 0 0 10px var(--violet); } }
.atit-links { margin-top: 18px; }

.notify { position: relative; display: flex; gap: 10px; max-width: 480px; flex-wrap: wrap; }
.notify input[type=email] {
  flex: 1; min-width: 200px; height: 50px; padding: 0 16px; border-radius: 14px; font: 500 15px var(--f-body); color: var(--heading);
  background: rgba(var(--fg-rgb), .05); border: 1px solid var(--line-2); outline: 0; transition: .2s;
}
.notify input[type=email]:focus { border-color: rgba(167, 139, 250, .6); box-shadow: 0 0 0 4px rgba(167, 139, 250, .15); }
.notify .form-msg { flex-basis: 100%; }

.atit-visual { position: relative; display: grid; justify-items: center; align-content: start; min-height: 560px; }
.orb { position: absolute; width: 380px; height: 380px; top: 0; left: 50%; transform: translateX(-50%); }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(167, 139, 250, .22); }
.orb-ring.r1 { animation: spin 26s linear infinite; border-top-color: rgba(167, 139, 250, .8); }
.orb-ring.r2 { inset: 46px; border-color: rgba(77, 107, 255, .2); border-right-color: rgba(147, 165, 255, .8); animation: spin 18s linear infinite reverse; }
.orb-ring.r3 { inset: 96px; border-color: rgba(61, 220, 151, .18); border-bottom-color: rgba(61, 220, 151, .7); animation: spin 12s linear infinite; }
.orb-core { position: absolute; inset: 138px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c4b5fd 20%, #6d5dfc 50%, #2a3fd6 75%, transparent 76%); box-shadow: 0 0 80px 20px rgba(109, 93, 252, .45); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 110px 30px rgba(109, 93, 252, .55); } }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-dot { position: absolute; inset: 0; animation: spin 10s linear infinite; }
.orb-dot::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 14px #c4b5fd; }
.orb-dot.d2 { inset: 46px; animation-duration: 14s; animation-direction: reverse; }
.orb-dot.d2::after { background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }
.orb-dot.d3 { inset: 96px; animation-duration: 7s; }
.orb-dot.d3::after { background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.model-card {
  position: relative; z-index: 2; width: min(380px, 100%); margin-top: 262px; padding: 18px; border-radius: 18px;
  background: rgba(13, 15, 26, .86); box-shadow: 0 0 0 1px rgba(167, 139, 250, .3), 0 30px 80px -20px rgba(var(--shadow-rgb), calc(.9 * var(--sk)));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.mc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mc-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font: 700 18px/1 var(--f-display); color: #fff; background: linear-gradient(135deg, #a78bfa, #4d6bff); }
.mc-head b { display: block; font: 600 15px/1.2 var(--f-mono); color: var(--heading); }
.mc-head small { font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.mc-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--f-mono); color: var(--violet-text); padding: 6px 9px; border-radius: 999px; background: rgba(167, 139, 250, .1); border: 1px solid rgba(167, 139, 250, .3); }
.mc-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s steps(1) infinite; }
.mc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.mc-fields dt { font: 500 10.5px/1.3 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.mc-fields dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; color: var(--text); }
.mc-wide { grid-column: 1 / -1; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.mc-wide dd { color: var(--violet-text); }
.mc-versions { display: flex; flex-direction: column; gap: 10px; }
.mc-v { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; font-size: 12px; }
.mc-v span { font: 600 12px/1 var(--f-mono); color: var(--text-2); }
.mc-v em { font-style: normal; font: 500 11px/1 var(--f-mono); color: var(--muted); }
.mc-bar { height: 6px; border-radius: 4px; background: rgba(var(--fg-rgb), .06); overflow: hidden; }
.mc-bar i { display: block; height: 100%; border-radius: inherit; }
.mc-v.done .mc-bar i { width: 100%; background: var(--mint); }
.mc-v.done em { color: var(--mint); }
.mc-v.next .mc-bar i { width: 40%; background: linear-gradient(90deg, transparent, #a78bfa, transparent); animation: indet 1.8s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.page-hero--atit .glow-1 { background: radial-gradient(circle, rgba(167, 139, 250, .4), transparent 65%); }
.atit-hero { display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.atit-hero .model-card { margin-top: 262px; }

.narrow-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.narrow-split .lead { margin-top: 18px; }
.road { position: relative; display: flex; flex-direction: column; gap: 14px; }
.road::before { content: ''; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, var(--mint), #a78bfa, var(--line-2)); }
.road-item { position: relative; display: flex; gap: 22px; padding: 22px 24px 22px 0; }
.road-node { position: relative; flex: none; width: 35px; height: 35px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; }
.road-node::after { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--dim); }
.road-item.done .road-node::after { background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.road-item.next .road-node::after { background: #a78bfa; box-shadow: 0 0 12px #a78bfa; animation: blink 1.6s steps(1) infinite; }
.road-item code { font-size: 12px; color: var(--muted); }
.road-item.done code { color: var(--mint); } .road-item.next code { color: var(--violet-text); }
.road-item h3 { font: 600 24px/1.2 var(--f-display); letter-spacing: -.02em; margin: 6px 0 8px; color: var(--heading); }
.road-item p { color: var(--muted); max-width: 54ch; }

.split-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 52px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
}
.split-card p { color: var(--muted); margin: 14px 0 26px; max-width: 52ch; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); }
.check-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 7px; color: var(--mint); background: rgba(61, 220, 151, .1); margin-top: 1px; }
.split-card .check-list li { padding: 14px 16px; border-radius: 14px; background: rgba(var(--fg-rgb), .025); border: 1px solid var(--line); }

.notify-card {
  position: relative; text-align: center; padding: 72px 40px; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(167, 139, 250, .22), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid rgba(167, 139, 250, .25);
}
.notify-card .lead { margin: 18px auto 30px; }
.notify-card .notify { margin: 0 auto; }

/* ==========================================================================
   Mac spotlight
   ========================================================================== */
.mac-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.mac-copy .lead { margin-top: 20px; }
.feat-rows { display: flex; flex-direction: column; gap: 4px; margin: 30px 0; }
.feat-rows li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feat-rows li:last-child { border-bottom: 0; }
.feat-rows .ic { width: 40px; height: 40px; padding: 10px; border-radius: 11px; color: var(--accent-2); background: rgba(77, 107, 255, .1); }
.feat-rows b { display: block; font-size: 15.5px; color: var(--heading); font-weight: 600; }
.feat-rows span { font-size: 14.5px; color: var(--muted); }
.feat-rows--sm { margin: 0; }
.feat-rows--sm li { padding: 12px 0; }
.feat-rows--sm .ic { width: 36px; height: 36px; padding: 9px; }
.code-win { border-radius: 18px; overflow: hidden; background: #0b0e15; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(var(--shadow-rgb), calc(.55 * var(--sk))), 0 0 90px -30px rgba(77, 107, 255, .28); }
.code-tabs { display: flex; border-bottom: 1px solid var(--line); background: rgba(var(--fg-rgb), .015); overflow: hidden; }
.code-tabs span { padding: 10px 16px; font: 500 12px/1 var(--f-mono); color: var(--dim); border-right: 1px solid var(--line); white-space: nowrap; }
.code-tabs .on { color: var(--text); background: #0b0e15; box-shadow: inset 0 2px 0 var(--accent); }
.code-body { margin: 0; padding: 22px 24px; font-size: 13.2px; line-height: 1.8; color: #cdd5e5; overflow-x: auto; counter-reset: ln; }
.tk-k { color: #ff7ab6; } .tk-t { color: #7cc8ff; } .tk-s { color: #ffb38a; } .tk-f { color: #9be38a; } .tk-a { color: #c792ea; } .tk-n { color: #f5d67b; }
.code-status { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 11.5px/1 var(--f-mono); color: var(--muted); background: rgba(var(--fg-rgb), .015); }
.code-status span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); display: inline-block; }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--violet), var(--mint)); opacity: .5; }
.step { position: relative; padding: 52px 22px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(var(--fg-rgb), .025), transparent); border: 1px solid var(--line); }
.js .step.reveal { transition-delay: calc(var(--i) * .08s); }
.step-node { position: absolute; top: 10px; left: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); box-shadow: 0 0 0 5px var(--bg); }
.step:last-child .step-node { border-color: var(--mint); }
.step-hash { position: absolute; top: 9px; right: 18px; font-size: 11px; color: var(--dim); }
.step h3 { display: flex; align-items: baseline; gap: 10px; font: 600 20px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 10px; }
.step h3 span { font: 500 12px/1 var(--f-mono); color: var(--accent-2); }
.step p { font-size: 14.5px; color: var(--muted); }
.step-time { display: inline-block; margin-top: 16px; font: 500 11.5px/1 var(--f-mono); color: var(--text-2); padding: 6px 9px; border-radius: 7px; background: rgba(var(--fg-rgb), .04); border: 1px solid var(--line); }

/* Stats */
.stats-sec { padding-top: 120px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.stat { padding: 40px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(2.6rem, 4.6vw, 3.9rem)/1 var(--f-display); letter-spacing: -.045em; color: var(--heading); }
.stat span { display: block; margin-top: 10px; font: 500 12.5px/1.3 var(--f-mono); color: var(--accent-2); text-transform: uppercase; letter-spacing: .06em; }
.stat p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Principles */
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pr-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pr-card { padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: border-color .3s; }
.pr-card:hover { border-color: rgba(147, 165, 255, .25); }
.pr-ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: var(--accent-2); background: rgba(77, 107, 255, .1); box-shadow: inset 0 0 0 1px rgba(147, 165, 255, .18); margin-bottom: 22px; }
.pr-card h3 { font: 600 19px/1.25 var(--f-display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 10px; }
.pr-card p { font-size: 14.5px; color: var(--muted); }

/* CTA band */
.cta-band { padding: 120px 0 0; }
.cta-card {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 64px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); border: 1px solid rgba(147, 165, 255, .25);
  background: radial-gradient(700px 400px at 0% 0%, rgba(77, 107, 255, .35), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(167, 139, 250, .18), transparent 60%), linear-gradient(180deg, #10152a, #0a0d18);
}
.cta-grid-bg { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 70%); }
.cta-copy .lead { margin-top: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; height: 58px; font-size: 16px; }
.cta-line { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--fg-rgb), .04); border: 1px solid var(--line-2); transition: .2s; }
.cta-line:hover { background: rgba(var(--fg-rgb), .07); border-color: rgba(var(--fg-rgb), .22); }
.cta-line .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; color: var(--accent-2); background: rgba(77, 107, 255, .12); }
.cta-line span { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; color: var(--heading); }
.cta-line small { font: 500 11px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding: 170px 0 30px; overflow: hidden; }
.page-hero-in { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 24px; }
.page-hero .glow-1 { transform: translateX(-60%); }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }

/* Services page */
.svc-blocks { display: flex; flex-direction: column; gap: 18px; }
.svc-block {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding: 48px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); scroll-margin-top: 100px;
}
.svc-block-head { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; align-self: start; }
.svc-block-head .svc-num { font-size: 13px; }
.svc-block-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.svc-sub { margin-top: 10px; font: 500 13px/1.5 var(--f-mono); color: var(--muted); }
.svc-block-body .lead { margin-bottom: 32px; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.svc-cols .mini-h:not(:first-child) { margin-top: 28px; }
.deliv { display: flex; flex-direction: column; gap: 10px; }
.deliv li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.deliv code { min-width: 74px; font-size: 12px; color: var(--accent-2); padding: 5px 8px; border-radius: 6px; background: rgba(77, 107, 255, .08); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { padding: 34px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.model h3 { font: 600 22px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--heading); margin-bottom: 10px; }
.model p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.faqs { display: flex; flex-direction: column; gap: 10px; }
.faq { border-radius: 16px; background: rgba(var(--fg-rgb), .02); border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.faq[open] { border-color: rgba(147, 165, 255, .28); background: rgba(77, 107, 255, .05); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent-2); transition: transform .3s var(--ease); }
.faq[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* Work page */
.case { padding: 56px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: radial-gradient(900px 500px at 100% 0%, rgba(77, 107, 255, .16), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.case-head { display: flex; gap: 28px; align-items: flex-start; }
.case-k { font: 500 12px/1.4 var(--f-mono); color: var(--mint); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.case-head .lead { margin-top: 14px; }
.case-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.case-meta { display: flex; flex-direction: column; margin: 0; }
.case-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-meta dt { font: 500 12px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.case-meta dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; color: var(--text); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.case-text p { color: var(--text-2); margin-bottom: 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.link-arrow .ic { width: 15px; height: 15px; }
.link-arrow:hover { color: var(--accent-2); }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 56px; }
.gal-item .device { width: 100%; }
.gal-item:nth-child(even) { transform: translateY(36px); }
.gal-item p { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--text-2); }
.gal-item p span { font: 500 10.5px/1 var(--f-mono); color: var(--muted); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); }

.refs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ref { display: flex; flex-direction: column; }
.ref-logo {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden;
  background: rgba(var(--fg-rgb), .022); border: 1px solid var(--line); transition: border-color .3s, background .3s;
}
.ref:hover .ref-logo { border-color: rgba(147, 165, 255, .28); background: rgba(77, 107, 255, .05); }
.ref-logo img { max-width: 68%; max-height: 52%; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; transition: opacity .3s; }
.ref:hover .ref-logo img { opacity: 1; }
.ref--color .ref-logo img { filter: none; opacity: .95; }
.ref-n { position: absolute; top: 9px; left: 11px; font: 500 10px/1 var(--f-mono); color: var(--dim); opacity: .55; }
.ref-desc { min-height: 2.9em; margin-top: 10px; padding: 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sector { display: flex; flex-direction: column; gap: 18px; padding: 24px 20px; border-radius: 18px; background: rgba(var(--fg-rgb), .022); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text); transition: border-color .3s; }
.sector:hover { border-color: rgba(147, 165, 255, .28); }
.sector .ic { width: 26px; height: 26px; color: var(--accent-2); }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story-big { font: 500 clamp(1.6rem, 2.8vw, 2.4rem)/1.25 var(--f-display); letter-spacing: -.025em; color: var(--heading); }
.story-big em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent-2); }
.story-text { display: flex; flex-direction: column; gap: 20px; color: var(--text-2); font-size: 16.5px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-card { padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.mv-card code { font-size: 12px; color: var(--accent-2); }
.mv-card h3 { font: 600 28px/1.2 var(--f-display); letter-spacing: -.025em; color: var(--heading); margin: 16px 0 12px; }
.mv-card p { color: var(--text-2); font-size: 16.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.form-card { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-2); }
.form-card-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(var(--fg-rgb), .02); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; }
.form-card-head code { font-size: 12px; color: var(--dim); }
.cform { padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 9px; }
.field label b { color: var(--accent-2); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 13px; font: 400 15.5px/1.4 var(--f-body); color: var(--heading);
  background: rgba(var(--fg-rgb), .035); border: 1px solid var(--line-2); outline: 0; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(147, 165, 255, .6); box-shadow: 0 0 0 4px rgba(77, 107, 255, .15); background: rgba(77, 107, 255, .04); }
.field .invalid, .invalid { border-color: rgba(255, 107, 107, .7) !important; box-shadow: 0 0 0 4px rgba(255, 107, 107, .12) !important; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select option { background: var(--surface-2); color: var(--heading); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; padding: 10px 14px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--text-2); background: rgba(var(--fg-rgb), .03); border: 1px solid var(--line-2); transition: .2s; }
.pick:hover span { border-color: rgba(var(--fg-rgb), .25); }
.pick input:checked + span { color: var(--heading); border-color: rgba(147, 165, 255, .7); background: rgba(77, 107, 255, .2); }
.pick input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: rgba(var(--fg-rgb), .03); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }
.form-msg { font-size: 14.5px; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--mint); padding: 14px 16px; border-radius: 12px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .25); }
.form-msg.err { color: #ff8b8b; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading .ic { animation: spin 1s linear infinite; }

.cinfo { display: flex; flex-direction: column; gap: 12px; }
.cinfo-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: border-color .25s; }
a.cinfo-item:hover { border-color: rgba(147, 165, 255, .3); }
.cinfo-item .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: var(--accent-2); background: rgba(77, 107, 255, .1); }
.cinfo-item small { display: block; font: 500 11px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.cinfo-item b { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--heading); word-break: break-word; }
.cinfo-item span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.next-steps { padding: 24px; border-radius: 18px; border: 1px dashed var(--line-2); }
.next-steps ol { display: flex; flex-direction: column; gap: 14px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.next-steps li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 600 11.5px/1 var(--f-mono); color: var(--accent-2); background: rgba(77, 107, 255, .12); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { margin-top: 120px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--ftr-end)); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.ftr-brand p { margin: 18px 0 22px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; font: 500 12px/1 var(--f-mono); color: var(--mint); background: rgba(61, 220, 151, .07); border: 1px solid rgba(61, 220, 151, .22); }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2.4s infinite; }
.ftr-col { display: flex; flex-direction: column; gap: 11px; }
.ftr-col h3 { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.ftr-col a { font-size: 15px; color: var(--text-2); transition: color .2s; display: inline-flex; align-items: center; gap: 10px; }
.ftr-col a:hover { color: var(--heading); }
.ftr-contact .ic { width: 17px; height: 17px; color: var(--accent-2); }
.ftr-contact p { display: flex; gap: 10px; font-size: 15px; color: var(--muted); margin-top: 4px; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.statusbar { border-top: 1px solid var(--line); background: var(--ftr-end); }
.statusbar-in { display: flex; gap: 22px; height: 34px; align-items: center; font: 500 11.5px/1 var(--f-mono); color: var(--dim); }
.statusbar-in span { display: inline-flex; align-items: center; gap: 7px; }
.statusbar .dot { width: 6px; height: 6px; }
.sb-r { margin-left: auto; }

.mbar { display: none; }

/* ==========================================================================
   Command palette
   ========================================================================== */
.cmdk { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 14vh 16px 16px; }
.cmdk[hidden] { display: none; }
.cmdk-bg { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
.cmdk-panel {
  position: relative; width: 100%; max-width: 620px; border-radius: 20px; overflow: hidden;
  background: rgba(var(--panel-rgb), .97); box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -20px rgba(var(--shadow-rgb), calc(.9 * var(--sk)));
  animation: pop .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); }
.cmdk-input .ic { color: var(--muted); }
.cmdk-input input { flex: 1; height: 100%; border: 0; outline: 0; background: none; font: 400 17px var(--f-body); color: var(--heading); }
.cmdk-input input::placeholder { color: var(--dim); }
.cmdk-list { max-height: min(52vh, 440px); overflow-y: auto; padding: 8px; }
.cmdk-list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-size: 15px; color: var(--text-2); }
.cmdk-list a .ic { width: 32px; height: 32px; padding: 7px; border-radius: 9px; color: var(--accent-2); background: rgba(77, 107, 255, .1); }
.cmdk-list a em { margin-left: auto; font: 500 11px/1 var(--f-mono); font-style: normal; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.cmdk-list a.sel, .cmdk-list a:hover { background: rgba(77, 107, 255, .14); color: var(--heading); }
.cmdk-empty { padding: 26px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 6px; }
.cmdk-open { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .cmdk-btn span, .cmdk-btn kbd { display: none; }
  .cmdk-btn { width: 40px; padding: 0; justify-content: center; }
  .feat-card, .atit-card { padding: 48px; }
  .refs { grid-template-columns: repeat(5, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .nav, .hdr-actions > .lang, .hdr-cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 130px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-stage { max-width: 640px; }
  .chip-1 { left: -8px; } .chip-2 { right: -6px; }
  .feat-card, .atit-card, .mac-in, .narrow-split, .split-card, .story, .cta-card, .case-body, .svc-block, .proj, .atit-hero { grid-template-columns: minmax(0, 1fr); }
  .proj:nth-child(even) .proj-visual { order: 0; }
  .proj { gap: 40px; padding: 40px; }
  .feat-stage { height: 560px; max-width: 620px; margin: 0 auto; width: 100%; }
  .atit-visual { min-height: 420px; }
  .svc-card { grid-column: span 6; }
  .svc-card--xl { grid-template-columns: 1fr; grid-template-rows: none; }
  .svc-card--xl .mini-win { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .steps::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--violet), var(--mint)); }
  .step { padding: 22px 0 26px; border: 0; background: none; border-bottom: 1px solid var(--line); border-radius: 0; }
  .step-node { left: -34px; top: 26px; }
  .step-hash { top: 26px; right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pr-grid, .pr-grid--4, .models { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(5, 200px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 50px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gal-item { scroll-snap-align: start; }
  .refs { grid-template-columns: repeat(4, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --radius: 18px; --radius-lg: 22px; }
  body { font-size: 15.5px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hdr-in { height: 66px; }
  .mnav { padding-top: 66px; }
  .logo-mark { width: 31px; height: 31px; }
  .logo-word { font-size: 19.5px; }
  .hero { padding: 108px 0 20px; }
  .hero-pill { margin-bottom: 22px; font-size: 12.5px; }
  .pill-k { display: none; }
  .display { font-size: clamp(2.35rem, 10.6vw, 3.3rem); letter-spacing: -.04em; }
  .display--md { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .display br { display: none; }
  .hero-lead { margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 10px 16px; margin-top: 26px; }
  .hero-stage { padding: 26px 0 30px; }
  .term-body { font-size: 10.6px; padding: 16px 14px 18px; min-height: 270px; line-height: 1.8; }
  .t-sig { font-size: 13px; }
  .win-bar span { font-size: 11px; padding-right: 30px; }
  .float-chip { padding: 9px 12px 9px 9px; border-radius: 13px; }
  .float-chip .ic { width: 32px; height: 32px; padding: 7px; }
  .float-chip span { font-size: 12px; }
  .chip-1 { left: -4px; bottom: -6px; } .chip-2 { right: -4px; top: 0; }
  .hero-platforms { margin-top: 36px; padding: 16px 0; overflow-x: auto; gap: 26px; scrollbar-width: none; }
  .hero-platforms span { font-size: 1.15rem; white-space: nowrap; }
  .tech-strip { padding: 48px 0 10px; }
  .tech { padding: 11px 15px; font-size: 14px; }
  .section { padding-top: 84px; }
  .section--tight { padding-top: 48px; }
  .sec-head { margin-bottom: 36px; }
  .bento { gap: 12px; }
  .svc-card { grid-column: span 12; padding: 24px; }
  .svc-card--xl { padding: 24px; }
  .mini-body { min-height: 190px; }
  .feat-card, .atit-card { padding: 28px 20px 24px; gap: 26px; }
  .feat-list { grid-template-columns: 1fr; }
  .feat-cta .btn { flex: 1 1 100%; }
  .store-btn { flex: 1; justify-content: center; }
  .feat-stage { height: 430px; margin: 0 -8px; }
  .dv-center { width: 196px; }
  .dv-left, .dv-right { width: 150px; top: 64px; }
  .dv-left { left: -4%; } .dv-right { right: -4%; }
  .tag-ios { left: 4%; } .tag-and { right: 4%; }
  .proj-minis { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .proj-mini:last-child:nth-child(odd) { flex-direction: column; }
  .proj-mini:last-child:nth-child(odd) .proj-mini-visual { min-height: 0; height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proj-mini-visual { height: 250px; padding: 18px; }
  .proj-mini-copy { padding: 22px 20px 24px; }
  .port-float { width: 86px; right: 14px; bottom: -66px; }
  .proj { padding: 26px 20px; gap: 30px; }
  .port-phones { margin: -50px 2% 0; }
  .port-phones--2 { margin-top: -40px; }
  .proj-visual .pc { width: 100%; }
  .pc { padding: 14px; }
  .pc li { grid-template-columns: 82px 1fr 52px; padding: 8px; gap: 8px; }
  .pc--rates li { grid-template-columns: 40px 1fr; }
  .car-wins { padding-bottom: 46px; }
  .car-wins .macwin:first-child { width: 100%; }
  .macwin-bar { height: 26px; }
  .macwin-bar i { width: 8px; height: 8px; }
  .macwin-bar span { font-size: 10.5px; }
  .atit-visual { min-height: 0; }
  .orb { width: 300px; height: 300px; }
  .orb-ring.r2, .orb-dot.d2 { inset: 36px; } .orb-ring.r3, .orb-dot.d3 { inset: 76px; } .orb-core { inset: 110px; }
  .model-card, .atit-hero .model-card { margin-top: 206px; }
  .notify .btn { flex: 1 1 100%; }
  .code-body { font-size: 11.4px; padding: 16px; }
  .code-status span:last-child { display: none; }
  .stats-sec { padding-top: 84px; }
  .stat { padding: 26px 20px; }
  .pr-grid, .pr-grid--4, .models { grid-template-columns: 1fr; gap: 12px; }
  .pr-card, .model { padding: 24px; }
  .cta-band { padding-top: 84px; }
  .cta-card { padding: 32px 22px; gap: 28px; }
  .page-hero { padding: 120px 0 10px; }
  .chips { margin-top: 26px; gap: 8px; }
  .chip { padding: 10px 13px; font-size: 13.5px; }
  .svc-block { padding: 26px 20px; gap: 22px; }
  .svc-block-head { position: static; }
  .svc-cols { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { padding: 17px 18px; font-size: 15.5px; }
  .faq p { padding: 0 18px 18px; }
  .case { padding: 26px 20px; }
  .case-head { flex-direction: column; gap: 18px; }
  .case-body { gap: 26px; margin-top: 30px; padding-top: 26px; }
  .gallery { grid-template-columns: repeat(5, 170px); gap: 16px; margin-top: 36px; }
  .refs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sector { padding: 18px 16px; font-size: 14px; }
  .mv { grid-template-columns: 1fr; }
  .mv-card { padding: 26px; }
  .split-card { padding: 26px 20px; gap: 26px; }
  .road-item { padding: 16px 0; gap: 16px; }
  .notify-card { padding: 44px 20px; }
  .cform { padding: 22px 18px; gap: 18px; }
  .frow { grid-template-columns: 1fr; gap: 18px; }
  .form-foot .btn { width: 100%; }
  .ftr { margin-top: 84px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding: 52px 0 36px; }
  .ftr-brand, .ftr-contact { grid-column: 1 / -1; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
  .sb-hide { display: none !important; }
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 18px;
    background: rgba(var(--panel-rgb), .9); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -10px rgba(var(--shadow-rgb), calc(.9 * var(--sk)));
    backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    transition: transform .4s var(--ease), opacity .4s;
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 13px; font-size: 14px; font-weight: 600; color: var(--text); background: rgba(var(--fg-rgb), .04); }
  .mbar a .ic { width: 18px; height: 18px; }
  .mbar a:nth-child(2) .ic { color: var(--mint); }
  .mbar .mbar-cta { color: #fff; background: linear-gradient(180deg, #5d79ff, #3d58f0); }
  .menu-open .mbar, .cmdk-open .mbar { transform: translateY(140%); opacity: 0; }
  .cmdk { padding-top: 72px; }
}

@media (max-width: 380px) {
  .term-body { font-size: 9.6px; }
  .feat-stage { height: 390px; }
  .dv-center { width: 176px; }
  .dv-left, .dv-right { width: 132px; }
}

/* ==========================================================================
   Additions: stats in featured, badges, app duos, SERP illustration
   ========================================================================== */
.feat-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 26px 0 4px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgba(var(--fg-rgb), .02); }
.feat-stats div { padding: 14px 20px; border-right: 1px solid var(--line); }
.feat-stats div:last-child { border-right: 0; }
.feat-stats b { display: flex; align-items: center; gap: 8px; font: 600 26px/1 var(--f-display); letter-spacing: -.03em; color: var(--heading); }
.feat-stats span { display: block; margin-top: 6px; font: 500 11px/1.3 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15), 0 0 12px var(--mint); animation: pulse 2.4s infinite; }
.badge--live { margin-bottom: 14px; }
.proj-mini-copy .badge { align-self: flex-start; margin: 0; }

.duo { position: relative; display: flex; justify-content: center; gap: 18px; width: 100%; height: 100%; }
.duo .device { width: 124px; flex: none; margin-top: 30px; transition: transform .6s var(--ease); }
.duo .device:nth-child(2) { margin-top: 70px; }
.proj-mini:hover .duo .device:first-child { transform: translateY(-10px); }
.proj-mini:hover .duo .device:nth-child(2) { transform: translateY(-16px); }
.proj-mini-visual--havvi, .proj-mini-visual--canai { align-items: flex-start; padding-top: 0; }
.proj-mini-visual--havvi { background: radial-gradient(420px 240px at 50% 10%, rgba(61, 220, 151, .2), transparent 70%), var(--visual-base); }
.proj-mini-visual--canai { background: radial-gradient(420px 240px at 50% 10%, rgba(167, 139, 250, .22), transparent 70%), var(--visual-base); }
.trio { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 4%; padding: 34px 4% 10px; border-radius: 22px; background: radial-gradient(500px 300px at 50% 0%, rgba(77, 107, 255, .16), transparent 70%), rgba(var(--fg-rgb), .015); border: 1px solid var(--line); }
.proj--havvi .trio { background: radial-gradient(500px 300px at 50% 0%, rgba(61, 220, 151, .16), transparent 70%), rgba(var(--fg-rgb), .015); }
.proj--canai .trio { background: radial-gradient(500px 300px at 50% 0%, rgba(167, 139, 250, .18), transparent 70%), rgba(var(--fg-rgb), .015); }
.trio .device { width: 30%; max-width: 180px; }
.trio .device:nth-child(2) { margin-top: 36px; }
.proj-stores { margin-top: 18px; justify-content: center; }

.tool-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--dim); }

.serp { grid-column: 1 / -1; margin-top: 34px; padding: 20px; border-radius: 18px; background: #0b0e16; border: 1px solid var(--line-2); max-width: 640px; }
.serp-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border-radius: 999px; background: rgba(var(--fg-rgb), .05); border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text); }
.serp-bar .ic { color: var(--muted); width: 18px; height: 18px; }
.serp-ai { margin-top: 16px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(77, 107, 255, .14), rgba(167, 139, 250, .1)); border: 1px solid rgba(147, 165, 255, .28); }
.serp-ai-h { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-mono); color: #c9d2ff; margin-bottom: 14px; }
.serp-ai-h i { width: 16px; height: 16px; border-radius: 5px; background: conic-gradient(from 90deg, #4d6bff, #a78bfa, #3ddc97, #ffb547, #4d6bff); }
.serp p { display: flex; flex-direction: column; gap: 8px; }
.serp p b { display: block; height: 8px; border-radius: 4px; background: rgba(var(--fg-rgb), .13); }
.serp-src { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.serp-src span { display: inline-flex; align-items: center; gap: 8px; min-width: 70px; height: 32px; padding: 0 12px; border-radius: 10px; background: rgba(var(--fg-rgb), .05); border: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--text-2); }
.serp-src span i { width: 14px; height: 14px; border-radius: 4px; background: rgba(var(--fg-rgb), .15); }
.serp-src .on { color: var(--heading); border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .1); box-shadow: 0 0 0 4px rgba(61, 220, 151, .07); }
.serp-src .on i { background: var(--mint); }
.serp-res { margin-top: 16px; padding: 14px 4px 4px; border-top: 1px solid var(--line); }
.serp-res small { display: block; min-height: 14px; font: 500 12px/1.2 var(--f-mono); color: var(--mint); }
.serp-res > b { display: block; min-height: 20px; margin: 6px 0 10px; font-size: 16px; color: #93a5ff; }
.serp-res.dim { opacity: .45; }
.serp-res.dim small { width: 30%; height: 10px; border-radius: 4px; background: rgba(var(--fg-rgb), .1); }
.serp-res.dim > b { width: 55%; height: 12px; min-height: 0; border-radius: 4px; background: rgba(147, 165, 255, .25); }

@media (max-width: 1024px) {
  .svc-card { grid-column: span 6; }
  .svc-card:last-child:nth-child(even) { grid-column: span 12; }
}
@media (max-width: 760px) {
  .svc-card, .svc-card:last-child:nth-child(even) { grid-column: span 12; }
  .feat-stats { grid-template-columns: repeat(3, 1fr); }
  .feat-stats div { padding: 12px 12px; }
  .feat-stats b { font-size: 20px; }
  .feat-stats span { font-size: 9.5px; }
  .duo .device { width: 104px; }
  .serp { padding: 14px; }
}

/* ==========================================================================
   Theme: light refinements + toggle
   ========================================================================== */
body { background: var(--bg); color: var(--text); }
.theme-btn {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  color: var(--text-2); background: rgba(var(--fg-rgb), .035); box-shadow: inset 0 0 0 1px var(--line); transition: .2s;
}
.theme-btn:hover { color: var(--heading); box-shadow: inset 0 0 0 1px var(--line-2); }
.theme-btn .ic { width: 18px; height: 18px; position: absolute; transition: transform .4s var(--ease), opacity .3s; }
.theme-btn .ic-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .theme-btn .ic-sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-btn .ic-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

:root:not([data-theme="dark"]) .glow { opacity: .6; }
:root:not([data-theme="dark"]) .hero-sig { opacity: .9; }
:root:not([data-theme="dark"]) .logo-mark { filter: drop-shadow(0 6px 14px rgba(77, 107, 255, .3)); }
:root:not([data-theme="dark"]) .svc-card, :root:not([data-theme="dark"]) .pr-card, :root:not([data-theme="dark"]) .proj-mini,
:root:not([data-theme="dark"]) .proj, :root:not([data-theme="dark"]) .svc-block, :root:not([data-theme="dark"]) .model,
:root:not([data-theme="dark"]) .case, :root:not([data-theme="dark"]) .feat-card, :root:not([data-theme="dark"]) .stats,
:root:not([data-theme="dark"]) .form-card, :root:not([data-theme="dark"]) .cinfo-item, :root:not([data-theme="dark"]) .mv-card,
:root:not([data-theme="dark"]) .split-card, :root:not([data-theme="dark"]) .notify-card, :root:not([data-theme="dark"]) .sector,
:root:not([data-theme="dark"]) .step, :root:not([data-theme="dark"]) .faq {
  box-shadow: 0 1px 2px rgba(24, 34, 72, .04), 0 12px 32px -18px rgba(24, 34, 72, .14);
}
:root:not([data-theme="dark"]) .feat-card { background: radial-gradient(900px 500px at 85% 20%, rgba(77, 107, 255, .13), transparent 60%), linear-gradient(180deg, #fff, var(--bg-2)); }
:root:not([data-theme="dark"]) .case { background: radial-gradient(900px 500px at 100% 0%, rgba(77, 107, 255, .1), transparent 60%), linear-gradient(180deg, #fff, var(--bg-2)); }
:root:not([data-theme="dark"]) .tech { background: #fff; }
:root:not([data-theme="dark"]) .hero-platforms span { color: rgba(10, 14, 26, .2); }
:root:not([data-theme="dark"]) .hero-platforms span:hover { color: var(--heading); }
:root:not([data-theme="dark"]) .float-chip { box-shadow: 0 0 0 1px var(--line), 0 20px 50px -20px rgba(24, 34, 72, .35); }
:root:not([data-theme="dark"]) .feat-logo { box-shadow: 0 0 0 1px var(--line), 0 12px 30px -10px rgba(31, 111, 255, .35); }
:root:not([data-theme="dark"]) .ref-logo { background: #fff; }
.ref-logo img { filter: brightness(0); opacity: .62; }
[data-theme="dark"] .ref-logo img { filter: brightness(0) invert(1); opacity: .78; }
.ref--color .ref-logo img { filter: none; opacity: .95; }
:root:not([data-theme="dark"]) .field input, :root:not([data-theme="dark"]) .field textarea, :root:not([data-theme="dark"]) .field select,
:root:not([data-theme="dark"]) .notify-card .notify input[type=email] { background: #fff; }
:root:not([data-theme="dark"]) .pick input:checked + span { color: var(--accent-3); background: rgba(77, 107, 255, .1); }
:root:not([data-theme="dark"]) .lang a.on { color: var(--accent-3); background: rgba(77, 107, 255, .12); }
:root:not([data-theme="dark"]) .proj-logo { background: linear-gradient(135deg, rgba(77, 107, 255, .16), rgba(42, 63, 214, .06)); }
:root:not([data-theme="dark"]) .trio { border-color: var(--line); }
:root:not([data-theme="dark"]) .atit-card, :root:not([data-theme="dark"]) .cta-card { box-shadow: 0 30px 70px -30px rgba(24, 34, 72, .45); }
:root:not([data-theme="dark"]) .term, :root:not([data-theme="dark"]) .code-win { box-shadow: 0 0 0 1px rgba(10, 14, 26, .1), 0 40px 80px -30px rgba(24, 34, 72, .45); }
:root:not([data-theme="dark"]) .orb-ring.r1 { border-color: rgba(124, 92, 255, .25); border-top-color: rgba(124, 92, 255, .8); }
:root:not([data-theme="dark"]) .page-hero--atit .glow-1 { background: radial-gradient(circle, rgba(167, 139, 250, .5), transparent 65%); }

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