/* Niori Signal — marketing site
   Brand: Niori night + warm paper + one ember orange. Outfit (text) + Space Grotesk (labels, figures). */

:root {
  --night: #080605;
  --night-2: #110e0c;
  --night-3: #1a1614;
  --night-4: #241f1c;
  --night-line: rgba(255, 245, 235, 0.09);
  --night-text: #ece7e1;
  --night-mute: #9a918a;

  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --cream: #f3ede2;
  --white: #ffffff;
  --ink: #14110f;
  --ink-2: #3a3430;
  --mute: #7d756e;
  --line: rgba(20, 17, 15, 0.12);

  --ember: #e85102;
  --ember-2: #ed731f;
  --ember-deep: #c74400;
  --ember-soft: #fbdcc6;
  --ember-tint: #fdefe4;

  --ok: #5aa676;
  --warn: #e85102;
  --def: #7f9fbd;
  --off: #6d6560;

  --sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --label: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 920px; }
.center { text-align: center; }

/* ---------- type helpers ---------- */
.eyebrow, .mono-label {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--ember);
  vertical-align: middle;
  margin: -2px 10px 0 0;
}
.eyebrow.center::before { display: none; }
.eyebrow.light, .demo .mono-label { color: var(--night-mute); }
.mono-label.ember, .ember { color: var(--ember); }

h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 300;
  color: var(--ink-2);
  max-width: 680px;
}
.lede.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-ink::after, .btn-line::after { content: "→"; }
.btn-line { border-color: rgba(20, 17, 15, .25); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 245, 235, .22); color: var(--night-text); }
.btn-ghost:hover { border-color: var(--night-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row.center { justify-content: center; }

/* ---------- Niori lockup (recolourable via mask) ---------- */
.lockup {
  display: inline-block;
  height: 22px;
  aspect-ratio: 249 / 62;
  background-color: currentColor;
  -webkit-mask: url(assets/logos/niori_lockup.svg) no-repeat left center / contain;
  mask: url(assets/logos/niori_lockup.svg) no-repeat left center / contain;
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 248, 244, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .lockup { height: 22px; }
.brand-sub {
  font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--paper);
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-family: var(--label); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
}
.nav-links a:hover { color: var(--ember); }
.nav .btn { margin-left: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 45% at 100% 38%, rgba(232, 81, 2, .22), rgba(232, 81, 2, 0) 70%),
    radial-gradient(40% 35% at 0% 70%, rgba(237, 115, 31, .14), rgba(237, 115, 31, 0) 70%),
    linear-gradient(180deg, var(--paper) 0%, #f7efe6 55%, var(--paper) 100%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-copy { text-align: center; max-width: 1000px; }
.hero-copy .eyebrow::before { display: inline-block; }
.hero h1 { margin: 0 auto 26px; max-width: 920px; }
.hero .lede { margin: 0 auto 34px; }

.hero-visual { margin-top: 70px; position: relative; }
.caption {
  font-family: var(--label); font-size: 12px; letter-spacing: .04em; color: var(--mute);
  text-align: center; margin: 22px 0 0;
}

.fleet-window {
  position: relative;
  background: var(--night-2);
  color: var(--night-text);
  border-radius: 20px;
  border: 1px solid rgba(20, 17, 15, .9);
  box-shadow: 0 50px 120px -30px rgba(80, 30, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  max-width: 1080px;
  margin: 0 auto;
}
.win-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--night-line);
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--night-4); display: block; }
.win-title { font-family: var(--label); font-size: 13px; color: var(--night-mute); letter-spacing: .04em; }
.live-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--night-text);
  padding: 5px 10px; border-radius: 999px; background: rgba(90, 166, 118, .14);
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(90, 166, 118, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(90, 166, 118, .55); } 70% { box-shadow: 0 0 0 8px rgba(90, 166, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 166, 118, 0); } }

.fleet-body { display: grid; grid-template-columns: 210px 1fr; min-height: 380px; }
.fleet-side { padding: 22px 20px; border-right: 1px solid var(--night-line); }
.fleet-side .mono-label { color: var(--night-mute); font-size: 11px; margin-bottom: 10px; }
.fleet-big { font-size: 15px; color: var(--night-mute); margin-bottom: 18px; }
.fleet-big span { font-size: 40px; font-weight: 500; color: var(--night-text); letter-spacing: -0.03em; margin-right: 4px; }
.fleet-legend, .site-list { margin-bottom: 24px; font-size: 14px; }
.fleet-legend li, .site-list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: #cfc8c1; }
.fleet-legend b, .site-list b { margin-left: auto; font-family: var(--label); font-weight: 500; color: var(--night-text); }
.fleet-legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.st-ok { background: var(--ok); } .st-warn { background: var(--warn); } .st-def { background: var(--def); } .st-off { background: var(--off); }

.fleet-grid {
  padding: 20px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  align-content: start;
}
.tile {
  position: relative;
  background: var(--night-3);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  padding: 10px 12px 12px;
  min-height: 72px;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.tile .t-id { font-family: var(--label); font-size: 11px; letter-spacing: .06em; color: var(--night-mute); }
.tile .t-val { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile .t-dot { position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.tile .t-note { display: block; font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.tile.warn { border-color: rgba(232, 81, 2, .7); background: linear-gradient(180deg, rgba(232, 81, 2, .14), rgba(232, 81, 2, .04)); }
.tile.warn .t-dot { background: var(--warn); animation: blink 1.6s infinite; }
.tile.warn .t-note { color: var(--ember-2); }
.tile.def .t-dot { background: var(--def); }
.tile.def .t-note { color: var(--def); }
.tile.off { opacity: .5; }
.tile.off .t-dot { background: var(--off); }
.tile.off .t-note { color: var(--night-mute); }
@keyframes blink { 50% { opacity: .35; } }

.float-card {
  position: absolute;
  width: 290px;
  background: rgba(250, 248, 244, .96);
  color: var(--ink);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px -18px rgba(20, 10, 0, .45);
  border: 1px solid rgba(255, 255, 255, .6);
}
.float-card .mono-label { font-size: 10.5px; margin-bottom: 8px; }
.fc-title { font-weight: 500; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
.fc-body { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.45; }
.alert-card { top: 74px; right: -48px; border-left: 3px solid var(--ember); }
.report-card { bottom: -104px; left: -48px; }
.hero-visual .caption { margin-top: 118px; }
.fc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 12px; }
.fc-stats dt { font-family: var(--label); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fc-stats dd { margin: 2px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.fc-foot { margin: 0; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.pdf { font-family: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--ink); padding: 3px 6px; border-radius: 4px; }

/* =========================================================
   SHIFT
   ========================================================= */
.shift { padding: 120px 0 110px; background: var(--paper); }
.shift-lead, .shift-turn {
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 auto;
}
.shift-lead { font-weight: 300; color: var(--mute); margin-bottom: 28px; }
.shift-turn { font-weight: 500; color: var(--ink); }

/* =========================================================
   LOGOS
   ========================================================= */
.logos { background: var(--night); padding: 34px 0 40px; overflow: hidden; }
.logos .mono-label { color: #6f6761; font-size: 11px; letter-spacing: .24em; margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 84px; padding-right: 84px; }
.logo-set img { height: 34px; width: auto; opacity: .72; transition: opacity .3s; }
.logo-set img:hover { opacity: 1; }
.logo-set img.tall { height: 58px; }
.logo-set img[alt="Gudang Kripto"], .logo-set img[alt="Nusapay"] { height: 28px; }
.logo-set img[alt="Betterplace"], .logo-set img[alt="Ikigai"] { height: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   NUMBERS
   ========================================================= */
.numbers { background: var(--paper-2); padding: 110px 0 120px; }
.numbers h2 { max-width: 760px; margin: 0 auto 60px; }
.numbers-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  max-width: 1060px; margin: 0 auto;
}
.numbers-copy { grid-row: span 2; padding-right: 30px; }
.numbers-copy p { font-size: 18px; color: var(--ink-2); margin-bottom: 28px; }
.stat-card {
  background: var(--white);
  padding: 34px 30px 26px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  min-height: 210px;
}
.stat-num {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ember);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.stat-card p:last-child { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.45; }

/* =========================================================
   DEMO
   ========================================================= */
.demo {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232, 81, 2, .14), transparent 70%),
    var(--night);
  color: var(--night-text);
  padding: 120px 0 130px;
}
.demo-head { text-align: center; margin-bottom: 56px; }
.demo-head h2 { max-width: 820px; margin: 0 auto 18px; }
.demo-head .lede { color: var(--night-mute); margin: 0 auto; }
.demo-stage { max-width: 1240px; }

.app {
  display: grid; grid-template-columns: 210px 1fr;
  background: var(--night-2);
  border: 1px solid rgba(255, 245, 235, .12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(232, 81, 2, .28), 0 0 0 6px rgba(255, 245, 235, .03);
  font-size: 14px;
}
.app-side {
  background: #0c0a09;
  border-right: 1px solid var(--night-line);
  padding: 20px 14px;
  display: flex; flex-direction: column;
}
.app-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 22px; color: var(--night-text); font-family: var(--label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.app-brand .lockup { height: 16px; }
.app-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.app-nav span {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px; color: #b9b1aa;
  border: 1px solid transparent;
  transition: opacity .35s var(--ease), border-color .35s var(--ease);
}
.app-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
.app-nav span.active { background: var(--night-4); color: var(--night-text); border-color: rgba(255, 245, 235, .1); }
.badge { margin-left: auto; font-family: var(--label); font-size: 10px; background: var(--ember); color: #fff; border-radius: 999px; padding: 1px 7px; }
.app-side .mono-label { font-size: 10px; padding: 0 10px; margin-bottom: 8px; }
.app-sites li { padding: 6px 10px; color: #a8a09a; display: flex; align-items: center; gap: 8px; }
.app-sites li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.app-sites li.on { color: var(--night-text); }
.app-sites li.on::before { background: var(--warn); }
.app-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 16px 8px 0; border-top: 1px solid var(--night-line); font-size: 13px; line-height: 1.25; }
.app-user small { display: block; color: var(--night-mute); font-size: 11px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--night-4); display: grid; place-items: center; font-family: var(--label); font-size: 11px; }

.app-main { padding: 18px 22px 22px; min-width: 0; }
.app-top { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--night-line); }
.crumbs { color: var(--night-mute); font-size: 13px; }
.crumbs i { font-style: normal; opacity: .5; margin: 0 4px; }
.crumbs b { color: var(--night-text); font-weight: 500; }
.stage-pill {
  font-family: var(--label); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(127, 159, 189, .4); color: #b8cde0;
}
.app-top .live-pill { margin-left: auto; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 14px; }
.app-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.range-tabs { display: flex; background: var(--night-3); border: 1px solid var(--night-line); border-radius: 9px; padding: 3px; }
.range-tabs span { font-family: var(--label); font-size: 12px; padding: 5px 11px; border-radius: 6px; color: var(--night-mute); white-space: nowrap; }
.range-tabs span.on { background: var(--night-4); color: var(--night-text); }

.panel {
  position: relative;
  background: var(--night-3);
  border: 1px solid var(--night-line);
  border-radius: 14px;
  padding: 14px 16px 10px;
  margin-bottom: 12px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panel-head .mono-label { margin: 0; font-size: 10.5px; }
.legend { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; font-family: var(--label); font-size: 11px; color: var(--night-mute); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: -6px; }
.l-temp { background: var(--ember-2); }
.l-limit { background: repeating-linear-gradient(90deg, #d6cfc8 0 4px, transparent 4px 7px); }
.l-def { background: rgba(127, 159, 189, .55); height: 8px !important; }
.l-c { background: #6f6862; }
.l-c2 { background: var(--ember); }

.chart { position: relative; height: 210px; }
.chart-sm { height: 92px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .axis { position: absolute; font-family: var(--label); font-size: 10px; color: #776f69; pointer-events: none; }
.chart .axis.y { left: 0; transform: translateY(-50%); }
.chart .axis.x { bottom: -16px; transform: translateX(-50%); }
.chart .band-label { position: absolute; top: 2px; font-family: var(--label); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #a9c0d6; transform: translateX(-50%); white-space: nowrap; }
.chart .now-tag {
  position: absolute; transform: translate(-100%, -50%);
  font-family: var(--label); font-size: 11px; font-weight: 500;
  background: var(--ember); color: #fff; padding: 2px 7px; border-radius: 6px; white-space: nowrap; margin-left: -12px;
}
.chart .c2-tag {
  position: absolute; transform: translate(-100%, -120%);
  font-family: var(--label); font-size: 11px; font-weight: 500; color: var(--ember-2); white-space: nowrap; margin-left: -8px;
}
.chart-panel { padding-bottom: 26px; }
.comp-panel { padding-bottom: 14px; }

.app-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 12px; padding: 12px 14px; }
.kpi-num { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-label { display: block; font-size: 12px; color: var(--night-mute); line-height: 1.3; margin-top: 2px; }
.app-next {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--night-line); border-radius: 12px; padding: 12px 14px; background: #0f0c0b; font-size: 14px;
}
.app-next .mono-label { margin: 0; font-size: 10.5px; }

/* zones, pins and focus */
[data-zone] { transition: opacity .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.app[data-focus] .app-main > [data-zone],
.app[data-focus] .app-nav [data-zone] { opacity: .32; }
.app[data-focus] [data-zone].lit { opacity: 1; border-color: rgba(232, 81, 2, .65); box-shadow: 0 0 0 3px rgba(232, 81, 2, .14); }
.app[data-focus] .app-top.lit { box-shadow: none; border-color: var(--night-line); }
.pin {
  position: absolute; top: -9px; right: -9px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--label); font-size: 11px; font-weight: 700;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 4px rgba(250, 248, 244, .14);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.app-top .pin { top: -4px; right: auto; left: -30px; }
.lit > .pin { background: var(--ember); color: #fff; transform: scale(1.12); }

.callouts {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: -46px 28px 0;
}
.callout {
  width: 100%; height: 100%;
  text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(250, 248, 244, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.callout .num {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--label); font-size: 11px; font-weight: 700;
  background: var(--ink); color: var(--paper); margin-bottom: 6px;
  transition: background .3s;
}
.c-title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.c-body { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.callout.active { transform: translateY(-6px); background: #fff; box-shadow: 0 30px 60px -20px rgba(232, 81, 2, .45); }
.callout.active .num { background: var(--ember); }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey { position: relative; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.journey-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(237, 115, 31, .22), transparent 70%),
    radial-gradient(35% 30% at 100% 70%, rgba(232, 81, 2, .12), transparent 70%);
}
.journey h2 { max-width: 760px; margin: 0 auto 18px; }
.journey .lede { margin-bottom: 56px; }
.journey-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 40px 40px;
  max-width: 1080px; margin: 0 auto;
  box-shadow: 0 30px 80px -40px rgba(80, 30, 0, .3);
}
.journey-card > .mono-label { font-size: 11px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: f; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 2px; text-align: center; padding: 14px 12px; border-radius: 12px; font-size: 14px; }
.flow li b { font-weight: 500; font-size: 16px; }
.flow li span { color: var(--mute); line-height: 1.35; }
.flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
  color: var(--mute); font-size: 16px;
}
.flow-old li { background: var(--paper-2); }
.flow-old li span { color: #8f8780; }

.flow-new {
  display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 20px;
  margin-top: 44px;
  background: linear-gradient(90deg, var(--ember-tint), #fbe2cf 55%, var(--ember-tint));
  border-radius: 16px;
  padding: 22px 26px;
  position: relative;
}
.flow-new::before {
  content: ""; position: absolute; left: 50%; top: -44px; height: 44px; width: 1px;
  background: repeating-linear-gradient(180deg, rgba(20, 17, 15, .25) 0 4px, transparent 4px 8px);
}
.flow-brand { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.flow-brand .lockup { height: 20px; }
.flow-new .flow li { padding: 6px 4px; }
.flow-new .flow li span { color: var(--ink-2); }
.flow-new .flow li:not(:last-child)::after { color: var(--ember); }
.outcomes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; }
.outcomes li {
  font-weight: 500; font-size: 15px;
  background: var(--ember-soft); color: #7a2c00;
  padding: 10px 20px; border-radius: 10px;
}
.tagline { margin-top: 56px; color: var(--ink-2); font-size: 13px; letter-spacing: .14em; }

/* =========================================================
   PILLARS
   ========================================================= */
.pillars { background: #171312; color: var(--night-text); padding: 120px 0 130px; }
.pillars .mono-label { color: var(--night-mute); }
.mega {
  font-size: clamp(58px, 10.5vw, 156px);
  line-height: .92;
  letter-spacing: -0.05em;
  color: #e9e3dc;
  margin: 10px 0 70px;
}
.pillar-rows { border-top: 1px solid var(--night-line); max-width: 1000px; }
.pillar {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid var(--night-line);
}
.pillar .mono-label { margin: 6px 0 0; font-size: 11.5px; }
.pillar-title { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; color: #f3eee8; }
.pillar p:not(.pillar-title):not(.mono-label) { color: #a9a09a; margin: 0; max-width: 600px; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 80px; }
.ops-grid > div { border-top: 2px solid var(--ember); padding-top: 18px; }
.ops-title { font-size: 19px; font-weight: 500; margin-bottom: 6px; color: #f3eee8; }
.ops-grid p:not(.ops-title) { color: #a9a09a; font-size: 15px; margin: 0; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries { padding: 120px 0; }
.industries h2 { max-width: 760px; margin-bottom: 50px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind-grid li { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .3s; }
.ind-grid li:hover { background: #fff; }
.ind-title { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.ind-grid li p:not(.ind-title) { font-size: 15px; color: var(--mute); margin: 0; line-height: 1.45; }
.ind-ask { background: var(--ember-tint) !important; }
.ind-ask a { display: inline-block; margin-top: 12px; color: var(--ember); font-weight: 500; text-decoration: none; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--cream); padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; }
.about-lead { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 24px; color: #2a1a12; }
.about-grid p:not(.about-lead):not(.eyebrow):not(.mono-label) { color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.stack { display: flex; flex-direction: column; }
.stack-card { border-radius: 14px; padding: 22px 26px 24px; position: relative; }
.stack-card + .stack-card { margin-top: -10px; }
.stack-card .mono-label { margin-bottom: 8px; font-size: 11px; color: #6a5a50; border-top: 2px solid rgba(232, 81, 2, .35); padding-top: 14px; }
.s1 { background: #fffdf8; }
.s2 { background: #fbe4d4; }
.s3 { background: var(--ember-2); color: #2a1206; }
.s3 .mono-label { color: #5a2508; border-top-color: rgba(42, 18, 6, .3); }
.stack-val { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.stack-num { font-size: 72px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 6px 0 0; }

/* =========================================================
   GET STARTED
   ========================================================= */
.start { background: var(--night); color: var(--night-text); padding: 120px 0; }
.start .mono-label { color: var(--night-mute); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.start h2 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 22px; }
.start-copy > p { color: #c3bbb4; max-width: 520px; }
.start-copy .small { font-size: 14px; color: var(--night-mute); margin-bottom: 28px; }
.steps { margin-top: 40px; border-top: 1px solid var(--night-line); }
.steps button {
  display: flex; align-items: center; gap: 22px; width: 100%;
  background: none; border: 0; border-bottom: 1px solid var(--night-line);
  padding: 15px 4px; text-align: left; cursor: pointer;
  color: var(--night-mute); font-size: 16px;
  transition: color .25s;
}
.steps button span { font-family: var(--label); font-size: 12px; color: #6f6761; width: 22px; }
.steps button[aria-selected="true"] { color: var(--night-text); font-weight: 500; }
.steps button[aria-selected="true"] span { color: var(--ember); }
.steps button:hover { color: var(--night-text); }

.step-stage {
  position: relative;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 20px;
  padding: 32px 34px 34px;
  min-height: 560px;
}
.dot-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-bottom: 34px; }
.dot-grid i {
  aspect-ratio: 1; border-radius: 8px;
  background: var(--night-3); border: 1px solid var(--night-line);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.dot-grid i.on { background: rgba(232, 81, 2, .22); border-color: rgba(232, 81, 2, .7); }
.dot-grid i.on.glow { box-shadow: 0 0 18px rgba(232, 81, 2, .35); }
.step-panel h3 { font-size: 28px; margin-bottom: 12px; letter-spacing: -0.02em; }
.step-panel p:not(.mono-label) { color: #c3bbb4; }
.step-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--night-line); }
.step-panel dt { font-family: var(--label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 4px; }
.step-panel dd { margin: 0; font-size: 16px; }
.step-panel:not([hidden]) { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--white); padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-side h2 { font-size: clamp(30px, 3.4vw, 44px); }
.faq-side p { color: var(--mute); max-width: 340px; margin-bottom: 26px; }
.faq-side { align-self: start; position: sticky; top: 110px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 22px;
  padding: 26px 0;
  font-size: clamp(21px, 2.3vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "+"; flex: none; width: 24px;
  font-weight: 300; font-size: 30px; line-height: .9; color: var(--ink);
  transition: transform .3s var(--ease), color .3s;
}
.faq-list details[open] summary::before { transform: rotate(45deg); color: var(--ember); }
.faq-list details p { margin: -8px 0 28px 46px; color: var(--ink-2); max-width: 600px; font-size: 16px; }

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */
.contact { background: var(--paper); padding: 120px 0 80px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.mega-ink { font-size: clamp(50px, 7.8vw, 118px); line-height: .95; letter-spacing: -0.05em; margin: 0; }
.contact-copy p { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }

.footer { background: var(--paper); padding: 40px 0 34px; overflow: hidden; }
.foot-mark { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 30px; }
.foot-word {
  margin: 0;
  font-size: clamp(64px, 14.4vw, 214px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: .86;
  color: var(--ink);
  white-space: nowrap;
}
.foot-copy { font-family: var(--label); font-size: clamp(16px, 1.8vw, 26px); font-weight: 500; margin: 6px 0 0; white-space: nowrap; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; margin-top: 56px; align-items: start; }
.foot-note { color: var(--mute); font-size: 14px; max-width: 360px; margin: 0; }
.foot-cols div { display: flex; flex-direction: column; gap: 4px; }
.foot-cols div a { font-size: 20px; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.foot-cols div a:hover { color: var(--ember); }
.foot-cols .mono-label { font-size: 11px; margin-bottom: 8px; }
.clock { margin: 0; white-space: nowrap; font-size: 11px; }
.clock b { color: var(--ink); font-weight: 700; margin-left: 6px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1181px) {
  .app-main { padding-bottom: 70px; }
  .app-side { padding-bottom: 70px; }
}

@media (max-width: 1180px) {
  .alert-card { right: -12px; }
  .report-card { left: -12px; }
  .callouts { grid-template-columns: repeat(2, 1fr); margin: 20px 0 0; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-copy { grid-column: 1 / -1; grid-row: auto; padding: 0 0 14px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }
  .flow li:nth-child(2)::after { display: none; }
  .flow-new { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .start-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .faq-side { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-note { grid-column: 1 / -1; }
  .step-stage { min-height: 0; }
}

@media (max-width: 760px) {
  .fleet-body { grid-template-columns: 1fr; min-height: 0; }
  .fleet-side { display: none; }
  .fleet-grid { grid-template-columns: repeat(4, 1fr); padding: 14px; gap: 8px; }
  .float-card { position: relative; inset: auto; width: auto; margin: 12px 0 0; }
  .alert-card { margin-top: 0; border-radius: 0 0 16px 16px; box-shadow: none; }
  .report-card { margin: 14px 0 0; }
  .hero-visual .caption { margin-top: 22px; }
  .fleet-window { border-radius: 16px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 116px 0 60px; }
  .hero-visual { margin-top: 48px; }
  .shift, .numbers, .demo, .journey, .pillars, .industries, .about, .start, .faq, .contact { padding-top: 84px; padding-bottom: 84px; }
  .brand-sub { font-size: 11px; }
  .nav .btn-sm { padding: 9px 14px; font-size: 14px; }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .tile:nth-child(-n+8), .tile:nth-child(n+21) { display: none; }
  .numbers-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 0; }
  .app-main { padding: 14px 14px 16px; }
  .app-top .pin { left: auto; right: -4px; top: -6px; }
  .app-head h3 { font-size: 18px; }
  .range-tabs { display: none; }
  .chart { height: 170px; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .callouts { grid-template-columns: 1fr; }
  .journey-card { padding: 26px 18px; border-radius: 18px; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow li::after { content: "↓" !important; display: block !important; right: auto !important; left: 50%; top: auto !important; bottom: -24px; transform: translateX(-50%) !important; }
  .flow li:last-child::after { display: none !important; }
  .flow-new { padding: 20px 16px; }
  .outcomes { gap: 10px; }
  .pillar { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; }
  .ops-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .ind-grid { grid-template-columns: 1fr; }
  .step-stage { padding: 22px 18px 24px; }
  .dot-grid { gap: 7px; }
  .step-panel dl { grid-template-columns: 1fr; }
  .faq-list details p { margin-left: 0; }
  .foot-mark { flex-direction: column; gap: 6px; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-set[aria-hidden="true"] { display: none; }
  .logo-set { flex-wrap: wrap; justify-content: center; gap: 40px 60px; padding: 0 16px; }
}
