/* Spellegrino Key — dark studio theme */
:root {
  --bg: #05060b;
  --bg-2: #0a0d18;
  --bg-3: #0f1324;
  --panel: rgba(17, 22, 42, .62);
  --panel-solid: #0d1122;
  --line: rgba(141, 160, 255, .13);
  --line-2: rgba(141, 160, 255, .24);
  --ink: #f2f4ff;
  --ink-2: #c3c9de;
  --muted: #8d95ae;
  --cobalt: #1d3bff;
  --accent: #3d5cff;
  --accent-2: #7b97ff;
  --glow: rgba(61, 92, 255, .55);
  --cyan: #22d3ee;
  --gold: #ffb21e;
  --ok: #4ee6a6;
  --radius: 22px;
  --max: 1200px;
  --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { /* film grain, very faint */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); }
h2 { font-size: clamp(36px, 4.8vw, 62px); text-wrap: balance; }
h1 { text-wrap: balance; }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; font-weight: 600; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.grad { background: linear-gradient(100deg, #8ea6ff 0%, #c9d3ff 40%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { font-size: clamp(18px, 1.55vw, 20.5px); color: var(--ink-2); max-width: 640px; margin: 0; }
.label { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); display: inline-flex; align-items: center; gap: 10px; }
.label b { color: var(--gold); font-weight: 500; }
.label.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .15), 0 0 14px var(--cyan); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s ease, box-shadow .3s ease, border-color .25s ease, color .25s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, #5070ff, var(--cobalt)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px var(--glow), 0 0 0 1px rgba(123, 151, 255, .5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 44px -10px rgba(61, 92, 255, .85), 0 0 0 1px rgba(160, 180, 255, .7); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(123, 151, 255, .6); background: rgba(61, 92, 255, .1); transform: translateY(-2px); }

/* Header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(5, 6, 11, .55); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(5, 6, 11, .78); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 18.5px; letter-spacing: -.02em; color: var(--ink); }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 14px rgba(61, 92, 255, .55)); }
.brand small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.nav a:not(.btn) { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { height: 42px; padding: 0 20px; font-size: 14.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .25s ease, background .2s; border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Backdrops: grid, aurora, stars */
.space { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora { position: absolute; width: 900px; height: 900px; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aurora.a1 { left: -260px; top: -420px; background: radial-gradient(closest-side, rgba(61, 92, 255, .75), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora.a2 { right: -320px; top: -160px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(34, 211, 238, .35), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora.a3 { left: 30%; bottom: -520px; width: 800px; height: 700px; background: radial-gradient(closest-side, rgba(110, 60, 255, .35), transparent); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-140px, 60px) scale(.92); } }
.gridfloor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(123, 151, 255, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 151, 255, .22) 1px, transparent 1px);
  background-size: 64px 64px; animation: gridmove 6s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%); }
@keyframes gridmove { to { background-position: 0 64px; } }
.gridflat { position: absolute; inset: 0; background-image: linear-gradient(rgba(123, 151, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 151, 255, .07) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); }
.stars { position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 62%, #c9d3ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 44%, #a5f3fc 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 79% 31%, #c9d3ff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 66%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 7% 78%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 86%, #a5f3fc 50%, transparent 51%), radial-gradient(1.5px 1.5px at 94% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 51% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 19% 40%, #c9d3ff 50%, transparent 51%);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { 50% { opacity: .35; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(80px, 10vw, 130px); border-bottom: 1px solid var(--line); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 82px); text-wrap: initial; margin: 26px 0 28px; font-weight: 600; }
.hero h1 .line { display: block; }
.rotator { display: grid; padding: 0 0 .06em; font-size: 1.1em; line-height: 1; }
.rotator > span { grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; background: linear-gradient(100deg, #8ea6ff 0%, #d6deff 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); padding-right: .08em; }
.rotator > span.on { opacity: 1; transform: none; filter: none; }
.rotator > span.out { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--muted); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(255, 178, 30, .7); }

.hero-visual { position: relative; }
.orbit { position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.orbit svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }
.orbit .r2 { animation: spin 50s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.console { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(20, 26, 52, .9), rgba(10, 13, 26, .92)); color: #d7dcf0; border-radius: 22px; padding: 20px 22px 24px; border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 100px -30px rgba(29, 59, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .06); font-family: var(--mono); font-size: 13.5px; line-height: 1.85; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px); }
.console-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3247; }
.console-bar i:first-child { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: auto; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.console .k { color: #8ea6ff; } .console .s { color: #ffcf73; } .console .c { color: #6c7699; } .console .ok { color: var(--ok); } .console .cy { color: var(--cyan); }
.console-line { white-space: pre; overflow: hidden; min-height: 1.85em; }
.console.typing .console-line { visibility: hidden; }
.console.typing .console-line.shown { visibility: visible; }
.console-line.type { animation: typeline var(--dur, .8s) steps(var(--steps, 24), end) both; }
@keyframes typeline { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.console-line.caret::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(13, 17, 34, .85); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px 10px 10px; font-size: 13.5px; font-weight: 700; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; }
.chip-float b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 14px; box-shadow: 0 0 18px var(--glow); }
.chip-a { left: -30px; bottom: -36px; }
.chip-b { right: -16px; top: -40px; animation-delay: -3s; }
.chip-b b { background: var(--gold); color: #1a1200; box-shadow: 0 0 18px rgba(255, 178, 30, .55); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Marquee */
.strip { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.strip::before, .strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.strip::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.strip-track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: marquee 44s linear infinite; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.strip-track span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 100%); }
.section.ruled::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(123, 151, 255, .45), rgba(34, 211, 238, .4), transparent); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 780px; }
.section-head.split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 64px; }
.section-head.split .label, .section-head.split h2 { grid-column: 1; }
.section-head.split .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

/* Glass card + pointer glow */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .35s var(--ease), border-color .3s ease, background .3s ease; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 151, 255, .9), rgba(34, 211, 238, .35) 35%, transparent 65%);
  -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 ease; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 92, 255, .14), transparent 60%); opacity: 0; transition: opacity .35s ease; }
.card:hover::before, .card:hover::after, .card:focus-within::before { opacity: 1; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 28px; min-height: 320px; }
.service:hover { transform: translateY(-4px); }
.service .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.service .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #b9c6ff; background: linear-gradient(160deg, rgba(61, 92, 255, .35), rgba(61, 92, 255, .06)); border: 1px solid rgba(123, 151, 255, .3); box-shadow: 0 0 24px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .1); }
.ico svg { width: 24px; height: 24px; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 3; }
.service p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.service ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { font-family: var(--mono); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.service .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent-2); margin-top: 6px; }
.service .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service:hover .more svg { transform: translateX(4px); }
.service.featured { background: linear-gradient(160deg, rgba(61, 92, 255, .42), rgba(29, 59, 255, .12) 60%, rgba(17, 22, 42, .6)); border-color: rgba(123, 151, 255, .4); }
.service.featured .ico { background: rgba(255, 255, 255, .12); color: #fff; }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.shot { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.shot-stage { position: relative; flex: 1; padding: 28px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 0%, rgba(61, 92, 255, .18), transparent 70%); min-height: 260px; }
.shot-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 18px 24px 20px; border-top: 1px solid var(--line); }
.shot-cap h3 { font-size: 17px; }
.shot-cap p { margin: 0; font-size: 14px; color: var(--muted); flex-basis: 100%; }
.shot-cap .label { font-size: 11px; color: var(--muted); }
.s-phone { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.s-dash { grid-column: 5 / span 8; }
.s-chat { grid-column: 5 / span 8; }
.s-pipe { grid-column: 1 / -1; }
.disclaimer { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }

/* phone mock */
.phone { width: 268px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #2a3150, #0b0e1a 40%, #1b2140); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px var(--glow), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: linear-gradient(180deg, #0f1430, #070912); padding: 38px 16px 14px; display: flex; flex-direction: column; gap: 12px; font-size: 11px; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; }
.ph-status { position: absolute; top: 12px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: #c3c9de; }
.ph-hello { color: var(--muted); font-size: 11px; }
.ph-title { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.ph-card { border-radius: 16px; padding: 12px; background: linear-gradient(150deg, #3d5cff, #1d3bff 60%, #1430c8); color: #fff; box-shadow: 0 10px 30px -10px var(--glow); }
.ph-card small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; opacity: .8; text-transform: uppercase; }
.ph-card strong { display: block; font-size: 14px; margin: 4px 0 8px; }
.ph-card .row { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; opacity: .95; }
.ph-card .pill { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 9px; font-weight: 700; }
.ph-section { display: flex; justify-content: space-between; color: #fff; font-weight: 700; font-size: 11.5px; }
.ph-section span { color: var(--accent-2); font-weight: 600; }
.ph-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.ph-days span { text-align: center; border-radius: 10px; padding: 6px 0; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink-2); line-height: 1.3; font-size: 9px; }
.ph-days span b { display: block; font-size: 12px; color: #fff; }
.ph-days span.sel { background: rgba(34, 211, 238, .15); border-color: rgba(34, 211, 238, .6); }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ph-slots span { text-align: center; padding: 6px 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--ink-2); font-family: var(--mono); font-size: 9.5px; }
.ph-slots span.sel { background: var(--gold); color: #1a1200; font-weight: 700; }
.ph-slots span.off { opacity: .35; text-decoration: line-through; }
.ph-cta { margin-top: auto; text-align: center; padding: 10px; border-radius: 12px; background: #fff; color: #0a0d18; font-weight: 800; font-size: 11.5px; }
.ph-tabs { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--line); }
.ph-tabs i { width: 18px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.ph-tabs i:first-child { background: var(--accent-2); }

/* dashboard mock */
.dash { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: #080b17; overflow: hidden; font-size: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.dash-top .dots { display: flex; gap: 5px; } .dash-top .dots i { width: 8px; height: 8px; border-radius: 50%; background: #262d48; }
.dash-top .tabs { display: flex; gap: 6px; margin-left: 10px; }
.dash-top .tabs span { padding: 3px 9px; border-radius: 6px; }
.dash-top .tabs span.on { background: rgba(61, 92, 255, .2); color: #c9d3ff; }
.dash-top .live { margin-left: auto; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.dash-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 2s steps(1) infinite; }
.dash-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: rgba(255, 255, 255, .02); }
.kpi small { display: block; color: var(--muted); font-size: 10.5px; }
.kpi strong { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin-top: 2px; color: #fff; }
.kpi em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--ok); }
.kpi em.down { color: #ff8a8a; }
.chart { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 6px; background: rgba(255, 255, 255, .015); }
.chart-head { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; color: var(--ink-2); font-size: 11px; margin-bottom: 6px; }
.chart-head .legend { display: flex; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.chart-head .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.chart svg { width: 100%; height: 150px; }
.chart .line-path { stroke-dasharray: 1200; stroke-dashoffset: 0; }
html.js .s-dash.in .line-path { animation: draw 2.2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1200; } }

/* chat mock */
.chat { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: #080b17; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); font-size: 13.5px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.chat-head .av { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 200deg, var(--accent), var(--cyan), var(--accent)); box-shadow: 0 0 14px var(--glow); }
.chat-head small { font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--muted); margin-left: auto; }
.chat-body { display: grid; gap: 12px; padding: 16px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; }
.msg.me { justify-self: end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.msg.ai strong { color: #fff; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cites span { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); color: #a5f3fc; }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 0 16px 16px; padding: 9px 9px 9px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; }
.chat-input span { flex: 1; }
.chat-input b { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 13px; }
.typing-dots { justify-self: start; display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: dot 1.2s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* pipeline mock */
.pipe { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.pipe-col { position: relative; display: grid; gap: 8px; align-content: center; padding: 0 22px; }
.pipe-col h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.node { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(13, 17, 34, .9); font-size: 13px; font-weight: 600; color: var(--ink); }
.node i { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--accent-2); }
.node.c i { background: var(--cyan); } .node.g i { background: var(--gold); } .node.o i { background: var(--ok); }
.node small { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--muted); font-weight: 400; }
.node.hub { border-color: rgba(34, 211, 238, .5); box-shadow: 0 0 30px -8px rgba(34, 211, 238, .5); padding: 14px 12px; }
.flow { position: absolute; top: 50%; height: 2px; width: 44px; margin-top: 10px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, rgba(123, 151, 255, .8) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1s linear infinite; }
.flow.f1 { left: 25%; } .flow.f2 { left: 50%; } .flow.f3 { left: 75%; }
@keyframes flow { to { background-position: 24px 0; } }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--cyan), rgba(255, 178, 30, .7), transparent); opacity: .6; }
.step { position: relative; padding-top: 70px; }
.step .n { position: absolute; top: 0; left: 0; width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px var(--glow); }
.step h3 { margin-bottom: 10px; font-size: 22px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 280px; }
.step .tag { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--gold); letter-spacing: .04em; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry { position: relative; padding: 32px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s ease; overflow: hidden; }
.industry::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.industry:hover { background: rgba(61, 92, 255, .06); }
.industry:hover::after { transform: scaleX(1); }
.industry .label { font-size: 11px; color: var(--muted); }
.industry h3 { margin: 14px 0 10px; font-size: 22px; }
.industry p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.industry ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.industry li { display: flex; gap: 10px; }
.industry li::before { content: "→"; color: var(--accent-2); }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { border-top: 1px solid var(--line); }
.why-item .tick { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 178, 30, .35); background: rgba(255, 178, 30, .08); color: var(--gold); display: grid; place-items: center; }
.why-item .tick svg { width: 18px; height: 18px; }
.why-item h3 { margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.sticky { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }

/* Stack */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stack-col { padding: 26px; }
.stack-col h3 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.stack-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-weight: 600; font-size: 15.5px; }
.stack-col li { display: flex; align-items: center; gap: 10px; }
.stack-col li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* Engagement */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { display: flex; flex-direction: column; gap: 14px; padding: 34px; }
.model .tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.model h3 { font-size: 25px; }
.model p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.model ul { margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; font-size: 14.5px; font-weight: 600; }
.model li { display: flex; gap: 10px; }
.model li::before { content: "→"; color: var(--accent-2); }
.model.hi { background: linear-gradient(170deg, rgba(61, 92, 255, .3), rgba(17, 22, 42, .7) 70%); border-color: rgba(123, 151, 255, .45); box-shadow: 0 30px 80px -40px var(--glow); }
.model.hi .tag { background: var(--gold); border-color: var(--gold); color: #1a1200; font-weight: 700; }
.model.hi li::before { color: var(--gold); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; cursor: pointer; transition: color .2s ease; }
.faq-list summary:hover { color: #c9d3ff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; color: var(--accent-2); transition: transform .3s var(--ease), background .2s ease, color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 18px var(--glow); }
.faq-list details p { margin: 0 0 26px; color: var(--ink-2); max-width: 660px; }
.inline-link { color: var(--accent-2); font-weight: 700; border-bottom: 1px solid rgba(123, 151, 255, .4); transition: border-color .2s ease, color .2s; }
.inline-link:hover { color: #fff; border-color: #fff; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px); border: 1px solid rgba(123, 151, 255, .35); background: radial-gradient(ellipse at 15% 0%, rgba(61, 92, 255, .55), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(34, 211, 238, .25), transparent 55%), #0a0e22; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 72px); }
.cta-band p { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; max-width: 560px; }
.cta-band .acts { display: grid; gap: 12px; justify-items: stretch; }
.cta-band .ring { position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(255, 178, 30, .35); animation: spin 60s linear infinite; pointer-events: none; }
.cta-band .ring::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-points { display: grid; gap: 14px; margin-top: 34px; font-weight: 600; }
.contact-points a, .contact-points span { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); }
.contact-points a:hover { color: #fff; }
.contact-points svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.next { margin-top: 40px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.next ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: n; }
.next li { counter-increment: n; display: flex; gap: 12px; color: var(--ink-2); font-size: 15px; }
.next li::before { content: "0" counter(n); font-family: var(--mono); font-size: 12px; color: var(--accent-2); padding-top: 3px; }
.form { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.form label { display: grid; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; background: rgba(5, 6, 11, .6); font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b97ff' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form select option { background: #0d1122; }
.form input::placeholder, .form textarea::placeholder { color: #6a7290; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(61, 92, 255, .2); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 4px; }
.form .note { margin: 0; font-size: 12.5px; color: var(--muted); }
.form .note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--ok); min-height: 1em; }

/* Footer */
.footer { position: relative; background: var(--bg); padding: 88px 0 34px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--accent-2), var(--cyan), transparent); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer p { margin: 18px 0 0; max-width: 340px; color: var(--muted); }
.footer h4 { margin: 0 0 18px; font-family: var(--mono); font-weight: 500; color: var(--ink-2); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; display: grid; gap: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 30px; font-size: 13.5px; color: #7c84a0; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 22px; }
.company-line { max-width: 760px; line-height: 1.7; }
.wordmark { -webkit-mask-image: linear-gradient(#000 20%, transparent 95%); mask-image: linear-gradient(#000 20%, transparent 95%); margin-top: 56px; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 11.6vw, 164px); line-height: .85; letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(123, 151, 255, .22); user-select: none; text-align: center; }

/* Service pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero > .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #4b5270; }
.crumbs a:hover { color: #fff; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }
.page-hero h1 { font-size: clamp(42px, 6.2vw, 84px); margin: 20px 0 24px; }
.glance { padding: 26px; }
.glance .ico { margin-bottom: 18px; }
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.glance dl > div + div { padding-top: 14px; border-top: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 28px; }
.feature .num { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--accent-2); margin-bottom: 18px; letter-spacing: .08em; }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.deliv { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.deliv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.deliv-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.deliv-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; border: 1px solid rgba(34, 211, 238, .5); background: radial-gradient(circle, var(--cyan) 0 3px, transparent 3.5px); box-shadow: 0 0 12px -2px rgba(34, 211, 238, .6); }
.usecase { padding: 30px; display: grid; gap: 12px; align-content: start; }
.usecase .label { font-size: 11px; }
.usecase h3 { font-size: 22px; }
.usecase p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.chips li:hover { border-color: rgba(123, 151, 255, .6); background: rgba(61, 92, 255, .1); }
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-groups .card { padding: 26px; }
.tech-groups h3 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.other { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.other svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; transition: transform .3s var(--ease); }
.other:hover svg { transform: translateX(4px); }

/* Legal pages */
.legal { position: relative; padding: 72px 0 120px; overflow: hidden; }
.legal .wrap { max-width: 820px; position: relative; z-index: 1; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); margin: 18px 0 14px; }
.legal h2 { font-size: 24px; margin: 46px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { font-family: var(--mono); color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.legal th { color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Reveal (only hidden when JS is running) */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .aurora, .gridfloor, .stars, .orbit svg, .orbit .r2, .strip-track, .chip-float, .flow, .cta-band .ring, .typing-dots i, .dash-top .live::before { animation: none !important; }
  .console-line.type { animation: none; }
  html.js .s-dash.in .line-path { animation: none; }
  .rotator > span { transition: none; filter: none; }
  .card, .btn, .service { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .services, .models, .industries { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .s-phone { grid-column: 1 / span 5; }
  .s-dash, .s-chat { grid-column: 6 / span 7; }
  .dash-body { grid-template-columns: repeat(2, 1fr); }
  .dash-body .kpi:nth-child(3) { display: none; }
  .others { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .tech-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(5, 6, 11, .97); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; height: 52px; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .header { background: #05060b; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line); }
  .menu-open .nav { background: #05060b; box-shadow: 0 30px 60px rgba(0, 0, 0, .7); }
  .menu-btn { display: inline-flex; }
  .hero-grid, .why, .faq, .contact, .page-hero-grid, .deliv, .cta-band { grid-template-columns: 1fr; gap: 48px; }
  .section-head.split { grid-template-columns: 1fr; }
  .section-head.split .lead { grid-column: 1; grid-row: auto; }
  .hero-visual { max-width: 560px; }
  .sticky { position: static; }
  .showcase { grid-template-columns: 1fr; }
  .s-phone, .s-dash, .s-chat, .s-pipe { grid-column: 1; grid-row: auto; }
  .pipe { grid-template-columns: 1fr; gap: 26px; }
  .pipe-col { padding: 0; }
  .flow { display: none; }
  .pipe-col + .pipe-col::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 18px; background: repeating-linear-gradient(180deg, rgba(123, 151, 255, .7) 0 4px, transparent 4px 8px); }
  .dash-body { grid-template-columns: repeat(3, 1fr); }
  .dash-body .kpi:nth-child(3) { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .services, .models, .stack, .steps, .industries, .grid-3, .grid-2, .tech-groups, .deliv-list { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .console { font-size: 11.5px; padding: 16px 16px 50px; }
  .steps { row-gap: 34px; }
  .step { padding: 0 0 0 66px; min-height: 47px; }
  .step p { max-width: none; }
  .console-bar span { display: none; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .chip-a { left: 8px; bottom: -22px; }
  .chip-b { right: 8px; top: -26px; }
  .service { min-height: 0; }
  .shot-stage { padding: 18px; }
  .dash-body { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .dash-body .kpi:nth-child(3) { display: none; }
  .dash-top .tabs span:not(.on) { display: none; }
  .msg { max-width: 92%; }
  .cta-band { border-radius: 24px; }
  .industry { padding: 26px 22px; }
  .faq-list summary { font-size: 17px; }
}
