/* DataKraftz + GatiNav website. "Night Route" theme (dark) with a "Day Route" light theme. No build step, no external requests.
   Theme: follows the device setting; the header button overrides it (stored as data-theme on <html>, see theme.js). */
:root {
  color-scheme: dark;
  --ink: #050a17; --ink-2: #071025; --panel: #0a1226; --panel-2: #0e1a35;
  --fg: 255,255,255; --ink-rgb: 5,10,23; --panel-rgb: 10,18,38; --band-rgb: 14,26,53; --brand-rgb: 77,168,255; --shadow: 0,0,0; --shadow-k: 1;
  --line: rgba(var(--fg),.09); --line-2: rgba(var(--fg),.16);
  --text: #e6ecf7; --text-2: var(--text-2); --muted: #9aa7c2; --dim: #6b7894;
  --brand: #4da8ff; --brand-2: #8ec7ff; --brand-hover: var(--brand-hover); --brand-deep: #0f2650; --on-brand: var(--on-brand); --amber: #fbbf24; --rose: #fb7185; --teal: #2dd4bf;
  --showcase: var(--showcase); --badge-fg: #052; --badge-bg: #5eead4;
  --r: 16px; --wrap: 1160px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { color-scheme: light;
  --ink: #f5f8fd; --ink-2: #eaf0f9; --panel: #ffffff; --panel-2: #eef3fb;
  --fg: 12,28,60; --ink-rgb: 245,248,253; --panel-rgb: 255,255,255; --band-rgb: 222,232,247; --brand-rgb: 26,111,214; --shadow: 20,40,80; --shadow-k: .32;
  --line: rgba(var(--fg),.11); --line-2: rgba(var(--fg),.2);
  --text: #0b1730; --text-2: #26334d; --muted: #4a5875; --dim: #5e6a84;
  --brand: #1a6fd6; --brand-2: #1458ad; --brand-hover: #155fbb; --brand-deep: #dbe9fb; --on-brand: #ffffff; --amber: #b45309; --rose: #e11d48; --teal: #0f8a7e;
  --showcase: #e9f0fb; --badge-fg: #064e3b; --badge-bg: #a7f3d0; } }
:root[data-theme="light"] { color-scheme: light;
  --ink: #f5f8fd; --ink-2: #eaf0f9; --panel: #ffffff; --panel-2: #eef3fb;
  --fg: 12,28,60; --ink-rgb: 245,248,253; --panel-rgb: 255,255,255; --band-rgb: 222,232,247; --brand-rgb: 26,111,214; --shadow: 20,40,80; --shadow-k: .32;
  --line: rgba(var(--fg),.11); --line-2: rgba(var(--fg),.2);
  --text: #0b1730; --text-2: #26334d; --muted: #4a5875; --dim: #5e6a84;
  --brand: #1a6fd6; --brand-2: #1458ad; --brand-hover: #155fbb; --brand-deep: #dbe9fb; --on-brand: #ffffff; --amber: #b45309; --rose: #e11d48; --teal: #0f8a7e;
  --showcase: #e9f0fb; --badge-fg: #064e3b; --badge-bg: #a7f3d0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(var(--brand-rgb),.3); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 650; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 620; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); } .dim { color: var(--dim); }
.grad { background: linear-gradient(100deg, var(--brand-2), var(--brand) 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(var(--ink-rgb),.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand small { display: block; font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 12px; text-align: center; justify-content: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(var(--brand-rgb),.6); }
.btn.primary:hover { background: var(--brand-hover); }
.btn.ghost { border-color: var(--line-2); color: var(--text); background: rgba(var(--fg),.02); }
.btn.ghost:hover { border-color: rgba(var(--brand-rgb),.5); }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(600px 380px at 20% 20%, rgba(var(--brand-rgb),.22), transparent 70%), radial-gradient(520px 340px at 85% 10%, rgba(45,212,191,.12), transparent 70%); }
.hero .grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(to right, rgba(var(--fg),.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(var(--fg),.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.hero > .wrap { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--brand-rgb),.3); background: rgba(var(--brand-rgb),.08); font-size: 13px; color: var(--brand-2); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; }
.hero h1 { margin: 22px 0 20px; max-width: 900px; }
.hero .btns { margin-top: 32px; }

/* sections */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { margin: 14px 0 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.band { background: linear-gradient(180deg, transparent, rgba(var(--band-rgb),.45) 30%, rgba(var(--band-rgb),.45) 70%, transparent); }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 64px 0; } .hero { padding: 64px 0 48px; } }

.card { background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--brand-rgb),.1); border: 1px solid rgba(var(--brand-rgb),.25); color: var(--brand); }
.ico svg { width: 20px; height: 20px; }
.ico.amber { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.28); color: var(--amber); }
.ico.teal { background: rgba(45,212,191,.1); border-color: rgba(45,212,191,.28); color: var(--teal); }
.ico.rose { background: rgba(251,113,133,.1); border-color: rgba(251,113,133,.28); color: var(--rose); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(var(--panel-rgb),.6); margin-top: 56px; }
.stats div { padding: 22px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.02em; color: var(--brand-2); }
.stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* screenshots */
.shot { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; background: var(--panel); box-shadow: 0 40px 80px -40px rgba(var(--shadow),calc(.8 * var(--shadow-k))), 0 0 0 1px rgba(var(--brand-rgb),.06); }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(var(--fg),.02); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--fg),.14); }
.shot .bar span { margin: 0 auto; font: 11px var(--mono); color: var(--dim); padding: 3px 10px; border-radius: 6px; background: rgba(var(--shadow),calc(.25 * var(--shadow-k))); }
.phone { border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden; background: var(--panel); box-shadow: 0 30px 60px -30px rgba(var(--shadow),calc(.9 * var(--shadow-k))); }
.caption { font-size: 13px; color: var(--dim); margin-top: 12px; }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 40px 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 12px; letter-spacing: -.02em; }
.feature p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(var(--brand-rgb),.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234da8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; } .feature.flip .feature-copy { order: 0; } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.steps li { list-style: none; position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(var(--panel-rgb),.55); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 12px var(--mono); color: var(--amber); }
.steps h3 { margin: 10px 0 6px; } .steps p { color: var(--muted); font-size: 15px; }
.steps ol, ol.steps { padding: 0; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* module status */
.status { display: grid; gap: 8px; margin-top: 14px; }
.status div { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--text-2); }
.tag { flex: none; font: 600 10px/1 var(--mono); letter-spacing: .08em; padding: 4px 6px; border-radius: 5px; }
.tag.live { color: var(--brand-2); background: rgba(var(--brand-rgb),.14); }
.tag.next { color: var(--amber); background: rgba(251,191,36,.12); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 720px; }

/* callout / CTA */
.cta { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(var(--brand-rgb),.25); padding: 56px 32px; text-align: center;
  background: radial-gradient(500px 240px at 50% 0%, rgba(var(--brand-rgb),.22), transparent 70%), var(--panel); }
.cta h2 { margin: 12px 0 14px; } .cta .lead { margin: 0 auto; } .cta .btns { justify-content: center; margin-top: 28px; }
.mail { font: 600 15px var(--mono); color: var(--brand-2); text-decoration: none; border-bottom: 1px dashed rgba(var(--brand-rgb),.4); }
.note { font-size: 13px; color: var(--dim); max-width: 760px; margin: 0 auto; text-align: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
footer a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 3px 0; }
footer a:hover { color: var(--text); }
footer .legal { width: 100%; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }

/* reveal on scroll (progressive: content is visible without JS) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* hero art: two phones from the demo, desktop only */
.hero-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.hero-art { position: relative; height: 560px; }
.hero-art .phone { position: absolute; width: 230px; }
.hero-art .phone:first-child { right: 150px; top: 10px; transform: rotate(-4deg); }
.hero-art .phone:last-child { right: 0; top: 70px; transform: rotate(3deg); }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* ---- home page v2: punchy ---- */
.hero-xl { padding-top: 110px; }
.mega { font-size: clamp(52px, 9vw, 112px); line-height: .98; letter-spacing: -.04em; font-weight: 700; margin: 22px 0 22px; }
.mega-2 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.035em; font-weight: 700; margin: 0; }
.hero-xl .lead { font-size: clamp(18px, 2vw, 22px); }
.flow svg { width: 100%; max-width: 460px; margin-left: auto; display: block; }
.flow .lines path { stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; opacity: .85; }
.flow .pulse { transform-origin: 250px 210px; animation: pulse 2.4s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@media (max-width: 960px) { .flow { display: none; } }

.tile { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.01)); transition: border-color .2s, transform .2s, background .2s; }
.tile:hover { border-color: rgba(var(--brand-rgb),.45); transform: translateY(-3px); background: linear-gradient(180deg, rgba(var(--brand-rgb),.08), rgba(var(--fg),.01)); }
.tile h3 { font-size: 22px; margin: 18px 0 6px; letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: 16px; }

.spot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; border-radius: 28px; padding: 48px;
  border: 1px solid rgba(var(--brand-rgb),.25); background: radial-gradient(700px 360px at 85% 20%, rgba(var(--brand-rgb),.18), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(251,191,36,.08), transparent 70%), var(--panel); }
.spot h2 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -.04em; margin: 12px 0 6px; }
.spot-line { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--brand-2); margin-bottom: 14px; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(var(--fg),.03); }
.spot-art { position: relative; padding: 0 0 40px 0; }
.spot-phone { position: absolute; width: 26%; right: -14px; bottom: -6px; transform: rotate(4deg); }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; padding: 28px 20px; } .spot-phone { width: 30%; right: -6px; } }

.big { padding: 30px 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(var(--panel-rgb),.5); }
.big b { font: 600 13px var(--mono); color: var(--amber); }
.big h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 12px 0 8px; letter-spacing: -.02em; }
.big p { color: var(--muted); }

/* ===== v3: wider layout + motion ===== */
:root { --wrap: 1440px; --gutter: clamp(20px, 5vw, 72px); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding: 0 var(--gutter); }
body { font-size: 17px; }
.lead { max-width: 760px; }
section { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { max-width: 880px; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head.wide { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.wide .lead { max-width: 520px; }

/* hero entrance */
.hero-full { min-height: min(92vh, 980px); display: flex; flex-direction: column; justify-content: center; padding: 120px 0 64px; }
.hero-full .hero-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); }
.in-1, .in-2, .in-3, .in-4, .in-5 { opacity: 0; transform: translateY(22px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.in-2 { animation-delay: .12s; } .in-3 { animation-delay: .24s; } .in-4 { animation-delay: .36s; } .in-5 { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.grad.shimmer { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.flow svg { max-width: 620px; }
.flow { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.flow .node-in { animation: blink 3s ease-in-out infinite; }
.flow .node-in:nth-child(2) { animation-delay: .7s; } .flow .node-in:nth-child(3) { animation-delay: 1.4s; } .flow .node-in:nth-child(4) { animation-delay: 2.1s; }
@keyframes blink { 0%,100% { stroke: rgba(var(--fg),.18); } 50% { stroke: rgba(var(--brand-rgb),.8); } }
.maker { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--fg),.02);
  text-decoration: none; font-size: 14px; color: var(--muted); transition: border-color .2s, color .2s; }
.maker:hover { border-color: rgba(var(--brand-rgb),.5); color: var(--text); }
.maker svg { width: 24px; height: 24px; }
.maker b { color: var(--text); font-weight: 600; }

/* scroll cue */
.scroll-cue { margin-top: 56px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brand); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(var(--panel-rgb),.55); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* spotlight cards */
.spot-card { position: relative; overflow: hidden; }
.spot-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(var(--brand-rgb),.16), transparent 60%); }
.spot-card:hover::before { opacity: 1; }
.tile .ico, .card .ico { transition: transform .3s; }
.tile:hover .ico { transform: scale(1.08) rotate(-4deg); }
.g3.tiles { gap: 20px; }
.tile { padding: clamp(26px, 2.4vw, 36px); min-height: 220px; }
.tile .more { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile .more em { font-style: normal; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(var(--fg),.04); border: 1px solid var(--line); color: var(--muted); }

/* expertise */
.expert { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 32px; }
.pillar { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(var(--fg),.02); }
.pillar b { display: block; font-size: 15px; margin-bottom: 4px; }
.pillar span { font-size: 14px; color: var(--muted); }
.term { --fg: 255,255,255; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --text-2: #c9d3e6; --dim: #6b7894; --brand: #4da8ff; --teal: #2dd4bf; --amber: #fbbf24; color-scheme: dark;
  border-radius: 16px; border: 1px solid var(--line-2); background: #040816; box-shadow: 0 50px 100px -40px rgba(var(--shadow),calc(.9 * var(--shadow-k))), 0 0 0 1px rgba(var(--brand-rgb),.07), 0 0 80px -30px rgba(var(--brand-rgb),.35); overflow: hidden; }
.term .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.term .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--fg),.14); }
.term .bar i:nth-child(1) { background: #fb7185aa; } .term .bar i:nth-child(2) { background: #fbbf24aa; } .term .bar i:nth-child(3) { background: #2dd4bfaa; }
.term pre { margin: 0; padding: 22px 22px 26px; font: 14px/1.75 var(--mono); color: var(--text-2); min-height: 330px; white-space: pre-wrap; }
.term .p { color: var(--brand); } .term .ok { color: var(--teal); } .term .am { color: var(--amber); } .term .dm { color: var(--dim); }
.term .cur { display: inline-block; width: 8px; height: 16px; background: var(--brand); vertical-align: -3px; animation: cur 1s steps(1) infinite; }
@keyframes cur { 50% { opacity: 0; } }
@media (max-width: 960px) { .expert { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .term pre { font-size: 12.5px; min-height: 300px; } }

/* process timeline */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 8px; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; left: 0; top: 22px; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width 1.8s cubic-bezier(.2,.7,.2,1); }
.process.in::after { width: 100%; }
.process .st { position: relative; padding-top: 58px; }
.process .st::before { content: attr(data-n); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font: 600 13px var(--mono); color: var(--amber); background: var(--panel); border: 1px solid var(--line-2); z-index: 1; }
.process .st h3 { font-size: 20px; margin-bottom: 6px; } .process .st p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .process { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 36px; } .process::before, .process::after { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* GatiNav showcase */
.showcase { position: relative; overflow: hidden; border-block: 1px solid rgba(var(--brand-rgb),.18);
  background: radial-gradient(900px 500px at 80% 10%, rgba(var(--brand-rgb),.16), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(251,191,36,.07), transparent 70%), var(--showcase); }
.showcase .head { display: flex; align-items: center; gap: 16px; }
.showcase .head svg { width: 56px; height: 56px; }
.showcase h2 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -.04em; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 40px; }
.hl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.hl div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(var(--fg),.025); }
.hl b { display: block; font-size: 15px; } .hl span { font-size: 14px; color: var(--muted); }
.sc-art { position: relative; padding-bottom: 60px; }
.sc-art .shot { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transition: transform .6s; }
.sc-art:hover .shot { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.sc-art .phone { position: absolute; width: 24%; right: -10px; bottom: 0; transform: rotate(5deg); animation: floaty 6s ease-in-out infinite; }
.sc-art .phone.two { right: auto; left: -20px; bottom: -20px; width: 20%; transform: rotate(-6deg); animation-delay: -3s; }
@media (max-width: 960px) { .sc-grid { grid-template-columns: 1fr; } .sc-art .shot { transform: none; } }
@media (max-width: 560px) { .hl { grid-template-columns: 1fr; } }

/* careers teaser + page */
.hire { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(var(--brand-rgb),.10), rgba(45,212,191,.06) 50%, rgba(251,191,36,.06)); }
.hire h2 { font-size: clamp(28px, 3.6vw, 44px); }
.roles-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.roles-inline span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: rgba(var(--ink-rgb),.5); }
.roles { display: grid; gap: 18px; }
.role { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.012)); padding: clamp(24px, 3vw, 36px); transition: border-color .2s; }
.role:hover { border-color: rgba(var(--brand-rgb),.4); }
.role-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; }
.role h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.role .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.role .meta span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.role p.sum { color: var(--muted); margin-top: 14px; max-width: 880px; }
.role details { margin-top: 18px; border-top: 1px solid var(--line); }
.role summary { cursor: pointer; list-style: none; padding: 16px 0 4px; color: var(--brand-2); font-weight: 600; font-size: 15px; }
.role summary::-webkit-details-marker { display: none; }
.role summary::after { content: " +"; } .role details[open] summary::after { content: " –"; }
.role .cols3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding-top: 12px; }
.role h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.role ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; display: grid; gap: 6px; }
@media (max-width: 860px) { .role .cols3 { grid-template-columns: 1fr; } }

/* nav active */
.nav a.active { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .in-1, .in-2, .in-3, .in-4, .in-5 { opacity: 1; transform: none; } .marquee .track { animation: none; } }
.hero-full > .wrap { width: 100%; }
.hero-full .stats { margin-top: clamp(40px, 5vw, 72px); }

/* hero stat that jumps to the practices */
.stats .stat-link { display: block; padding: 22px; border-left: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .2s; border-radius: 0; }
.stats .stat-link:hover { background: rgba(var(--brand-rgb),.06); }
.stats .stat-link i { font-style: normal; color: var(--brand); }
@media (max-width: 760px) { .stats .stat-link { border-top: 0; } }

/* practice flip cards: hover (mouse), tap or Enter/Space (touch, keyboard) */
.flip { perspective: 1400px; cursor: pointer; outline: none; border-radius: 20px; }
.flip:focus-visible { box-shadow: 0 0 0 2px var(--brand); }
.flip-in { display: grid; height: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip-in > .face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; height: 100%; }
.flip .back { transform: rotateY(180deg); border-color: rgba(var(--brand-rgb),.4); background: linear-gradient(160deg, rgba(var(--brand-rgb),.12), rgba(var(--panel-rgb),.6) 60%); }
.flip.flipped .flip-in { transform: rotateY(180deg); }
/* no flip on hover (it fired while scrolling past); hover only lifts the card and highlights the hint */
@media (hover: hover) { .flip:hover .front { border-color: rgba(var(--brand-rgb),.45); } .flip:hover .flip-hint { color: var(--text); border-color: rgba(var(--brand-rgb),.5); background: rgba(var(--brand-rgb),.12); } }
.flip .back h3 { margin: 0 0 8px; font-size: 20px; }
.flip .back p { font-size: 15px; color: var(--text-2); }
.ticks.sm { margin-top: 14px; gap: 7px; }
.ticks.sm li { font-size: 14px; }
.flip-cta { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--brand); text-decoration: none; }
.flip-cta:hover { text-decoration: underline; }
.flip-hint { position: absolute; right: 18px; top: 18px; font-size: 12px; color: var(--muted); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); }
.flip-hint i { font-style: normal; display: inline-block; transition: transform .4s; }
.flip:hover .flip-hint i { transform: rotate(180deg); }
.flip .back .flip-hint { position: static; display: inline-block; margin-top: 14px; margin-left: 12px; }
.flip .front:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .flip-in { transform: none !important; }
  .flip-in > .face { backface-visibility: visible; transition: opacity .01s; }
  .flip .back { transform: none; opacity: 0; }
  .flip.flipped .back { opacity: 1; } .flip.flipped .front { opacity: 0; }
}

/* product demo video */
.demo-sec .sec-head { max-width: 760px; }
.demo-player { position: relative; margin: 36px auto 0; width: 100%; max-width: min(100%, calc((100vh - 170px) * 16 / 9)); min-width: min(100%, 560px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(var(--brand-rgb),.28);
  box-shadow: 0 30px 90px rgba(var(--shadow),calc(.55 * var(--shadow-k))), 0 0 120px rgba(var(--brand-rgb),.12); background: #060b18; aspect-ratio: 16 / 9; }
.demo-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.demo-player video:fullscreen { object-fit: contain; }
.demo-play { --fg: 255,255,255; --line: rgba(255,255,255,.16); position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 50%, rgba(4,7,15,.35), rgba(4,7,15,.72)); color: #fff; font: inherit; transition: opacity .3s; }
.demo-play span { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand);
  box-shadow: 0 0 0 10px rgba(var(--brand-rgb),.18), 0 14px 40px rgba(var(--shadow),calc(.45 * var(--shadow-k))); transition: transform .25s; }
.demo-play span svg { width: 38px; height: 38px; margin-left: 5px; }
.demo-play:hover span, .demo-play:focus-visible span { transform: scale(1.07); }
.demo-play em { position: absolute; left: 20px; bottom: 20px; font-style: normal; font-weight: 600; font-size: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(6,11,24,.75); border: 1px solid var(--line); }
.demo-player.playing .demo-play { opacity: 0; pointer-events: none; }
.demo-chapters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.demo-chapters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(var(--fg),.03); color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.demo-chapters button:hover, .demo-chapters button.on { border-color: rgba(var(--brand-rgb),.5); background: rgba(var(--brand-rgb),.1); color: var(--text); }
.demo-chapters b { font: 600 12px ui-monospace, Menlo, monospace; color: var(--amber); }
.demo-chapters i { font-style: normal; font-size: 12px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
@media (max-width: 760px) { .demo-play span { width: 66px; height: 66px; } .demo-play span svg { width: 28px; height: 28px; } .demo-chapters button { font-size: 13px; padding: 7px 11px; } }

/* theme switch (header) */
.theme-btn { flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin-left: -6px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(var(--fg),.03); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.theme-btn:hover { color: var(--text); border-color: rgba(var(--brand-rgb),.5); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; } :root[data-theme="light"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme-btn .sun { display: block; } :root:not([data-theme="dark"]) .theme-btn .moon { display: none; } }
@media (max-width: 820px) { .theme-btn { margin-left: -12px; } }

/* home hero diagram colours follow the theme */
.flow .f-blue { stroke: var(--brand-2); } .flow .f-teal { stroke: var(--teal); } .flow .f-amber { stroke: var(--amber); }
.flow .f-nodes { fill: var(--panel-2); stroke: rgba(var(--fg),.18); } .flow .f-labels { fill: var(--muted); } .flow .f-core { fill: var(--panel); stroke: var(--brand); }
.flow .f-dot-a { fill: var(--amber); }

/* "Cleared to move" signal cards: green / amber / red */
.sig { position: relative; padding: 28px 28px 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--fg),.035), rgba(var(--fg),.01)); }
.sig i { display: block; width: 18px; height: 18px; border-radius: 50%; margin-bottom: 18px; }
.sig h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -.02em; } .sig p { color: var(--muted); }
.sig.go { border-color: rgba(45,212,191,.35); } .sig.go i { background: var(--teal); box-shadow: 0 0 0 6px rgba(45,212,191,.15), 0 0 24px rgba(45,212,191,.6); } .sig.go h3 { color: var(--teal); }
.sig.warn { border-color: rgba(251,191,36,.35); } .sig.warn i { background: var(--amber); box-shadow: 0 0 0 6px rgba(251,191,36,.15), 0 0 24px rgba(251,191,36,.55); } .sig.warn h3 { color: var(--amber); }
.sig.stop { border-color: rgba(251,113,133,.35); } .sig.stop i { background: var(--rose); box-shadow: 0 0 0 6px rgba(251,113,133,.15), 0 0 24px rgba(251,113,133,.55); } .sig.stop h3 { color: var(--rose); }
.steps.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 960px) { .steps.three { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .steps.three { grid-template-columns: 1fr; } }

/* products on the home page: one card each */
.products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--fg),.045), rgba(var(--fg),.012)); transition: border-color .3s; }
.product:hover { border-color: rgba(var(--brand-rgb),.4); }
.product .p-head { display: flex; align-items: center; gap: 14px; }
.product .p-head svg { width: 48px; height: 48px; flex: none; }
.product h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 0; line-height: 1.05; }
.product .p-cat { display: block; font: 500 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.product .badge { margin-left: auto; align-self: flex-start; font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; color: var(--amber); background: rgba(251,191,36,.12); white-space: nowrap; }
.product > p { color: var(--muted); }
.product .p-line { font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.product .shot img { display: block; width: 100%; height: auto; }
.product .btns { margin-top: auto; }
