/* Oxsora — black and orange theme by default, black and yellow and warm light as alternatives (end of file).
   Tokens first, then layout, then sections in page order. */

:root {
  --bg: #050505;
  --bg-2: #0A0A0A;
  --surface: #0E0E0E;
  --surface-2: #141414;
  --surface-3: #1C1C1C;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .24);
  --text: #F4F1EC;
  --text-2: #A8A39C;
  --text-3: #6E6A64;
  /* Accent: orange by default; the yellow theme swaps these (see the end of the file). */
  --accent: #FF5B1F;
  --accent-2: #FF8A4C;
  --accent-3: #FFB088;
  --accent-deep: #C2410C;
  --accent-hover: #FF7036;
  --accent-rgb: 255, 91, 31;
  --accent-2-rgb: 255, 138, 76;
  --accent-3-rgb: 255, 176, 136;
  --accent-a10: rgba(var(--accent-rgb), .1);
  --accent-a25: rgba(var(--accent-rgb), .25);
  --horizon-1: #2A1006;
  --horizon-2: #0B0604;
  --good: #3DDC97;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --dot: "Doto", "IBM Plex Mono", monospace;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain over everything: keeps the black from looking flat. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #0A0A0A; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #0A0A0A; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }

/* Column lines behind the page, like an engineering drawing. */
.grid-lines { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.grid-lines .wrap { position: relative; height: 100%; }
.grid-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .04); }
.grid-lines i:nth-child(1) { left: var(--gutter); }
.grid-lines i:nth-child(2) { left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .25); }
.grid-lines i:nth-child(3) { left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .5); }
.grid-lines i:nth-child(4) { left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .75); }
.grid-lines i:nth-child(5) { right: var(--gutter); }
main, .footer { position: relative; z-index: 1; }

.mono-label { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.mono-label.quiet { color: var(--text-3); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 500; }
.text-link .i { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.hl {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 45%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: background-color .2s, border-color .2s, box-shadow .3s, transform .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #0A0A0A; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px -12px rgba(var(--accent-rgb), .8); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 40px -10px rgba(var(--accent-rgb), .9); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .06); }

/* Spotlight: a soft orange light and border that follow the pointer. */
.spot, .st { position: relative; isolation: isolate; }
.spot::before, .st::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--accent-rgb), .11), transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.spot::after, .st::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--accent-2-rgb), .75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before, .spot:hover::after, .st:hover::before, .st:hover::after { opacity: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 5, 5, .62);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5, 5, 5, .8); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { color: var(--text); }
.logo { width: 118px; height: auto; }
/* Logo concept: Cross unless ?logo=shift|orbit sets data-logo to compare the three brands. */
.lg-shift, .lg-orbit, [data-logo="shift"] .lg-cross, [data-logo="orbit"] .lg-cross { display: none; }
[data-logo="shift"] .lg-shift, [data-logo="orbit"] .lg-orbit { display: inline; }
.nav { margin-left: 16px; }
.nav ul { display: flex; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-link .i { transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .i { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--line-2); }
.menu-btn .i { width: 22px; height: 22px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-3)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--accent); }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding-bottom: 20px; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease); }
.mega.open { opacity: 1; transform: none; }
.mega-in { display: grid; grid-template-columns: 1fr 300px; gap: 12px; padding: 12px; background: #0D0D0D; border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-list a { display: flex; gap: 14px; padding: 16px; border-radius: 16px; transition: background-color .2s; }
.mega-list a:hover { background: rgba(255, 255, 255, .04); }
.mega-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); flex: none; }
.mega-t { display: block; font-weight: 600; }
.mega-d { display: block; color: var(--text-2); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.mega-feature { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; color: #0A0A0A; background: linear-gradient(140deg, var(--accent-2), var(--accent) 45%, var(--accent-deep)); }
.mega-feature .mono-label { color: rgba(10, 10, 10, .7); }
.mega-feature-t { font: 500 19px/1.3 var(--display); letter-spacing: -.02em; }
.mega-feature .text-link { margin-top: auto; color: #0A0A0A; }

.sheet {
  position: fixed; inset: 0; z-index: 35; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
  opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .35s var(--ease);
}
.sheet.open { opacity: 1; transform: none; }
.sheet-in { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin-inline: auto; }
.sheet-list { display: flex; flex-direction: column; margin-bottom: 10px; }
.sheet-list a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; font: 500 19px/1.3 var(--display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.sheet-list .i { color: var(--accent); }
.sheet-plain a { font: 500 17px/1.3 var(--font); color: var(--text-2); }
body.locked { overflow: hidden; }

/* Hero */
.hero { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 112px); overflow: hidden; text-align: center; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .55) .8px, transparent 1.2px),
    radial-gradient(rgba(255, 255, 255, .3) .8px, transparent 1.2px);
  background-size: 140px 140px, 90px 90px;
  background-position: 0 0, 45px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 75%);
  opacity: .5;
}
.orbits { position: absolute; left: 50%; bottom: 0; width: max(1400px, 115%); height: auto; transform: translateX(-50%); overflow: visible; }
.orbits ellipse { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.orbits .sat { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.horizon {
  position: absolute; left: 50%; top: calc(100% - 210px);
  width: max(1700px, 150vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse 60% 18% at 50% 0%, var(--horizon-1) 0%, var(--horizon-2) 45%, #050505 70%);
  box-shadow:
    0 -1px 0 rgba(var(--accent-3-rgb), .9),
    0 -6px 30px rgba(var(--accent-rgb), .55),
    0 -40px 140px rgba(var(--accent-rgb), .32),
    0 -140px 320px rgba(var(--accent-rgb), .16);
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 10px; margin-bottom: 30px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: 14.5px; color: var(--text); transition: border-color .2s, background-color .2s;
}
.pill:hover { border-color: var(--accent-a25); background: var(--accent-a10); }
.pill .i { width: 16px; height: 16px; color: var(--accent); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-a25), 0 0 12px var(--accent); }

.hero-title {
  font: 600 clamp(2.15rem, .8rem + 5.4vw, 5.6rem)/1.02 var(--display);
  letter-spacing: -.035em; text-wrap: balance;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; }
.js .hero-title .ln > span { animation: rise 1s var(--ease) both; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero-title em {
  font-style: normal;
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 640px; margin-top: 28px; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.js .hero-lead, .js .hero-cta, .js .pill { animation: fadeUp .9s var(--ease) .25s both; }
.js .hero-cta { animation-delay: .35s; }
.js .pill { animation-delay: 0s; }

.hero-cards { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; align-items: end; margin-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); text-align: left; }
.hc {
  padding: 18px; border-radius: 18px;
  background: rgba(14, 14, 14, .76); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.js .hc { animation: fadeUp 1s var(--ease) both; }
.js .hc-chat { animation-delay: .5s; }
.js .hc-agent { animation-delay: .6s; }
.js .hc-mig { animation-delay: .7s; }
.hc-agent { margin-bottom: 28px; border-color: rgba(var(--accent-rgb), .35); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12), 0 30px 80px -30px rgba(var(--accent-rgb), .45); }
.hc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 12.5px/1 var(--mono); color: var(--text-2); }
.hc-head .i { width: 16px; height: 16px; color: var(--accent); }
.hc-tag { margin-left: auto; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; color: var(--text-2); }
.hc-tag-on { color: var(--accent-2); border-color: var(--accent-a25); background: var(--accent-a10); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }
.hc-steps li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.hc-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.hc-steps code { font: 400 11px/1 var(--mono); color: var(--text-3); }
.hc-st { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--good); color: #0A0A0A; }
.hc-st .i { width: 13px; height: 13px; stroke-width: 2.8; }
.hc-wait { background: none; border: 1.5px dashed var(--accent); animation: spin 4s linear infinite; }
.js .hc-steps li { animation: hcStep 9s var(--ease) infinite both; }
.hc-steps li:nth-child(2) { animation-delay: .7s; }
.hc-steps li:nth-child(3) { animation-delay: 1.4s; }
.hc-steps li:nth-child(4) { animation-delay: 2.1s; }
@keyframes hcStep { 0%, 6% { opacity: 0; transform: translateY(5px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hc-q, .hc-a { padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.hc-q { margin-left: 18%; background: var(--surface-3); border-bottom-right-radius: 4px; }
.hc-a { margin-top: 8px; margin-right: 8%; background: var(--accent-a10); border: 1px solid var(--accent-a25); border-bottom-left-radius: 4px; }
.hc-src { display: block; margin-top: 6px; font: 400 11.5px/1.3 var(--mono); color: var(--accent-3); }
.hc-path { display: flex; align-items: center; gap: 10px; font: 500 17px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 16px; }
.hc-path s { color: var(--text-3); text-decoration-color: var(--accent); }
.hc-path .i { width: 18px; height: 18px; color: var(--accent); }
.hc-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hc-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-3)); box-shadow: 0 0 12px var(--accent); }
.js .hc-bar i { animation: bar 7s var(--ease) infinite; }
@keyframes bar { 0% { width: 4%; } 70%, 100% { width: 100%; } }
.hc-meta { display: flex; justify-content: space-between; margin-top: 14px; font: 400 11.5px/1 var(--mono); color: var(--text-2); }
.hc-meta span::before { content: "✓ "; color: var(--good); }

/* Sections */
.section { position: relative; z-index: 1; padding-block: clamp(44px, 5.5vw, 80px); }
.section-tight { padding-block: clamp(28px, 3.5vw, 48px); }
.sh { max-width: 860px; margin-bottom: clamp(28px, 3.8vw, 48px); }
.sh-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sh-n { font: 800 28px/1 var(--dot); color: var(--accent); letter-spacing: .04em; text-shadow: 0 0 16px rgba(var(--accent-rgb), .55); }
.sh-n::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--line-3); }
.sh-t { font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
h2 { font: 500 clamp(1.7rem, .95rem + 2.6vw, 3.25rem)/1.1 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 60ch; font-size: 18px; color: var(--text-2); }
h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.8vw, 36px);
  background: linear-gradient(180deg, #111 0%, #0A0A0A 100%); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .4s var(--ease);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile-ai { grid-column: span 7; grid-row: span 2; }
.tile-mod { grid-column: span 5; grid-row: span 2; }
.tile-web, .tile-host { grid-column: span 6; }
.tile-pos {
  grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: clamp(20px, 3vw, 44px); align-items: center;
  background: radial-gradient(640px 280px at 90% 50%, rgba(var(--accent-rgb), .16), transparent 65%), linear-gradient(180deg, #121212 0%, #0A0A0A 100%);
  border-color: rgba(var(--accent-rgb), .28);
}
.tile-pos-copy { display: flex; flex-direction: column; gap: 14px; }
.tile-pos-brand { display: flex; justify-content: flex-end; }
.pos-emblem-card {
  width: 100%; max-width: 360px; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px;
  background: rgba(14, 14, 14, .82); border: 1px solid var(--line-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pos-emblem-svg { width: 58px; height: 58px; flex: none; color: var(--text); filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .35)); }
.pos-emblem-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pos-wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.pos-oxora-inline { width: 94px; height: auto; color: var(--text); }
.pos-wordmark span { color: var(--accent); }
.pos-emblem-sub { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-n { font: 800 20px/1 var(--dot); color: var(--accent); }
.tile-badge { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--accent-a25); background: var(--accent-a10); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.tile h3 { font: 500 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.15 var(--display); letter-spacing: -.035em; }
.tile p { color: var(--text-2); max-width: 54ch; }
.tile-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tile-link .i { width: 18px; height: 18px; color: var(--accent); transition: transform .25s var(--ease); }
.tile:hover .tile-link .i { transform: translateX(4px); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-row span { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 400 12.5px/1 var(--mono); color: var(--text-2); }

.ai-graph { width: 100%; height: auto; margin: 4px 0 8px; }
.ai-graph .edges path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.ai-graph .pulses path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 16 400; stroke-dashoffset: 20; filter: drop-shadow(0 0 4px var(--accent)); animation: pulse 3s linear infinite; }
.ai-graph .pulses path:nth-child(2) { animation-delay: .4s; }
.ai-graph .pulses path:nth-child(3) { animation-delay: .8s; }
.ai-graph .pulses path:nth-child(4) { animation-delay: 1.5s; }
.ai-graph .pulses path:nth-child(5) { animation-delay: 1.9s; }
@keyframes pulse { 0% { stroke-dashoffset: 20; } 55%, 100% { stroke-dashoffset: -220; } }
.ai-graph .nodes circle { fill: #0A0A0A; stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; }
.ai-graph .core { fill: var(--accent); }
.ai-graph .core-glow { fill: rgba(var(--accent-rgb), .2); transform-origin: 210px 100px; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.25); opacity: .5; } }
.ai-graph .core-t { font: 600 13px var(--display); fill: #0A0A0A; text-anchor: middle; }
.ai-graph .labels text { font: 400 11.5px var(--mono); fill: var(--text-3); }

.cells-wrap { margin-top: 6px; display: flex; flex-direction: column; gap: 14px; }
.cells { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.cells span { aspect-ratio: 1; border-radius: 4px; border: 1px dashed rgba(255, 255, 255, .2); }
.tile-mod.in .cells span.f { animation: cell .5s var(--ease) both; animation-delay: calc(400ms + var(--n) * 50ms); }
.tile-mod.in .cells span.s { animation: cellNow 1.4s var(--ease) calc(400ms + var(--n) * 50ms) infinite alternate both; }
@keyframes cell { to { background: var(--text); border-color: var(--text); border-style: solid; } }
@keyframes cellNow { from { background: var(--accent-a25); border-color: var(--accent); border-style: solid; } to { background: var(--accent); border-color: var(--accent); border-style: solid; box-shadow: 0 0 14px var(--accent); } }
.legend { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-2); }
.legend i { width: 11px; height: 11px; border-radius: 3px; margin-left: 10px; }
.legend i:first-child { margin-left: 0; }
.lg-old { border: 1px dashed rgba(255, 255, 255, .3); }
.lg-new { background: var(--text); }
.lg-now { background: var(--accent); }

/* AI development */
.glow { position: absolute; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 65%); }
.glow-ai { width: 1000px; height: 1000px; right: -380px; top: -260px; }
.ai-grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.how { border-top: 1px solid var(--line); margin-top: 16px; }
.how li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent-a25); background: var(--accent-a10); font: 500 13px/1 var(--mono); color: var(--accent-2); }
.how h3 { font-size: 18.5px; margin-bottom: 4px; }
.how p { color: var(--text-2); font-size: 15.5px; }

.agent {
  position: sticky; top: calc(var(--header-h) + 28px);
  display: flex; flex-direction: column; padding: 14px;
  background: #0C0C0C; border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--accent-rgb), .06);
}
.agent-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.agent-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.agent-tabs button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.agent-tabs button:hover { color: var(--text); }
.agent-tabs button[aria-selected="true"] { background: var(--text); color: #0A0A0A; }
.agent-tag { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); border: 1px dashed var(--line-2); padding: 7px 10px; border-radius: 999px; }
.agent-task { display: flex; flex-direction: column; gap: 6px; margin: 14px 4px 4px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font: 500 16px/1.4 var(--display); letter-spacing: -.02em; }
.agent-steps { display: flex; flex-direction: column; padding: 6px 4px; min-height: 300px; }
.agent-steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--line); font-size: 15px; color: #DDD8D1; animation: fadeUp .35s var(--ease) both; }
.agent-steps .st-mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); }
.agent-steps li.run .st-mark { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.agent-steps li.ok .st-mark { background: var(--good); border-color: var(--good); color: #0A0A0A; }
.agent-steps li.ok .st-mark .i { width: 14px; height: 14px; stroke-width: 2.6; }
.agent-steps li.wait .st-mark { border-color: var(--accent); background: var(--accent-a10); color: var(--accent); }
.agent-steps li.wait .st-mark .i { width: 15px; height: 15px; }
.agent-steps .tool { font: 400 11.5px/1 var(--mono); color: var(--accent-3); background: var(--accent-a10); border: 1px solid var(--accent-a25); padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.agent-result { margin: 4px; padding: 16px; border-radius: 14px; min-height: 80px; background: rgba(61, 220, 151, .07); border: 1px solid rgba(61, 220, 151, .22); font-size: 15px; line-height: 1.5; color: #DDF5E9; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.agent-result.show { opacity: 1; transform: none; }
.agent-result strong { font-weight: 600; color: #fff; }
.agent-replay { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin: 6px; padding: 6px 10px; border-radius: 999px; color: var(--text-2); font-size: 14px; }
.agent-replay:hover { color: var(--text); background: var(--surface-3); }
.agent-replay .i { width: 16px; height: 16px; }

.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.cap { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, #101010, #0A0A0A); border: 1px solid var(--line); }
.cap-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid var(--accent-a25); background: var(--accent-a10); color: var(--accent); }
.cap h3 { font-size: 19px; margin-bottom: 8px; }
.cap p { color: var(--text-2); font-size: 15.5px; }

/* Oxsora POS system */
.section-pos { overflow: hidden; }
.glow-pos { width: 920px; height: 920px; left: -340px; top: -180px; }
.pos-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.pos-top .sh { margin-bottom: 0; }
.pos-lockup {
  display: inline-flex; align-items: center; gap: 11px; padding: 7px 14px 7px 8px; margin-bottom: 20px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
}
.pos-badge-mark {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-a10); border: 1px solid var(--accent-a25); color: var(--text);
}
.pos-badge-mark svg { width: 22px; height: 22px; }
.pos-lockup-oxora { width: 88px; height: auto; color: var(--text); }
.pos-lockup-sep { font: 400 16px/1 var(--mono); color: var(--text-3); }
.pos-lockup-name { font: 700 16px/1 var(--display); letter-spacing: .04em; color: var(--accent); }
.pos-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pos-console {
  position: relative; display: flex; flex-direction: column;
  background: #0B0B0B; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 80px -40px rgba(var(--accent-rgb), .35);
}
.pos-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pos-win-brand { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px/1 var(--mono); color: var(--text-2); }
.pos-win-ico { width: 22px; height: 22px; color: var(--text); }
.pos-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pos-tabs::-webkit-scrollbar { display: none; }
.pos-tabs button { height: 32px; padding: 0 12px; border-radius: 999px; white-space: nowrap; font: 500 12.5px/1 var(--mono); color: var(--text-2); transition: background-color .2s, color .2s; }
.pos-tabs button:hover { color: var(--text); }
.pos-tabs button[aria-selected="true"] { background: var(--text); color: #0A0A0A; }
.pos-subbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font: 400 12.5px/1.3 var(--mono); color: var(--text-2); background: rgba(255, 255, 255, .015); }
.pos-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pos-kpi {
  display: flex; flex-direction: column; gap: 6px; padding: 13px 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line);
  animation: fadeUp .35s var(--ease) both; animation-delay: calc(var(--n) * 60ms);
}
.pos-kpi-val { font: 600 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--text); }
.pos-kpi-delta { font: 400 11.5px/1.2 var(--mono); color: var(--text-3); }
.pos-kpi-delta.good { color: var(--good); }
.pos-kpi-delta.accent { color: var(--accent-2); }
.pos-table-wrap { padding: 12px 16px 8px; }
.pos-table-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; border-bottom: 1px solid var(--line); }
.pos-rows { display: flex; flex-direction: column; min-height: 228px; }
.pos-rows li {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 11px 4px; border-bottom: 1px dashed var(--line); font-size: 14.5px;
  animation: fadeUp .35s var(--ease) both; animation-delay: calc(var(--n) * 65ms);
}
.pos-rows li:last-child { border-bottom: 0; }
.pos-code { font: 500 11.5px/1 var(--mono); color: var(--accent-2); }
.pos-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pos-row-title { font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-row-sub { font: 400 12px/1.3 var(--mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-row-amt { font: 500 13px/1 var(--mono); color: var(--text); white-space: nowrap; }
.pos-badge {
  padding: 5px 9px; border-radius: 999px; font: 500 11px/1 var(--mono); white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface-2);
}
.pos-badge.good { color: var(--good); border-color: rgba(61, 220, 151, .28); background: rgba(61, 220, 151, .08); }
.pos-badge.accent { color: var(--accent-2); border-color: var(--accent-a25); background: var(--accent-a10); }
.pos-copilot {
  display: flex; align-items: center; gap: 12px; margin: 6px 14px 14px; padding: 13px 15px; border-radius: 14px;
  background: var(--accent-a10); border: 1px solid var(--accent-a25); font-size: 14px; line-height: 1.45; color: var(--text);
}
.pos-copilot-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; flex: none;
  background: var(--accent); color: #0A0A0A; font: 600 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
}
.pos-copilot-badge .i { width: 14px; height: 14px; }
.pos-copilot p strong { font-weight: 600; color: var(--accent-3); }

/* Legacy modernization */
.mod-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.mod-top .sh { margin-bottom: 0; }
.kpr { display: flex; flex-direction: column; margin-top: 34px; border-top: 1px solid var(--line); }
.kpr div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kpr dt { font: 500 12.5px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); }
.kpr dd { color: var(--text-2); }

.console { position: relative; background: #0B0B0B; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 80px -40px rgba(var(--accent-rgb), .35); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.console-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-tabs button { height: 32px; padding: 0 11px; border-radius: 999px; white-space: nowrap; font: 500 12.5px/1 var(--mono); color: var(--text-2); transition: background-color .2s, color .2s; }
.console-tabs button span[aria-hidden] { color: var(--accent); margin: 0 2px; }
.console-tabs button:hover { color: var(--text); }
.console-tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font: 500 12px/1 var(--mono); color: var(--text-2); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--text); color: #0A0A0A; }
.console-file { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 0; font: 400 12.5px/1.3 var(--mono); color: var(--text-2); }
.console-state { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.console.is-after .pulse { background: var(--good); box-shadow: 0 0 8px var(--good); }
.console-code { --fs: 12.5px; --gut: 40px; position: relative; height: calc(13 * var(--fs) * 1.75 + 28px); overflow: hidden; }
.console-code pre { margin: 0; height: 100%; padding: 14px 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.console-code code { display: block; font: 400 var(--fs)/1.75 var(--mono); font-variant-ligatures: none; counter-reset: ln; white-space: pre; min-width: max-content; color: #E6E1DA; }
.console-code .line { display: block; padding: 0 18px 0 var(--gut); text-indent: calc(-1 * var(--gut)); transition: background-color .3s; }
.console-code .line::before { counter-increment: ln; content: counter(ln); display: inline-block; width: var(--gut); padding-right: 12px; text-align: right; text-indent: 0; color: #46433F; user-select: none; }
.console-code .line.flag { background: rgba(var(--accent-rgb), .09); }
.console-code .line.flag::before { color: var(--accent); content: "!"; font-weight: 500; }
.console-code .line.hot { background: rgba(var(--accent-rgb), .22); }
.console-code.enter .line { animation: lineIn .5s var(--ease) both; animation-delay: calc(var(--n) * 45ms); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-8px); filter: blur(3px); } }
.scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .14) 70%, rgba(var(--accent-rgb), .8) 98%, transparent); }
.console-code.scanning .scan { animation: scan 1.1s var(--ease) forwards; }
.console-code.scanning code { transition: opacity .3s .7s; opacity: .25; }
@keyframes scan { 0% { top: -30%; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.tk-c { color: #5E5A55; font-style: italic; }
.tk-s { color: #E9CFB4; }
.tk-v { color: var(--accent-3); }
.tk-k { color: var(--accent-2); }
.tk-n { color: #F0C674; }
.tk-f { color: #F4F1EC; }
.tk-t { color: #8FD6C2; }
.tk-tag { color: #7B776F; }
.findings { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 16px; border-top: 1px solid var(--line); min-height: 100px; align-content: flex-start; }
.findings li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 9px; border-radius: 999px; font: 400 12px/1 var(--mono); background: var(--accent-a10); border: 1px solid var(--accent-a25); animation: fadeUp .4s var(--ease) both; animation-delay: calc(var(--n) * 120ms); cursor: default; }
.findings li .i { width: 15px; height: 15px; color: var(--accent); }
.findings li.good { background: rgba(61, 220, 151, .08); border-color: rgba(61, 220, 151, .28); }
.findings li.good .i { color: var(--good); stroke-width: 2.2; }

.finder { margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: linear-gradient(180deg, #101010, #0A0A0A); border: 1px solid var(--line); }
.finder-head { display: flex; flex-direction: column; gap: 16px; }
.finder-q { font: 500 20px/1.3 var(--display); letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background-color .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--line-3); color: var(--text); }
.chips button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: #0A0A0A; }
.finder-result { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.finder-result.swap > * { animation: fadeUp .45s var(--ease) both; }
.finder-result.swap > *:nth-child(2) { animation-delay: .05s; }
.finder-result.swap > *:nth-child(3) { animation-delay: .1s; }
.finder-main { display: flex; flex-direction: column; gap: 14px; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 500 clamp(1.1rem, .9rem + .8vw, 1.5rem)/1.25 var(--display); letter-spacing: -.03em; }
.path-from { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.path .i { width: 22px; height: 22px; color: var(--accent); }
.finder-approach { color: var(--text-2); }
.finder-main .btn { align-self: flex-start; margin-top: 4px; }
.finder-result .mono-label { margin-bottom: 12px; }
.ticks { display: flex; flex-direction: column; gap: 11px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }

.method { margin-top: clamp(44px, 5.5vw, 76px); }
.method-head { margin-bottom: 32px; }
.method-head h3 { margin-top: 12px; font: 500 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.15 var(--display); letter-spacing: -.035em; }
.stepper { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stepper::before, .stepper::after { content: ""; position: absolute; top: 21px; left: 21px; height: 2px; border-radius: 1px; }
.stepper::before { width: 80%; background: var(--line-2); }
.stepper::after { width: calc(80% * var(--p)); background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 10px var(--accent); transition: width .7s var(--ease); }
.stepper button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 16px 8px 0; text-align: left; }
.step-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--bg); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--text-2); transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.step-name { font-size: 17.5px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.step-sum { font-size: 14.5px; color: var(--text-3); }
.stepper button:hover .step-name { color: var(--text); }
.stepper button.done .step-dot { border-color: var(--accent); color: var(--accent); }
.stepper button[aria-selected="true"] .step-dot { background: var(--accent); border-color: var(--accent); color: #0A0A0A; box-shadow: 0 0 0 6px var(--accent-a10), 0 0 24px rgba(var(--accent-rgb), .6); }
.stepper button[aria-selected="true"] .step-name { color: var(--text); }
.step-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 28px; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: linear-gradient(180deg, #101010, #0A0A0A); border: 1px solid var(--line); }
.step-copy h4 { font: 500 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.15 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.step-copy p { color: var(--text-2); }
.step-panel.swap .step-copy { animation: fadeUp .45s var(--ease) both; }
.deliver { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.deliver li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: var(--surface-3); font-size: 14.5px; }
.deliver .i { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.2; }
.step-side { display: flex; flex-direction: column; gap: 10px; }
.traffic-head { display: flex; justify-content: space-between; }
.traffic-bar { display: flex; height: 52px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.traffic-bar span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; transition: flex-basis .8s var(--ease), padding .8s var(--ease); }
.traffic-bar b { font-weight: 500; }
.traffic-bar i { font: 500 13px/1 var(--mono); font-style: normal; }
.t-old { flex: 0 0 100%; color: var(--text-2); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 6px, rgba(255, 255, 255, .07) 6px 12px); }
.t-new { flex: 0 0 0%; color: #0A0A0A; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.traffic-bar span.empty { padding: 0; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.step-nav button:disabled { opacity: .35; pointer-events: none; }

/* Stack explorer */
.stack-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-filters button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background-color .2s, color .2s, border-color .2s; }
.stack-filters button:hover { color: var(--text); border-color: var(--line-3); }
.stack-filters button[aria-pressed="true"] { background: var(--text); color: #0A0A0A; border-color: var(--text); }
.stack-note { margin: 20px 0 24px; min-height: 3.2em; max-width: 70ch; color: var(--text-2); font-size: 15.5px; }
.stack-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.st {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 132px; padding: 18px 8px 14px; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, #0F0F0F, #0A0A0A); border: 1px solid var(--line);
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s, filter .4s;
}
.st-ico { width: 30px; height: 30px; fill: currentColor; color: var(--text-2); transition: color .3s, filter .3s, transform .3s var(--ease); }
.st-glyph { fill: none; stroke: currentColor; stroke-width: 1.6; }
.st-mono { display: grid; place-items: center; height: 30px; padding: 0 7px; border-radius: 6px; border: 1.5px solid currentColor; font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--text-2); transition: color .3s; }
.st-name { font-size: 14px; font-weight: 500; line-height: 1.25; }
.st-cat { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.st:hover .st-ico, .st:hover .st-mono, .st.hit .st-ico, .st.hit .st-mono { color: var(--accent); }
.st:hover .st-ico, .st.hit .st-ico { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .55)); transform: translateY(-2px); }
.st.hit { border-color: var(--accent-a25); }
.st.dim { opacity: .14; transform: scale(.96); filter: grayscale(1); }
.st-legacy { border-style: dashed; border-color: var(--line-2); background: transparent; }
.st-legacy .st-cat { color: var(--accent-2); }

/* Web development */
.web-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.web-grid .sh { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.web-list { border-top: 1px solid var(--line); }
.web-list li { display: grid; grid-template-columns: 56px 1fr 24px; gap: 20px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.web-list li:hover { background: linear-gradient(90deg, var(--accent-a10), transparent 70%); }
.web-n { font: 800 20px/1 var(--dot); color: var(--accent); }
.web-list h3 { font: 500 clamp(1.1rem, 1rem + .5vw, 1.4rem)/1.2 var(--display); letter-spacing: -.03em; margin-bottom: 6px; }
.web-list p { color: var(--text-2); font-size: 15.5px; }
.web-list .i { color: var(--text-3); transition: color .3s, transform .3s var(--ease); }
.web-list li:hover .i { color: var(--accent); transform: translate(2px, -2px); }

/* VPS hosting */
.hosting {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(700px 360px at 0% 0%, rgba(var(--accent-rgb), .14), transparent 60%), #0B0B0B;
}
.hosting-copy { display: flex; flex-direction: column; gap: 14px; color: var(--text-2); }
.host-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 8px; }
.host-points li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--text); }
.host-points .i { color: var(--accent); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.promises li { padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.pr-n { font: 800 20px/1 var(--dot); color: var(--accent); margin-bottom: 10px; }
.promises h3 { font: 500 19px/1.25 var(--display); letter-spacing: -.03em; }
.promises p { color: var(--text-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .sh { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-3); }
.faq summary .i { width: 22px; height: 22px; color: var(--text-3); transition: transform .3s var(--ease), color .3s; }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq-a { padding: 0 48px 26px 0; color: var(--text-2); }

/* Start a project */
.contact {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 5vw, 72px); border-radius: 32px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(900px 480px at 0% 100%, rgba(var(--accent-rgb), .2), transparent 60%), #0A0A0A;
}
.contact::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 20px var(--accent); }
.next { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.next li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; color: var(--text-2); }
.next span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent-a25); font: 500 13px/1 var(--mono); color: var(--accent-2); }
.contact-mail { margin-top: 32px; color: var(--text-2); }
.contact-mail a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.form, .form-done { position: relative; z-index: 1; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #111; border: 1px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #080808; color: var(--text); font-size: 16px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-a25); }
.field.bad input { border-color: #FF6B5B; }
.err { display: none; font-size: 13.5px; color: #FF8A7A; }
.field.bad .err { display: block; }
.select { position: relative; }
.select .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.checks input:checked + span { background: var(--accent); color: #0A0A0A; border-color: var(--accent); }
.checks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.fine { font-size: 13.5px; color: var(--text-3); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; min-height: 440px; }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: var(--accent); color: #0A0A0A; box-shadow: 0 0 30px rgba(var(--accent-rgb), .6); }
.done-ico .i { width: 26px; height: 26px; stroke-width: 2.4; }
.form-done h3 { font: 500 26px/1.2 var(--display); letter-spacing: -.03em; }
.form-done p { color: var(--text-2); max-width: 44ch; }

/* Footer */
.footer { background: #030303; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-line { font: 500 clamp(1.9rem, 1rem + 3vw, 3.6rem)/1.05 var(--display); letter-spacing: -.045em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 48px 0; }
.footer-cols .mono-label { color: var(--text-3); margin-bottom: 16px; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--text-2); transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-mark { width: 100%; height: auto; color: #171717; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--text-3); font-size: 14px; }
.footer-bottom a:hover { color: var(--text); }
.install { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: 14px; }
.install[hidden] { display: none; }
.install .i { width: 16px; height: 16px; color: var(--accent); }

/* Mobile dock and toast */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
  display: none; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 999px;
  background: var(--accent); color: #0A0A0A; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(var(--accent-rgb), .7);
  transform: translateY(150%); transition: transform .4s var(--ease);
}
.dock .i { width: 18px; height: 18px; }
.dock.show { transform: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text); font-size: 14.5px; text-align: center;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1199px) {
  .mod-top, .pos-top { grid-template-columns: minmax(0, 1fr); }
  .console, .pos-console { max-width: 820px; }
  .stack-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .nav, .header-actions > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mega { display: none; }
  .grid-lines i:nth-child(2), .grid-lines i:nth-child(4) { display: none; }
  .hero-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); align-items: stretch; }
  .hero-cards::-webkit-scrollbar { display: none; }
  .hc { scroll-snap-align: start; }
  .hc-agent { order: -1; margin-bottom: 0; }
  .tile-ai, .tile-mod, .tile-pos { grid-column: span 12; grid-row: auto; }
  .tile-pos { grid-template-columns: minmax(0, 1fr); }
  .tile-pos-brand { justify-content: flex-start; }
  .ai-grid, .web-grid, .faq-grid, .contact, .hosting, .step-panel { grid-template-columns: minmax(0, 1fr); }
  .agent, .web-grid .sh, .faq-grid .sh { position: static; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-result { grid-template-columns: 1fr 1fr; }
  .finder-main { grid-column: 1 / -1; }
  .stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock { display: flex; }
  .stepper { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper::before, .stepper::after { display: none; }
  .stepper button { flex: none; flex-direction: row; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; scroll-snap-align: start; }
  .stepper button[aria-selected="true"] { border-color: var(--accent); background: var(--accent-a10); }
  .step-dot { width: 32px; height: 32px; margin: 0; font-size: 12px; }
  .stepper button[aria-selected="true"] .step-dot { box-shadow: none; }
  .step-name { font-size: 15.5px; }
  .step-sum { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo { width: 92px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .lead { font-size: 16.5px; }
  .tile-web, .tile-host { grid-column: span 12; }
  .console, .pos-console { margin-inline: calc(-1 * var(--gutter) + 8px); }
  .pos-kpis { grid-template-columns: minmax(0, 1fr); }
  .pos-rows li { grid-template-columns: 68px minmax(0, 1fr) auto; }
  .pos-row-amt { display: none; }
  .pos-copilot { flex-direction: column; align-items: flex-start; }
  .pos-actions .btn { width: 100%; }
  .console-code { --fs: 12px; --gut: 32px; height: calc(17 * var(--fs) * 1.7 + 28px); }
  .console-code code { line-height: 1.7; white-space: pre-wrap; min-width: 0; word-break: break-word; }
  .console-code .line { padding-right: 12px; }
  .console-code .line::before { padding-right: 9px; }
  .kpr div { grid-template-columns: 1fr; gap: 4px; }
  .caps, .promises { grid-template-columns: minmax(0, 1fr); }
  .finder-result { grid-template-columns: minmax(0, 1fr); }
  .finder-main .btn { width: 100%; }
  .agent { padding: 10px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .agent-tabs { flex-wrap: wrap; }
  .agent-steps li { grid-template-columns: 24px 1fr; }
  .agent-steps .tool { grid-column: 2; justify-self: start; margin-top: -2px; }
  .stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .st { min-height: 112px; padding: 14px 4px 12px; }
  .st-name { font-size: 12.5px; }
  .web-list li { grid-template-columns: 40px 1fr; padding: 22px 4px; }
  .web-list .i { display: none; }
  .host-points { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .contact { margin-inline: calc(-1 * var(--gutter) + 8px); border-radius: 24px; padding: 24px 16px; }
  .hosting { border-radius: 22px; padding: 26px 18px; }
  .faq-a { padding-right: 0; }
}

/* Theme switch */
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.theme-switch button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.theme-switch button:hover { background: rgba(255, 255, 255, .06); }
.theme-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--line-3); }
.theme-switch i { width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); }
.theme-switch [data-theme-set="orange"] { --swatch: #FF5B1F; }
.theme-switch [data-theme-set="yellow"] { --swatch: #FFD000; }
.theme-switch [data-theme-set="light"] { --swatch: #F4F1EC; }
.theme-switch [data-theme-set="light"] i { box-shadow: inset 0 0 0 1.5px rgba(10, 10, 10, .28); }

/* ---------- Yellow theme: black and yellow, square corners, open blocks drawn with lines ---------- */
[data-theme="yellow"] {
  --accent: #FFD000;
  --accent-2: #FFE04D;
  --accent-3: #FFF1A8;
  --accent-deep: #B89400;
  --accent-hover: #FFDC33;
  --accent-rgb: 255, 208, 0;
  --accent-2-rgb: 255, 224, 77;
  --accent-3-rgb: 255, 241, 168;
  --horizon-1: #2A2304;
  --horizon-2: #0B0A03;
  --radius: 0;
}
[data-theme="yellow"] *, [data-theme="yellow"] *::before, [data-theme="yellow"] *::after { border-radius: 0 !important; }
[data-theme="yellow"] .grid-lines i { background: rgba(255, 255, 255, .055); }
[data-theme="yellow"] .orbits { display: none; }

/* No closed cards: each block is marked by a rule above it, with open sides. */
[data-theme="yellow"] :is(.tile, .cap, .finder, .step-panel, .hosting, .contact, .form, .form-done, .agent, .console, .pos-console, .pos-emblem-card, .pos-kpi, .hc, .st) {
  background: none; border: 0; border-top: 1px solid var(--line-3); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; margin-inline: 0;
}
[data-theme="yellow"] :is(.spot, .st)::before, [data-theme="yellow"] :is(.spot, .st)::after { display: none; }
[data-theme="yellow"] :is(.tile, .cap, .st):hover { border-top-color: var(--accent); transform: none; }
[data-theme="yellow"] .bento { gap: 48px 32px; }
[data-theme="yellow"] .tile { padding: 26px 0 0; }
[data-theme="yellow"] .tile-ai { border-top: 2px solid var(--accent); }
[data-theme="yellow"] .caps { gap: 40px 32px; }
[data-theme="yellow"] .cap { padding: 24px 0 0; }
[data-theme="yellow"] .cap-ico { background: none; border-color: var(--accent); }
[data-theme="yellow"] .finder { padding: 28px 0; border-bottom: 1px solid var(--line-3); }
[data-theme="yellow"] .step-panel { padding: 28px 0 0; }
[data-theme="yellow"] .hosting, [data-theme="yellow"] .contact { padding: 44px 0; border-bottom: 1px solid var(--line-3); }
[data-theme="yellow"] .contact { border-top: 0; overflow: visible; }
[data-theme="yellow"] .contact::before { left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: none; }
[data-theme="yellow"] .form, [data-theme="yellow"] .form-done { padding: 0; border-top: 0; }
[data-theme="yellow"] .field :is(input, select, textarea) { padding-inline: 0; border: 0; border-bottom: 1px solid var(--line-3); background: transparent; }
[data-theme="yellow"] .field :is(input, select, textarea):focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
[data-theme="yellow"] .select .i { right: 0; }
[data-theme="yellow"] .host-points li { padding: 14px 0; border: 0; border-top: 1px solid var(--line); }
[data-theme="yellow"] .deliver li { height: auto; padding: 0 16px 0 0; background: none; }

/* Consoles: open panels with underlined tabs. */
[data-theme="yellow"] .agent { padding: 0; }
[data-theme="yellow"] :is(.console, .pos-console) { border-bottom: 1px solid var(--line-3); }
[data-theme="yellow"] :is(.console-bar, .pos-bar) { padding: 0; border-bottom-color: var(--line-2); }
[data-theme="yellow"] :is(.console-file, .pos-subbar, .pos-kpis, .pos-table-wrap) { padding-inline: 0; background: none; }
[data-theme="yellow"] .findings { padding-inline: 0; }
[data-theme="yellow"] :is(.agent-tabs, .console-tabs, .pos-tabs) { gap: 18px; }
[data-theme="yellow"] :is(.agent-tabs, .console-tabs, .pos-tabs) button { height: 46px; padding: 0; background: none; }
[data-theme="yellow"] :is(.agent-tabs, .console-tabs, .pos-tabs) button[aria-selected="true"] { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
[data-theme="yellow"] .pos-copilot { margin: 8px 0 0; padding: 14px 0; background: none; border: 0; border-top: 1px solid var(--accent-a25); }
[data-theme="yellow"] .agent-task { margin: 14px 0 0; padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line); }
[data-theme="yellow"] .agent-steps { padding-inline: 0; }
[data-theme="yellow"] .agent-result { margin: 4px 0 0; padding: 16px 0; background: none; border: 0; border-top: 1px solid rgba(61, 220, 151, .4); }
[data-theme="yellow"] .agent-replay { margin-inline: 0; }

/* Hero cards sit open on the horizon line. */
[data-theme="yellow"] .hc { padding: 16px 0 0; }
[data-theme="yellow"] .hc-agent { border-top: 2px solid var(--accent); }
[data-theme="yellow"] .hc-q, [data-theme="yellow"] .hc-a { margin: 0; padding: 0 0 10px; background: none; border: 0; }
[data-theme="yellow"] .hc-q { color: var(--text-2); border-bottom: 1px dashed var(--line-2); }
[data-theme="yellow"] .hc-a { padding-top: 10px; }

/* Stack: a ledger of logos, each under its own line. */
[data-theme="yellow"] .stack-grid { gap: 0 24px; }
[data-theme="yellow"] .st { align-items: flex-start; text-align: left; min-height: 120px; padding: 18px 0 16px; }
[data-theme="yellow"] .st-legacy { border-top-style: dashed; }

[data-theme="yellow"] .mega-in { border: 0; border-top: 2px solid var(--accent); }
[data-theme="yellow"] .dock { left: 0; right: 0; bottom: 0; height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }

/* ---------- Light theme: warm paper, crisp ink and signal orange ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F1EC;
  --bg-2: #ECE7DF;
  --surface: #FAF8F5;
  --surface-2: #EFECE6;
  --surface-3: #E5E0D7;
  --line: rgba(10, 10, 10, .09);
  --line-2: rgba(10, 10, 10, .15);
  --line-3: rgba(10, 10, 10, .26);
  --text: #0A0A0A;
  --text-2: #4E4A44;
  --text-3: #7A746C;
  --accent: #FF5B1F;
  --accent-2: #D9460F;
  --accent-3: #B23508;
  --accent-deep: #C2410C;
  --accent-hover: #E84E15;
  --accent-rgb: 255, 91, 31;
  --accent-2-rgb: 217, 70, 15;
  --accent-3-rgb: 178, 53, 8;
  --accent-a10: rgba(var(--accent-rgb), .1);
  --accent-a25: rgba(var(--accent-rgb), .26);
  --horizon-1: #FFE1D0;
  --horizon-2: #F8EFE8;
  --good: #109868;
}
[data-theme="light"] body::after { opacity: .035; mix-blend-mode: multiply; }
[data-theme="light"] ::selection { background: var(--accent); color: #FFFFFF; }
[data-theme="light"] .grid-lines i { background: rgba(10, 10, 10, .055); }
[data-theme="light"] .btn-primary { color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 10px 26px -10px rgba(var(--accent-rgb), .55); }
[data-theme="light"] .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 34px -10px rgba(var(--accent-rgb), .65); }
[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, .6); }
[data-theme="light"] .btn-ghost:hover { border-color: var(--line-3); background: rgba(10, 10, 10, .05); }

/* Header & navigation */
[data-theme="light"] .site-header { background: rgba(244, 241, 236, .75); }
[data-theme="light"] .site-header.scrolled { border-color: var(--line); background: rgba(244, 241, 236, .9); }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link[aria-expanded="true"],
[data-theme="light"] .nav-link.active { color: var(--text); background: rgba(10, 10, 10, .06); }
[data-theme="light"] .theme-switch { background: rgba(255, 255, 255, .55); }
[data-theme="light"] .theme-switch button:hover { background: rgba(10, 10, 10, .06); }
[data-theme="light"] .theme-switch button[aria-pressed="true"] { background: #FFFFFF; box-shadow: 0 1px 3px rgba(10, 10, 10, .12), inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .mega-in { background: #FAF8F5; border-color: var(--line-2); box-shadow: 0 32px 64px -24px rgba(10, 10, 10, .18), 0 4px 16px -4px rgba(10, 10, 10, .06); }
[data-theme="light"] .mega-list a:hover { background: rgba(10, 10, 10, .045); }
[data-theme="light"] .mega-ico { background: #FFFFFF; }
[data-theme="light"] .mega-feature { color: #FFFFFF; background: linear-gradient(140deg, #FF7036, var(--accent) 45%, var(--accent-deep)); }
[data-theme="light"] .mega-feature .mono-label { color: rgba(255, 255, 255, .82); }
[data-theme="light"] .mega-feature .text-link { color: #FFFFFF; }

/* Hero */
[data-theme="light"] .stars {
  background-image:
    radial-gradient(rgba(10, 10, 10, .24) .9px, transparent 1.3px),
    radial-gradient(rgba(255, 91, 31, .3) .9px, transparent 1.3px);
  opacity: .55;
}
[data-theme="light"] .orbits ellipse { stroke: rgba(10, 10, 10, .09); }
[data-theme="light"] .horizon {
  background: radial-gradient(ellipse 60% 18% at 50% 0%, var(--horizon-1) 0%, var(--horizon-2) 45%, var(--bg) 70%);
  box-shadow:
    0 -1.5px 0 rgba(var(--accent-rgb), .65),
    0 -8px 32px rgba(var(--accent-rgb), .26),
    0 -40px 140px rgba(var(--accent-rgb), .16),
    0 -140px 320px rgba(var(--accent-rgb), .08);
}
[data-theme="light"] .pill { background: rgba(255, 255, 255, .75); box-shadow: 0 2px 8px rgba(10, 10, 10, .04); }
[data-theme="light"] .pill:hover { border-color: var(--accent-a25); background: var(--accent-a10); }
[data-theme="light"] .hc {
  background: rgba(250, 248, 245, .88); border-color: var(--line-2);
  box-shadow: 0 24px 48px -20px rgba(10, 10, 10, .12), 0 2px 6px rgba(10, 10, 10, .04);
}
[data-theme="light"] .hc-agent {
  border-color: rgba(var(--accent-rgb), .42);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12), 0 28px 60px -24px rgba(var(--accent-rgb), .22);
}
[data-theme="light"] .hc-st { color: #FFFFFF; }
[data-theme="light"] .hc-bar { background: rgba(10, 10, 10, .08); }
[data-theme="light"] .sh-n { text-shadow: 0 0 14px rgba(var(--accent-rgb), .24); }

/* Bento & capabilities */
[data-theme="light"] :is(.tile, .cap, .finder, .step-panel) {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border-color: var(--line-2);
  box-shadow: 0 14px 34px -18px rgba(10, 10, 10, .08);
}
[data-theme="light"] .tile-pos {
  background: radial-gradient(640px 280px at 90% 50%, rgba(var(--accent-rgb), .12), transparent 65%), linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border-color: rgba(var(--accent-rgb), .32);
}
[data-theme="light"] .pos-emblem-card {
  background: #FAF8F5; border-color: var(--line-2);
  box-shadow: 0 18px 36px -20px rgba(10, 10, 10, .12), inset 0 1px 0 #FFFFFF;
}
[data-theme="light"] .pos-lockup { background: rgba(255, 255, 255, .75); box-shadow: 0 2px 8px rgba(10, 10, 10, .04); }
[data-theme="light"] .tile:hover { border-color: var(--line-3); box-shadow: 0 20px 42px -18px rgba(10, 10, 10, .13); }
[data-theme="light"] .ai-graph .edges path { stroke: rgba(10, 10, 10, .15); }
[data-theme="light"] .ai-graph .nodes circle { fill: #FFFFFF; stroke: rgba(10, 10, 10, .45); }
[data-theme="light"] .ai-graph .core-t { fill: #FFFFFF; }
[data-theme="light"] .cells span { border-color: rgba(10, 10, 10, .22); }
[data-theme="light"] .lg-old { border-color: rgba(10, 10, 10, .32); }

/* Consoles: AI agent, POS suite & migration */
[data-theme="light"] .agent {
  background: #FAF8F5; border-color: var(--line-2);
  box-shadow: 0 36px 80px -32px rgba(10, 10, 10, .14), 0 2px 10px rgba(10, 10, 10, .04);
}
[data-theme="light"] .agent-tabs button[aria-selected="true"],
[data-theme="light"] .pos-tabs button[aria-selected="true"],
[data-theme="light"] .seg button[aria-pressed="true"],
[data-theme="light"] .stack-filters button[aria-pressed="true"] { background: var(--text); color: #FAF8F5; }
[data-theme="light"] .agent-steps li { color: var(--text); }
[data-theme="light"] .agent-steps li.ok .st-mark { color: #FFFFFF; }
[data-theme="light"] .agent-result { background: rgba(16, 152, 104, .09); border-color: rgba(16, 152, 104, .28); color: #143A2C; }
[data-theme="light"] .agent-result strong { color: #072218; }
[data-theme="light"] :is(.console, .pos-console) {
  background: #FAF8F5; border-color: var(--line-2);
  box-shadow: 0 36px 80px -32px rgba(10, 10, 10, .14), 0 0 60px -30px rgba(var(--accent-rgb), .18);
}
[data-theme="light"] .pos-subbar { background: rgba(10, 10, 10, .02); }
[data-theme="light"] .pos-kpi { background: #FFFFFF; border-color: var(--line); }
[data-theme="light"] .pos-badge.good { background: rgba(16, 152, 104, .09); border-color: rgba(16, 152, 104, .3); color: #0F4732; }
[data-theme="light"] .pos-copilot-badge { color: #FFFFFF; }
[data-theme="light"] .pos-copilot p strong { color: var(--accent-3); }
[data-theme="light"] .console-code { background: #F2EEE6; border-top: 1px solid var(--line); }
[data-theme="light"] .console-code code { color: #1E1C19; }
[data-theme="light"] .console-code .line::before { color: #9A9389; }
[data-theme="light"] .tk-c { color: #857E74; }
[data-theme="light"] .tk-s { color: #9A480D; }
[data-theme="light"] .tk-v { color: #C23B0A; }
[data-theme="light"] .tk-k { color: #D9460F; font-weight: 500; }
[data-theme="light"] .tk-n { color: #9E6000; }
[data-theme="light"] .tk-f { color: #0A0A0A; font-weight: 500; }
[data-theme="light"] .tk-t { color: #0E7059; }
[data-theme="light"] .tk-tag { color: #6E685F; }
[data-theme="light"] .findings li.good { background: rgba(16, 152, 104, .09); border-color: rgba(16, 152, 104, .3); color: #0F4732; }
[data-theme="light"] .chips button[aria-checked="true"],
[data-theme="light"] .stepper button[aria-selected="true"] .step-dot,
[data-theme="light"] .checks input:checked + span,
[data-theme="light"] .done-ico,
[data-theme="light"] .dock { color: #FFFFFF; }
[data-theme="light"] .t-old { background: repeating-linear-gradient(-45deg, rgba(10, 10, 10, .03) 0 6px, rgba(10, 10, 10, .07) 6px 12px); }
[data-theme="light"] .t-new { color: #FFFFFF; }

/* Stack, hosting, contact & footer */
[data-theme="light"] .st {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  border-color: var(--line-2);
  box-shadow: 0 4px 12px -4px rgba(10, 10, 10, .05);
}
[data-theme="light"] .st-legacy { background: rgba(10, 10, 10, .02); border-color: var(--line-3); }
[data-theme="light"] .hosting {
  background: radial-gradient(700px 360px at 0% 0%, rgba(var(--accent-rgb), .12), transparent 60%), #FAF8F5;
  box-shadow: 0 20px 48px -24px rgba(10, 10, 10, .08);
}
[data-theme="light"] .host-points li { background: rgba(255, 255, 255, .7); border-color: var(--line-2); }
[data-theme="light"] .contact {
  background: radial-gradient(900px 480px at 0% 100%, rgba(var(--accent-rgb), .15), transparent 60%), #FAF8F5;
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, .1);
}
[data-theme="light"] :is(.form, .form-done) {
  background: #FFFFFF; border-color: var(--line-2);
  box-shadow: 0 12px 32px -16px rgba(10, 10, 10, .08);
}
[data-theme="light"] .field :is(input, select, textarea) { background: #F6F3EE; border-color: var(--line-2); }
[data-theme="light"] .field :is(input, select, textarea):focus { background: #FFFFFF; }
[data-theme="light"] .field.bad input { border-color: #D92D20; }
[data-theme="light"] .err { color: #B42318; }
[data-theme="light"] .footer { background: #EAE4DA; border-top-color: var(--line-2); }
[data-theme="light"] .footer-mark { color: #DDD6C9; }
[data-theme="light"] .toast { background: #0A0A0A; color: #F4F1EC; border-color: rgba(255, 255, 255, .15); }

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