/* =====================================================================
   TECHNOWARE · AI-led development studio
   Design system "Daylight": white paper, brand red + green, electric accents
   ===================================================================== */

:root {
  --paper:   #ffffff;
  --cloud:   #f4f6fb;
  --cloud-2: #eaeef7;
  --ink:     #0f1222;
  --ink-2:   #232840;
  --muted:   #3d4458;
  --line:    rgba(15,18,34,.08);
  --line-2:  rgba(15,18,34,.14);

  --red:     #e62e2a;   /* brand */
  --green:   #0b7a3b;   /* brand dark green */
  --pink:    #e6007e;   /* brand pink */
  --pink-2:  #ff2d87;
  --crimson: #c8102e;
  --sun:     #f4b400;   /* stars only */
  --c:       var(--red);           /* per-component accent, overridden inline */

  --grad:        linear-gradient(100deg, #0b7a3b 0%, #e62e2a 50%, #ff2d87 100%);
  --grad-green:  linear-gradient(100deg, #0b7a3b 0%, #16a34a 100%);
  --grad-soft:   linear-gradient(135deg, rgba(11,122,59,.10), rgba(230,46,42,.10) 50%, rgba(255,45,135,.10));

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r:    20px;
  --r-sm: 12px;
  --r-lg: 28px;
  --container: 1320px;
  --nav-h: 92px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow:    0 20px 60px -24px rgba(15,18,34,.25);
  --shadow-sm: 0 10px 30px -16px rgba(15,18,34,.2);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; font-weight: 500; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; }
.hl, .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hl-green { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
::selection { background: rgba(255,197,49,.5); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); font-weight: 500; max-width: 640px; }
.section { padding: clamp(48px, 6vw, 72px) 0; position: relative; }
.section.soft { background: var(--cloud); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; font-weight: 500; }
.section-head.center { margin-inline: auto; text-align: center; }

.feature-list span, .usecase span, .proof span, .stat span, .c-card span, .c-card a, .mega-item em, .t-card .who span, .chat-head small { font-weight: 500; }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

/* ---------- AI animation primitives ---------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ai-border { position: relative; isolation: isolate; }
.ai-border::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; z-index: -1; background: conic-gradient(from var(--ang), #0b7a3b, #e62e2a, #ff2d87, #0b7a3b); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: angSpin 4s linear infinite; }
@keyframes angSpin { to { --ang: 360deg; } }
.datastream { height: 3px; margin: 0; background: repeating-linear-gradient(90deg, var(--green) 0 18px, transparent 18px 30px, var(--red) 30px 48px, transparent 48px 60px, var(--pink-2) 60px 78px, transparent 78px 96px); background-size: 96px 3px; animation: stream 1.4s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
@keyframes stream { to { background-position: 96px 0; } }
.caret { display: inline-block; width: 4px; height: .85em; margin-left: 6px; vertical-align: -.08em; background: var(--pink); border-radius: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scan { animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(336px); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; position: relative; overflow: hidden; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; will-change: transform; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(15,18,34,.6); }
.btn-ink::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; }
.btn-ink > * { position: relative; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(124,58,237,.6); }
.btn-ink:hover::before { opacity: 1; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); }
.btn-glass { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.pill .dot, .status .dot, .chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); display: inline-block; animation: pulse 2s infinite; }
.pill-light { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); --c: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Mesh background ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh i { position: absolute; border-radius: 50%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; opacity: .55; animation: float 22s ease-in-out infinite alternate; will-change: transform; }
.mesh i:nth-child(1) { left: -20vw; top: -25vw; background: radial-gradient(circle, rgba(230,46,42,.45) 0%, rgba(230,46,42,.14) 35%, transparent 65%); }
.mesh i:nth-child(2) { right: -18vw; top: -15vw; background: radial-gradient(circle, rgba(230,0,126,.42) 0%, rgba(255,45,135,.14) 35%, transparent 65%); animation-duration: 26s; animation-direction: alternate-reverse; }
.mesh i:nth-child(3) { left: 25vw; bottom: -40vw; background: radial-gradient(circle, rgba(11,122,59,.42) 0%, rgba(11,122,59,.14) 35%, transparent 65%); animation-duration: 30s; }
.mesh i:nth-child(4) { right: 10vw; bottom: -30vw; background: radial-gradient(circle, rgba(255,45,135,.35) 0%, rgba(230,46,42,.12) 35%, transparent 65%); animation-duration: 24s; animation-direction: alternate-reverse; }
.mesh-soft i { opacity: .3; }
@keyframes float { from { transform: translate(0,0) scale(1); } to { transform: translate(6vw, 5vw) scale(1.12); } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); transition: background .4s, box-shadow .4s, height .4s; }
.site-header.scrolled { background: rgba(255,255,255,.8); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15,18,34,.2); height: 76px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 70px; width: auto; transition: height .4s; filter: drop-shadow(0 6px 14px rgba(230,46,42,.15)); }
.scrolled .brand img { height: 56px; }
.nav-list { position: relative; display: flex; align-items: center; gap: 6px; }
.nav-glider { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 40%, #fff); box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--c) 60%, transparent); opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .25s, background .3s, border-color .3s; z-index: 0; --c: var(--red); }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 7px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .92rem; letter-spacing: -.01em; color: var(--ink-2); transition: transform .3s var(--ease); }
.nav-link:hover { transform: translateY(-1px); }
.nl-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); transition: background .3s, color .3s, transform .45s var(--ease); }
.nav-link:hover .nl-ico, .nav-link.is-active .nl-ico { background: var(--c); color: #fff; }
.nav-link:hover .nl-ico { transform: rotate(-14deg) scale(1.1); }
.nl-txt { position: relative; display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.nl-txt span { display: block; transition: transform .45s var(--ease); }
.nl-txt span:nth-child(2) { position: absolute; top: 100%; left: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav-link:hover .nl-txt span { transform: translateY(-100%); }
.nav-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); transform: translateX(-50%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, #fff); }
.has-mega { position: relative; }
.has-mega > .nav-link .ico-plus { transition: transform .3s; }
.has-mega.open > .nav-link .ico-plus { transform: rotate(45deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px); width: min(900px, calc(100vw - 40px)); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(15,18,34,.35); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .25s; align-items: flex-start; }
.mega-item:hover { background: color-mix(in srgb, var(--c) 8%, #fff); }
.mega-item strong { display: block; font-size: .92rem; font-weight: 700; }
.mega-item em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-ico { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 6px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; padding: calc(var(--nav-h) + 36px) 0 40px; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.hero h1 { margin: 18px 0 16px; }
.hero h1 .line { display: block; }
.hero h1 .type { white-space: nowrap; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-2); font-weight: 500; max-width: 540px; margin-bottom: 24px; }
.hero-proof { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.proof b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.proof b i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { font-size: .8rem; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--ink), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split .w > span { display: inline-block; }
.hl .w > span, .grad .w > span { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-green .w > span { background-image: var(--grad-green); }

/* ---------- Orbit (3D services ring) ---------- */
.orbit-wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(100%, 680px); }
.tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.tile > div { min-width: 0; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--c) 55%, transparent); }
.t-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.tile b { display: block; font-size: .9rem; line-height: 1.2; }
.tile small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.t-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, transparent, var(--c), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: barRun 2.4s linear infinite; }
.tile:nth-child(2) .t-bar { animation-delay: -.8s; } .tile:nth-child(3) .t-bar { animation-delay: -1.6s; }
@keyframes barRun { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.orbit-stage { position: relative; width: min(100%, 680px); aspect-ratio: 1 / .78; display: grid; place-items: start center; padding-top: 5%; border-radius: 44px; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.9), rgba(255,255,255,.4) 60%, transparent 75%), radial-gradient(rgba(15,18,34,.14) 1.2px, transparent 1.3px); background-size: 100% 100%, 22px 22px; }
.orbit-stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(15,18,34,.14); animation: rotC 60s linear infinite; }
@keyframes rotC { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-scene { position: relative; width: 92%; aspect-ratio: 1 / .62; perspective: 1500px; perspective-origin: 50% 40%; user-select: none; touch-action: pan-y; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(15,18,34,.3); font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap; animation: chipFloat 6s ease-in-out infinite; }
.float-chip .ico { color: var(--c); }
.float-chip.c1 { left: 0; top: 1%; }
.float-chip.c2 { right: 0; top: 1%; animation-delay: -1.5s; }
.orbit-wrap { align-self: start; }
.float-chip.c3 { left: 0; bottom: 2%; animation-delay: -3s; }
.float-chip.c4 { right: 0; bottom: 2%; animation-delay: -4.5s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.orbit-ring { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-10deg) rotateY(0deg); cursor: grab; }
.orbit-ring.grabbing { cursor: grabbing; }
.orbit-card { position: absolute; left: 50%; top: 50%; width: 204px; height: 166px; margin: -83px -102px; padding: 20px; border-radius: 22px; background: rgba(255,255,255,.86); border: 1px solid #fff; box-shadow: 0 24px 50px -22px rgba(15,18,34,.35), inset 0 1px 0 #fff; backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px; transform: rotateY(var(--a)) translateZ(310px); backface-visibility: hidden; transition: box-shadow .3s; }
.orbit-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 22px 22px 0 0; background: var(--c); }
.orbit-card:hover { box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--c) 50%, transparent); }
.orbit-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.orbit-card strong { font-size: .98rem; line-height: 1.25; font-weight: 800; }
.orbit-card em { font-style: normal; color: var(--muted); font-size: .68rem; margin-top: auto; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad); padding: 4px; box-shadow: 0 30px 70px -20px rgba(124,58,237,.6); animation: spin 18s linear infinite; }
.orbit-core-inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; animation: spinInner 18s linear infinite; }
.orbit-core-inner .mono { font-size: .6rem; letter-spacing: .22em; color: var(--muted); }
.orbit-core-inner b { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinInner { to { transform: rotate(-360deg); } }
.orbit-shadow { position: absolute; left: 50%; bottom: -6%; width: 70%; height: 10%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(15,18,34,.18), transparent 70%); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.marquee-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; padding: 16px 28px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; color: var(--ink); transition: color .3s; }
.marquee-item:hover { color: var(--c); }
.marquee-item i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, #fff); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Services rail ---------- */
.rail { position: relative; background: var(--cloud); }
.rail-pin { padding: clamp(40px, 5vw, 60px) 0; overflow: hidden; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.rail-head h2 { margin: 14px 0 0; }
.rail-hint { color: var(--muted); }
.rail-track { display: flex; gap: 20px; padding: 10px calc((100vw - min(var(--container), 100vw - 40px)) / 2) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail.gsap .rail-track { overflow: visible; width: max-content; scroll-snap-type: none; }
.rail-card { position: relative; flex: 0 0 340px; min-height: 360px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; scroll-snap-align: start; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.rail-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 28%, #fff), transparent 65%); opacity: .8; transition: transform .6s var(--ease); }
.rail-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--c) 45%, transparent); }
.rail-card:hover::after { transform: scale(1.4); }
.rail-card > * { position: relative; z-index: 1; }
.rail-num { color: var(--muted); }
.rail-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 22px 0 18px; background: var(--c); color: #fff; box-shadow: 0 12px 24px -10px var(--c); }
.rail-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.rail-card h3 { margin: 8px 0 8px; font-size: 1.3rem; }
.rail-card p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.rail-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.rail-list li { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cloud); color: var(--ink-2); }
.rail-go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: #fff; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.rail-card:hover .rail-go { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
.rail-end { flex: 0 0 340px; min-height: 360px; padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; }
.rail-end p { color: rgba(255,255,255,.7); margin-bottom: 20px; }

/* ---------- Agent demo chat ---------- */
.demo { background: #fff; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.demo .checks { margin: 20px 0 24px; }
.chat { border-radius: var(--r-lg); background: var(--cloud); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; height: 520px; max-height: 80vh; position: relative; }
.chat > * { position: relative; z-index: 1; }
.chat-head { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.chat-form { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.chat-head strong { display: block; font-size: .95rem; }
.chat-head small { color: var(--muted); font-size: .75rem; display: flex; align-items: center; gap: 6px; }
.chat-head .dot.online { --c: var(--green); animation: none; }
.chat-badge { margin-left: auto; color: var(--muted); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 999px; font-size: .66rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.5; animation: pop .35s var(--ease); }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.chat-chips { display: flex; gap: 8px; padding: 0 20px 12px; flex-wrap: wrap; }
.chat-chips button { font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .25s; }
.chat-chips button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: 10px; padding: 14px 20px 20px; background: #fff; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font: inherit; outline: none; background: var(--cloud); }
.chat-form input:focus { border-color: var(--blue); background: #fff; }
.chat-send { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.chat-send:hover { transform: scale(1.08) rotate(-10deg); }

/* ---------- Vault ---------- */
.vault { background: var(--cloud); }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.vault-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(15,18,34,.12)); overflow: hidden; }
.vault-perimeter { animation: dash 6s linear infinite; }
.flow path { stroke-dasharray: 6 8; animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pulse-dot { animation: pulseDot 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes pulseDot { 50% { transform: scale(1.6); opacity: .5; } }
.feature-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.f-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); display: grid; place-items: center; }
.feature-list strong { display: block; font-weight: 800; }
.feature-list span { color: var(--muted); font-size: .92rem; }

/* ---------- Process ---------- */
.process-wrap { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 44px; width: 100%; height: 120px; pointer-events: none; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.pstep { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; margin-top: 70px; }
.pstep:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--c) 45%, transparent); }
.pstep .n { position: absolute; top: -34px; left: 28px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: var(--c); color: #fff; box-shadow: 0 0 0 8px #fff, 0 16px 30px -10px var(--c); }
.pstep h3 { font-size: 1.2rem; margin-top: 18px; }
.pstep p { color: var(--muted); font-size: .93rem; margin: 0; }
.pstep .dur { color: var(--c); display: block; margin-top: 16px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.b-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--cloud); border: 1px solid transparent; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.b-card::before { content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, #fff), transparent 65%); transition: transform .6s var(--ease); }
.b-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--c) 50%, transparent); border-color: color-mix(in srgb, var(--c) 30%, #fff); }
.b-card:hover::before { transform: scale(1.6); }
.b-card > * { position: relative; }
.b-card .ico { color: var(--c); margin-bottom: 14px; }
.b-card h4 { margin-bottom: 6px; font-size: 1.1rem; }
.b-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.b-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.b-giant { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-bottom: auto; }
.b-wide { grid-column: span 2; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips-row li { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(100deg, #0b7a3b, #e62e2a, #ff2d87, #0b7a3b); background-size: 300% 100%; animation: gradMove 12s ease-in-out infinite alternate; color: #fff; padding: 48px 0; }
@keyframes gradMove { to { background-position: 100% 0; } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat b i { font-style: normal; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; position: relative; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--c) 40%, transparent); }
.t-card::before { content: '“'; position: absolute; top: 4px; right: 24px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: color-mix(in srgb, var(--c) 18%, #fff); }
.t-card .stars { display: flex; gap: 3px; color: var(--sun); }
.t-card .stars svg { fill: currentColor; }
.t-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; flex: 1; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.t-card .who strong { display: block; font-size: .95rem; }
.t-card .who span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--cloud); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.acc { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.acc-btn .ico { flex: none; color: var(--red); transition: transform .3s; }
.acc-item.open .acc-btn .ico { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-panel p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(48px, 6vw, 64px); background: #fff; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 52px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.cta-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.cta-blobs i { position: absolute; border-radius: 50%; width: 520px; height: 520px; opacity: .7; animation: float 20s ease-in-out infinite alternate; }
.cta-blobs i:nth-child(1) { left: -160px; top: -200px; background: radial-gradient(circle, rgba(230,46,42,.9), transparent 65%); }
.cta-blobs i:nth-child(2) { right: -100px; top: -220px; background: radial-gradient(circle, rgba(11,122,59,.95), transparent 65%); animation-direction: alternate-reverse; }
.cta-blobs i:nth-child(3) { left: 30%; bottom: -320px; background: radial-gradient(circle, rgba(230,0,126,.9), transparent 65%); animation-duration: 26s; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { margin: 18px 0 14px; }
.cta-content h2 .hl { background: linear-gradient(100deg, #ff2d87, #ff8a5b); -webkit-background-clip: text; background-clip: text; }
.cta-content p { color: rgba(255,255,255,.9); font-weight: 500; max-width: 560px; margin-bottom: 26px; }
.cta-ticket { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 20px; transform: rotate(3deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.ticket-head { display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .14em; color: var(--muted); border-bottom: 1px dashed var(--line-2); padding-bottom: 10px; margin-bottom: 10px; }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; padding: 6px 0; }
.ticket-row span { color: var(--muted); }
.ticket-barcode { margin-top: 12px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 12px, transparent 12px 14px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--cloud); padding: 48px 0 20px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--ink-2); font-size: .92rem; margin: 16px 0; max-width: 380px; }
.footer-brand img { height: 64px; width: auto; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { font-size: .78rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); transition: all .3s; }
.socials a:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.footer-col h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-family: var(--font-mono); font-weight: 700; }
.footer-col li { margin-bottom: 10px; font-size: .92rem; }
.footer-col a { color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.footer-contact .ico { color: var(--red); flex: none; margin-top: 4px; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; --c: var(--green); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 16px 40px -10px rgba(37,211,102,.7); transition: transform .35s var(--ease); }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), margin .4s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover span { max-width: 200px; margin-right: 4px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 44px) 0 44px; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--red); }
.page-hero h1 { max-width: 900px; }

/* ---------- Service template ---------- */
.svc-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.svc-art { position: relative; aspect-ratio: 1; width: min(100%, 440px); margin-left: auto; }
.svc-art-blob { position: absolute; inset: 8%; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 40%, var(--violet))); animation: morph 10s ease-in-out infinite; box-shadow: 0 40px 80px -30px var(--c); }
@keyframes morph { 0%,100% { border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; } 33% { border-radius: 60% 40% 45% 55% / 50% 60% 40% 50%; } 66% { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; } }
.svc-art-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 50%, #fff); animation: rot 30s linear infinite; }
.svc-art-ring.r2 { inset: 18%; border-style: solid; border-color: rgba(255,255,255,.7); animation-direction: reverse; animation-duration: 20s; }
.svc-art-ring::before { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px #fff; }
@keyframes rot { to { transform: rotate(360deg); } }
.svc-art-core { position: absolute; inset: 34%; border-radius: 30%; background: #fff; display: grid; place-items: center; color: var(--c); box-shadow: 0 30px 60px -20px rgba(15,18,34,.3); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.svc-art-num { position: absolute; right: 0; bottom: 6%; font-size: 3rem; font-weight: 700; color: color-mix(in srgb, var(--c) 25%, #fff); }
.svc-body .container { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 0; margin-bottom: .6em; }
.prose > div + div { margin-top: clamp(40px, 5vw, 56px); }
.prose p { color: var(--muted); font-size: 1.05rem; }
.checks { display: grid; gap: 12px; margin: 20px 0 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { flex: none; color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.mini-card { padding: 22px; border-radius: var(--r); background: var(--cloud); border: 1px solid transparent; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 45%, transparent); border-color: color-mix(in srgb, var(--c) 30%, #fff); background: #fff; }
.mini-card .ico { color: var(--c); margin-bottom: 12px; }
.mini-card h4 { margin-bottom: 6px; }
.mini-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.usecase { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; display: flex; gap: 16px; box-shadow: var(--shadow-sm); }
.usecase .n { font-size: .8rem; flex: none; font-weight: 700; }
.usecase strong { display: block; margin-bottom: 4px; }
.usecase span { color: var(--muted); font-size: .9rem; }
.outcome { padding: 28px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--c) 8%, #fff); border-left: 5px solid var(--c); }
.outcome h2 { margin-top: 0 !important; }
.outcome p { margin: 0; color: var(--ink-2); }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card h4 { margin-bottom: 12px; }
.aside-cta { background: var(--ink); color: #fff; border: 0; }
.aside-cta p { color: rgba(255,255,255,.7); font-size: .9rem; }
.aside-cta .btn { width: 100%; justify-content: center; margin-top: 8px; background: #fff; color: var(--ink); }
.aside-cta .btn:hover { color: #fff; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font-family: var(--font-mono); font-size: .7rem; padding: 6px 10px; border-radius: 8px; background: var(--cloud); color: var(--ink-2); }
.aside-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.aside-list a i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.aside-list a:hover, .aside-list li.cur a { color: var(--ink); font-weight: 700; }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values-2 { grid-template-columns: 1fr 1fr; }
.timeline { border-left: 2px solid var(--line-2); margin-left: 10px; }
.tl { position: relative; padding: 0 0 36px 34px; }
.tl::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px #fff, 0 0 0 6px color-mix(in srgb, var(--c) 30%, #fff); }
.tl .yr { color: var(--c); font-weight: 700; }
.tl h4 { margin: 6px 0 4px; }
.tl p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.c-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 45%, transparent); }
.c-card strong { display: block; margin-bottom: 4px; }
.c-card a, .c-card span { color: var(--muted); font-size: .95rem; display: block; }
.c-card a:hover { color: var(--c); }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.form-card h3 { margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .04em; }
input, select, textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--cloud); border: 1.5px solid transparent; color: var(--ink); font: inherit; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(45,107,255,.12); }
textarea { min-height: 140px; resize: vertical; }
.chk-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chk-row label { margin: 0; cursor: pointer; }
.chk-row input { display: none; }
.chk-row span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .82rem; color: var(--ink-2); transition: all .25s; font-weight: 600; background: #fff; }
.chk-row input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.form-err { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; border: 1px solid; font-size: .92rem; }
.alert.ok { border-color: rgba(20,164,77,.4); background: rgba(20,164,77,.08); color: #0b5e2d; }
.map-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 40px; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Reveal fallback (no GSAP) ---------- */
.no-gsap [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.no-gsap [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .no-gsap [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .orbit-stage { width: min(100%, 600px); }
  .demo-grid, .vault-grid, .faq-grid, .svc-hero .container, .svc-body .container, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .svc-art { margin: 0 auto; max-width: 340px; }
  .aside { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .t-grid, .values, .cards-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 76px; }
  .site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
  .brand img { height: 50px; }
  .scrolled .brand img { height: 50px; }
  .float-chip { font-size: .72rem; padding: 8px 11px; }
  .float-chip.c2 { right: -2%; }
  /* The header's backdrop-filter is the containing block for this fixed panel, so give it an explicit height. */
  .nav { position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: #fff; padding: 24px 20px 60px; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; z-index: 49; }
  .nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-glider { display: none; }
  .nav-link { width: 100%; padding: 10px 14px 10px 10px; font-size: 1.05rem; border-color: var(--line); background: #fff; }
  .nav-link .ico-plus { margin-left: auto; }
  .nav-link.is-active::after { display: none; }
  .hero-tiles { gap: 6px; }
  .tile { padding: 8px; gap: 6px; }
  .tile small { display: none; }
  .tile b { font-size: .72rem; }
  .orbit-wrap { align-self: auto; }
  .mega, .has-mega.open .mega { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; margin: 6px 0 10px; padding: 8px; box-shadow: none; background: var(--cloud); }
  .mega { display: none; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-cta-mobile { display: grid; gap: 10px; margin-top: 24px; }
  .nav-cta-mobile .btn { justify-content: center; }
  .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 24px; }
  .hero-grid { gap: 24px; }
  .orbit-stage { width: min(100%, 400px); border-radius: 30px; aspect-ratio: 1; place-items: center; padding-top: 0; }
  .orbit-scene { aspect-ratio: 1; }
  .orbit-card { width: 150px; height: 130px; margin: -65px -75px; transform: rotateY(var(--a)) translateZ(200px); }
  .orbit-core { width: 140px; height: 140px; }
  .orbit-core-inner b { font-size: 2rem; }
  .rail-card, .rail-end { flex-basis: 300px; min-height: 340px; }
  .chat { height: 500px; }
  .t-grid, .values, .values-2, .cards-3, .usecases, .form-grid, .process-grid, .footer-grid, .bento, .stats-grid { grid-template-columns: 1fr; }
  .b-big, .b-wide { grid-column: auto; grid-row: auto; }
  .form-grid .full { grid-column: auto; }
  .wa-float span { display: none; }
  .cta-ticket { display: none; }
  .section { padding: 44px 0; }
  .marquee-item { font-size: 1.05rem; padding: 14px 20px; }
}
