:root {
  --bg: #0C0A09;
  --bg-2: #13100E;
  --card: #171311;
  --line: rgba(245, 241, 234, 0.08);
  --line-2: rgba(245, 241, 234, 0.14);
  --text: #F5F1EA;
  --muted: #A39A90;
  --dim: #6E655D;
  --orange: #F26A1B;
  --orange-2: #FF9152;
  --green: #4ADE80;
  --amber: #F5B544;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.025em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font: 500 15px/1 var(--body); white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--orange); color: #140A03; box-shadow: 0 0 0 1px rgba(255,145,82,.4) inset, 0 8px 24px -8px rgba(242,106,27,.6); }
.btn--primary:hover { background: var(--orange-2); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(245,241,234,.03); }
.btn--ghost:hover { border-color: rgba(245,241,234,.28); background: rgba(245,241,234,.06); }
.btn svg { width: 16px; height: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.nav.scrolled { background: rgba(12,10,9,.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.nav__brand img { display: block; height: 32px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-right: auto; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 0; pointer-events: none;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(242,106,27,.22), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(245,241,234,.03);
  font-size: 13px; color: var(--muted);
}
.hero h1 {
  margin: 28px auto 0; max-width: 14ch;
  font-size: clamp(46px, 8vw, 92px); line-height: .98; letter-spacing: -0.04em;
}
.hero h1 .grad {
  background: linear-gradient(180deg, #FFB07A 0%, var(--orange) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin: 24px auto 0; max-width: 40em; font-size: 18px; color: var(--muted); }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero product window */
.stage { position: relative; margin: 72px auto 0; max-width: 1040px; perspective: 1800px; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.window {
  border-radius: 14px 14px 0 0; border: 1px solid var(--line-2); border-bottom: 0;
  background: linear-gradient(180deg, #1A1513, #120F0D);
  box-shadow: 0 -20px 80px -20px rgba(242,106,27,.25), 0 40px 120px -20px rgba(0,0,0,.8);
  transform: rotateX(8deg); transform-origin: 50% 100%;
  overflow: hidden; text-align: left;
}
.window__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C2522; }
.window__url { margin: 0 auto; font: 12px var(--mono); color: var(--dim); background: rgba(245,241,234,.04); padding: 4px 40px; border-radius: 6px; }
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.app__side { border-right: 1px solid var(--line); padding: 18px 12px; font-size: 13px; color: var(--muted); }
.app__org { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: var(--text); font-weight: 500; }
.app__org span { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--orange), #9A3A07); display: grid; place-items: center; font-size: 11px; color: #fff; }
.app__side li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; }
.app__side li.on { background: rgba(245,241,234,.06); color: var(--text); }
.app__side li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .7; }
.app__main { padding: 22px 24px; }
.app__head { display: flex; align-items: center; justify-content: space-between; }
.app__head h4 { margin: 0; font: 600 17px var(--head); }
.app__head small { font: 12px var(--mono); color: var(--dim); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: rgba(245,241,234,.02); }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi b { display: block; margin-top: 6px; font: 600 22px var(--head); font-variant-numeric: tabular-nums; }
.kpi em { font: normal 12px var(--mono); color: var(--green); }
.kpi svg { display: block; width: 100%; height: 34px; margin-top: 8px; }
.rows { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; }
.rows div { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); align-items: center; }
.rows div:first-child { border-top: 0; color: var(--dim); font-size: 12px; background: rgba(245,241,234,.02); }
.rows span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--ok { color: var(--green); background: rgba(74,222,128,.1); }
.tag--wait { color: var(--amber); background: rgba(245,181,68,.1); }

/* Industries strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: flex; align-items: center; gap: 40px; height: 76px; overflow: hidden; }
.strip p { flex: none; font-size: 13px; color: var(--dim); }
.strip ul { display: flex; gap: 36px; font: 500 15px var(--head); color: var(--muted); white-space: nowrap; }

/* Sections */
.section { padding: 120px 0; }
.eyebrow { font: 500 13px var(--mono); color: var(--orange-2); letter-spacing: .04em; text-transform: uppercase; }
.section__head { max-width: 680px; }
.section__head h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; }
.section__head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* Cards */
.card {
  position: relative; padding: 28px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(245,241,234,.035), rgba(245,241,234,.01));
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.card:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(245,241,234,.05), rgba(245,241,234,.015)); }
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(242,106,27,.1); border: 1px solid rgba(242,106,27,.25); color: var(--orange-2);
}
.icon svg { width: 20px; height: 20px; }
.card h3 { margin-top: 22px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* What we do: a numbered list */
.srv-list { margin-top: 56px; border-bottom: 1px solid var(--line); }
.srv { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--line); }
.srv__n { font: 500 13px var(--mono); color: var(--orange-2); letter-spacing: .04em; }
.srv h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.15; transition: color .2s; }
.srv p { color: var(--muted); font-size: 16px; max-width: 34em; }
.srv:hover h3 { color: var(--orange-2); }

/* Industries */
.work { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.sol { padding: 28px 28px 32px; }
.sol__top { display: flex; align-items: center; gap: 12px; }
.sol__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--orange-2); background: rgba(242,106,27,.1); border: 1px solid rgba(242,106,27,.25); }
.sol__ic .ico { width: 22px; height: 22px; }
.sol__k { font: 500 12px var(--mono); color: var(--orange-2); letter-spacing: .04em; text-transform: uppercase; }

/* Process: four cards; a bar along the top of each fills in turn */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.st__card { position: relative; overflow: hidden; height: 100%; padding: 30px 26px 28px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,241,234,.035), rgba(245,241,234,.01)); transition: border-color .2s; }
.st__card:hover { border-color: var(--line-2); }
.st__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.st__bar::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), var(--orange-2)); animation: stepFill 8s infinite; }
.steps .st:nth-child(2) .st__bar::after { animation-delay: 2s; }
.steps .st:nth-child(3) .st__bar::after { animation-delay: 4s; }
.steps .st:nth-child(4) .st__bar::after { animation-delay: 6s; }
@keyframes stepFill { 0% { transform: scaleX(0); opacity: 1; } 22% { transform: scaleX(1); opacity: 1; } 30%, 100% { transform: scaleX(1); opacity: 0; } }
.st__n { display: block; font: 500 13px var(--mono); letter-spacing: .04em; color: var(--orange-2); }
.steps h3 { margin-top: 16px; font-size: 19px; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Contact */
.cta {
  position: relative; overflow: hidden; border-radius: 24px; padding: 72px 56px;
  border: 1px solid rgba(242,106,27,.3);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(242,106,27,.28), transparent 65%),
    radial-gradient(500px 300px at 0% 100%, rgba(242,106,27,.1), transparent 70%),
    var(--card);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.cta h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.cta h2 span { color: var(--orange-2); }
.cta p { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 30em; }
.ways { display: grid; gap: 12px; }
.way {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px;
  background: rgba(12,10,9,.55); border: 1px solid var(--line-2);
  transition: border-color .15s, transform .15s;
}
.way:hover { border-color: rgba(242,106,27,.5); transform: translateY(-1px); }
.way .icon { flex: none; }
.way small { display: block; font-size: 12px; color: var(--muted); }
.way b { display: block; font: 500 18px var(--head); font-variant-numeric: tabular-nums; }
.way > svg { margin-left: auto; width: 18px; height: 18px; color: var(--dim); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__top img { height: 30px; width: auto; display: block; }
.footer__top p { margin-top: 14px; max-width: 26em; }
.footer nav { display: flex; gap: 56px; }
.footer h4 { margin: 0 0 12px; font: 500 13px var(--body); color: var(--text); }
.footer nav a { display: block; padding: 3px 0; }
.footer nav a:hover { color: var(--text); }
.giant { display: block; width: 100%; height: auto; margin: 72px 0 0; overflow: visible; }
.giant path { stroke: var(--text); transition: stroke .5s; }
.js .giant path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.8,.2,1), stroke .5s; }
.js .giant.in path { stroke-dashoffset: 0; }
.giant path:nth-child(2) { transition-delay: .08s, 0s; }
.giant path:nth-child(3) { transition-delay: .16s, 0s; }
.giant path:nth-child(4) { transition-delay: .26s, 0s; }
.giant path:nth-child(5) { transition-delay: .36s, 0s; }
.giant path:nth-child(6) { transition-delay: .44s, 0s; }
.giant path:nth-child(7) { transition-delay: .56s, 0s; }
.giant path:nth-child(8) { transition-delay: .68s, 0s; }
.giant path:nth-child(9) { transition-delay: .8s, 0s; }
.giant:hover path { stroke: var(--orange); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--dim); font-size: 13px; }

/* Scroll reveal: content is visible without JS; JS opts in */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .st__bar::after { animation: none; transform: scaleX(1); opacity: .5; }
}

@media (max-width: 960px) {
  .sols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 56px 40px; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav__links { display: none; }
  .nav .wrap { justify-content: space-between; height: 60px; }
  .nav__brand img { height: 28px; }
  .hero { padding-top: 56px; }
  .giant { margin-top: 48px; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .stage { margin-top: 48px; }
  .window { transform: none; }
  .pill { font-size: 12px; white-space: nowrap; }
  .app__main { padding: 18px 14px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 17px; }
  .kpi:nth-child(3) { display: none; }
  .rows div { grid-template-columns: 1.3fr 1fr .9fr; }
  .rows span:nth-child(2) { display: none; }
  .strip .wrap { height: auto; padding-top: 18px; padding-bottom: 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .strip ul { flex-wrap: wrap; gap: 8px 20px; white-space: normal; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .sols { grid-template-columns: 1fr; }
  .srv { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 26px 0; }
  .srv p { grid-column: 2; margin-top: 4px; font-size: 15px; }
  .cta { padding: 40px 20px; border-radius: 20px; }
  .way b { font-size: 16px; word-break: break-all; }
  .footer nav { gap: 40px; }
}
