/* =====================================================================
   SetuERP · one-page site
   Fresh identity: ink ground, paper body, amber signal accent.
   ===================================================================== */

:root {
  /* ground + text */
  --ink: #0A0F1C;
  --ink-2: #121A2B;
  --ink-3: #1B2538;
  --paper: #F6F5F1;
  --paper-2: #FFFFFF;
  --paper-3: #EEECE5;
  --text: #0F1629;
  --text-2: #4A5261;
  --text-3: #7A8291;
  --line: rgba(15, 22, 41, 0.10);
  --line-strong: rgba(15, 22, 41, 0.18);
  --line-light: rgba(255, 255, 255, 0.12);

  /* signal */
  --amber: #FFB01F;
  --amber-deep: #E5960A;
  --amber-ink: #8A5A00;
  --amber-soft: rgba(255, 176, 31, 0.14);
  --blue: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --green: #16A34A;
  --green-soft: rgba(22, 163, 74, 0.14);
  --red: #DC2626;
  --red-soft: rgba(220, 38, 38, 0.12);

  /* type */
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: ease;

  /* layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-variation-settings: "opsz" 96;
}
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
h4 { font-size: 17px; letter-spacing: -0.005em; }
.mono { font-family: var(--font-mono); font-size: 0.82em; letter-spacing: 0; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 8px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 140px); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 300ms ease; }
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--amber); border-radius: 2px; }
.eyebrow--light { color: var(--amber); }
.eyebrow__deva { font-family: var(--font-body); font-size: 15px; text-transform: none; letter-spacing: 0; color: #fff; }
.eyebrow__sep { width: 1px; height: 12px; background: var(--line-light); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn__arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #FFC24D; }
  .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
  .btn--ghost:hover .btn__arrow { transform: translateY(2px); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  color: #fff;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  color: var(--text);
  background: rgba(246, 245, 241, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand__mark { width: 28px; height: 28px; }
.brand__dot { fill: var(--amber); }
.brand__word span { font-weight: 400; opacity: 0.75; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; opacity: 0.78;
  transition: opacity 160ms var(--ease), background-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }
}
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--amber);
}
.nav .btn--accent { display: inline-flex; }
.nav__toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 220ms var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 2px;
  padding: 8px var(--gutter) 18px;
  background: var(--paper); color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 12px 6px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile-cta { color: var(--amber-ink); }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--accent { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile:not([hidden]) { display: flex; }
  .nav.is-open { color: var(--text); background: var(--paper); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  background: var(--ink); color: #fff;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vh, 90px));
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -10%;
  width: 90vw; height: 55vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 176, 31, 0.22), rgba(255, 176, 31, 0.05) 45%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  max-width: 1000px; margin-left: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.hero__title {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 600; line-height: 0.98; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
  margin-bottom: 26px;
}
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lede { max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.72); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 14px; height: 14px; border-radius: 50%; background: var(--amber-soft); position: relative; }
.tick::after { content: ""; position: absolute; left: 4px; top: 3px; width: 4px; height: 7px; border: solid var(--amber); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.bridge { position: relative; margin-top: auto; z-index: 1; padding-top: 12px; }
.bridge__svg { width: 100%; height: clamp(160px, 26vh, 300px); }
.bridge__legend {
  position: absolute; right: var(--gutter); top: 8px;
  display: flex; gap: 18px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.5);
}
.bridge__legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend__dot { width: 8px; height: 8px; border-radius: 50%; }
.legend__dot--amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.legend__dot--blue { background: #9FD3FF; box-shadow: 0 0 8px #9FD3FF; }
.draw { transition: stroke-dashoffset 1800ms var(--ease-in-out); }
.bridge__freight, .bridge__data, .bridge__hangers { opacity: 0; transition: opacity 900ms var(--ease) 1400ms; }
.hero.is-drawn .bridge__freight, .hero.is-drawn .bridge__data, .hero.is-drawn .bridge__hangers { opacity: 1; }

.ticker {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-light);
  background: rgba(10, 15, 28, 0.6);
  overflow: hidden; height: 44px; display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; gap: 48px; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 48px; }
.ticker__track span { font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,0.55); display: inline-flex; align-items: center; gap: 12px; }
.ticker__track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); opacity: 0.8; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

@media (max-width: 720px) {
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero__title br { display: none; }
  .hero__title { font-size: clamp(38px, 11.5vw, 56px); }
  .bridge__legend { display: none; }
  .btn { height: 48px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ---------- section heads ---------- */
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { margin-bottom: 18px; }
.section__lede { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 620px; }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section__head--row h2 { margin-bottom: 0; }
@media (max-width: 860px) { .section__head--row { grid-template-columns: 1fr; gap: 16px; } }

.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber-soft);
}
.checklist li::after {
  content: ""; position: absolute; left: 5.5px; top: 7px; width: 4px; height: 8px;
  border: solid var(--amber-deep); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}

/* ---------- journey ---------- */
.journey { background: var(--paper); border-top: 1px solid var(--line); }
.journey__track { position: relative; }
.journey__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px;
  counter-reset: step;
}
.step { position: relative; padding-top: 22px; }
.step__node {
  position: absolute; top: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line-strong);
  transform: translateY(-50%);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
  transition-delay: var(--sd, 0ms);
}
.step__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); transition: color 300ms var(--ease); transition-delay: var(--sd, 0ms); }
/* connector: line from node to the right edge of the cell (+ gap) */
.step::before {
  content: ""; position: absolute; top: 0; left: 44px; right: -28px; height: 1px;
  background: var(--line-strong);
}
.step::after {
  content: ""; position: absolute; top: 0; left: 44px; right: -28px; height: 1px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--ease-in-out);
  transition-delay: var(--sd, 0ms);
}
.step:nth-child(4n)::before, .step:nth-child(4n)::after { right: 0; }
.is-in .step::after { transform: scaleX(1); }
.is-in .step__node { border-color: var(--amber); background: var(--paper-2); box-shadow: 0 0 0 4px var(--amber-soft); }
.is-in .step__num { color: var(--amber-ink); }
.step h3 { margin: 30px 0 10px; }
.step p { font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 1000px) {
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(4n)::before, .step:nth-child(4n)::after { right: -28px; }
  .step:nth-child(2n)::before, .step:nth-child(2n)::after { right: 0; }
}
@media (max-width: 560px) {
  .journey__steps { grid-template-columns: 1fr; gap: 28px; }
  .step::before, .step::after { right: 0; }
}

/* ---------- modules ---------- */
.modules { background: var(--paper-2); border-top: 1px solid var(--line); }
.modules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod {
  position: relative; padding: 24px 22px 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .mod:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 14px 30px -18px rgba(15, 22, 41, 0.25); }
  .mod:hover .mod__icon { background: var(--amber); color: var(--ink); }
}
.mod__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber-ink);
  margin-bottom: 20px;
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
}
.mod__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mod h3 { font-size: 18px; margin-bottom: 8px; }
.mod p { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 1080px) { .modules__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .modules__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modules__grid { grid-template-columns: 1fr; } }

/* ---------- insight (dashboard) ---------- */
.insight { background: var(--paper); border-top: 1px solid var(--line); }
.insight__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.insight__copy h2 { margin-bottom: 18px; }

.dash {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 20px; border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 40px 80px -40px rgba(10, 15, 28, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  position: relative;
}
.dash__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.dash__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.6); }
.dash__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,0.6); animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.dash__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 12px; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.tile--warn { border-color: rgba(255, 176, 31, 0.35); }
.tile__label { font-size: 11.5px; color: rgba(255,255,255,0.55); }
.tile__value { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile__delta { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.45); }
.tile__delta--up { color: #4ADE80; }
.tile__delta--warn { color: var(--amber); }
.dash__chart { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 12px; padding: 12px 12px 6px; margin-bottom: 12px; }
.dash__chart-head { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.spark { width: 100%; height: 80px; }
.spark__line { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1600ms var(--ease-in-out) 200ms; }
.spark__area { opacity: 0; transition: opacity 800ms var(--ease) 900ms; }
.is-in .spark__line { stroke-dashoffset: 0; }
.is-in .spark__area { opacity: 1; }
.dash__list { display: grid; gap: 6px; }
.dash__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 9px 12px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line-light);
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.dash__row .mono { color: var(--amber); font-size: 11px; }
.dash__note { position: absolute; right: 20px; bottom: -26px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em;
  background: rgba(127,127,127,0.18); color: inherit; white-space: nowrap;
}
.chip--amber { background: var(--amber-soft); color: var(--amber); }
.chip--red { background: var(--red-soft); color: #F87171; }
.chip--green { background: var(--green-soft); color: #4ADE80; }
.chip--blue { background: var(--blue-soft); color: #60A5FA; }

@media (max-width: 960px) {
  .insight__grid { grid-template-columns: 1fr; }
  .dash { max-width: 640px; }
}
@media (max-width: 520px) { .dash__tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- why ---------- */
.why { background: var(--paper-2); border-top: 1px solid var(--line); }
.why__grid { display: grid; gap: 24px; }
.pillar {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
}
.pillar--flip .pillar__visual { order: 2; }
.pillar__index { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--amber-ink); margin-bottom: 14px; }
.pillar__body h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; letter-spacing: -0.02em; }
.pillar__body > p { color: var(--text-2); font-size: 16.5px; }
.pillar__points { margin-top: 22px; display: grid; gap: 10px; }
.pillar__points li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); }
.pillar__points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--amber); border-radius: 2px; }
.pillar__visual { display: grid; place-items: center; }

/* mock: LR entry form */
.mock {
  width: 100%; max-width: 420px;
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 30px 60px -36px rgba(15, 22, 41, 0.35);
  overflow: hidden; font-size: 14px;
}
.mock--form { padding: 10px; }
.mock__field {
  display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px;
  padding: 12px 12px; border-radius: 10px;
  border: 1px solid transparent;
}
.mock__field + .mock__field { margin-top: 4px; }
.mock__field--active { border-color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 3px rgba(255,176,31,0.14); }
.mock__label { font-size: 12px; color: var(--text-3); }
.mock__value { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mock__value em { font-style: normal; font-weight: 400; color: var(--text-2); }
.seg { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-strong); font-weight: 500; font-size: 12.5px; color: var(--text-2); }
.seg--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.scan-ok { width: 14px; height: 14px; border-radius: 50%; background: var(--green-soft); position: relative; display: inline-block; }
.scan-ok::after { content: ""; position: absolute; left: 4.5px; top: 2.5px; width: 3.5px; height: 7px; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mock__kbd { display: flex; gap: 10px; align-items: center; padding: 12px 12px 6px; font-size: 12px; color: var(--text-3); }
.mock__kbd kbd { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--paper); color: var(--text-2); }

/* mock: rules */
.mock--rules { padding: 0; }
.mock__rules-head { padding: 12px 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.rule { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.rule:last-of-type { border-bottom: 0; }
.switch {
  flex: none; position: relative; width: 38px; height: 22px; border-radius: 999px;
  background: var(--paper-3); border: 1px solid var(--line-strong);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(15,22,41,0.25);
  transition: transform 220ms var(--ease-out);
}
.switch[data-on="true"] { background: var(--ink); border-color: var(--ink); }
.switch[data-on="true"]::after { transform: translateX(16px); }
.mock__rules-foot { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 11px; background: var(--paper); }

@media (max-width: 860px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar--flip .pillar__visual { order: 0; }
}

/* ---------- connect ---------- */
.connect { background: var(--paper); border-top: 1px solid var(--line); }
.connect__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.connect__copy h2 { margin-bottom: 18px; }
.connect__points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; }
.point h4 { margin-bottom: 6px; }
.point p { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.hub__svg { width: 100%; height: auto; }
.hub__node rect { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1; }
.hub__node text { font-family: var(--font-body); font-size: 14px; font-weight: 600; fill: var(--text); }
.hub__node .hub__sub { font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; fill: var(--text-3); }
.hub__node--center rect { stroke: none; }
.hub__pulse { opacity: 0; transition: opacity 600ms var(--ease) 400ms; }
.is-in .hub__pulse { opacity: 1; }
@media (max-width: 960px) { .connect__grid { grid-template-columns: 1fr; } .hub { max-width: 560px; } }
@media (max-width: 520px) { .connect__points { grid-template-columns: 1fr; } }

/* ---------- customers (portal) ---------- */
.customers { background: var(--paper-2); border-top: 1px solid var(--line); }
.customers__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.customers__copy h2 { margin-bottom: 18px; }
.portal {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(15, 22, 41, 0.35);
  font-size: 14px;
}
.portal__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.portal__dots { display: inline-flex; gap: 5px; }
.portal__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--line-strong); }
.portal__url { color: var(--text-3); font-size: 11.5px; }
.portal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 12px; }
.portal__kicker { display: block; font-size: 12px; color: var(--text-3); }
.portal__head strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.portal__search { font-size: 11px; color: var(--text-3); padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper-2); }
.portal__list { display: grid; gap: 4px; padding: 0 10px 12px; }
.ship {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 10px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line);
}
.ship__lr { font-size: 12px; color: var(--text); }
.ship__route { color: var(--text-2); font-size: 13.5px; }
.ship .chip--green { color: #15803D; }
.ship .chip--blue { color: #1D4ED8; }
.ship .chip--amber { color: var(--amber-ink); }
.ship__acts { display: inline-flex; gap: 4px; }
.ship__acts b { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text); background: var(--paper); }
.ship__acts b.is-dim { opacity: 0.35; }
@media (max-width: 960px) { .customers__grid { grid-template-columns: 1fr; } .portal { order: 2; max-width: 620px; } }
@media (max-width: 520px) {
  .ship { grid-template-columns: 1fr auto; }
  .ship__route { grid-column: 1 / -1; }
  .portal__search { display: none; }
}

/* ---------- mobile ---------- */
.mobile { background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.mobile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.mobile__copy h2 { margin-bottom: 18px; }
.mobile__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; }
.fact { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.fact strong { font-family: var(--font-display); font-size: 17px; }
.fact span { font-size: 14px; color: var(--text-2); }

.phones { position: relative; height: 520px; }
.phone {
  position: absolute; width: 250px; height: 500px;
  background: var(--ink); border-radius: 34px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(10,15,28,0.6), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.phone--front { left: 50%; top: 20px; transform: translateX(-20%); z-index: 2; }
.phone--back { left: 50%; top: 0; transform: translateX(-90%) scale(0.92); opacity: 0.85; }
.phone__screen { height: 100%; border-radius: 24px; background: var(--ink-2); color: #fff; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-light); }
.phone__top .mono { color: rgba(255,255,255,0.5); font-size: 10.5px; }
.phone__scanner { position: relative; height: 150px; border-radius: 14px; background: linear-gradient(180deg, #0f172a, #0b1120); overflow: hidden; border: 1px solid var(--line-light); }
.phone__reticle { position: absolute; inset: 22px 34px; }
.phone__reticle i { position: absolute; width: 18px; height: 18px; border: 2px solid var(--amber); }
.phone__reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.phone__reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.phone__reticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.phone__reticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.phone__laser { position: absolute; left: 34px; right: 34px; top: 22px; height: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: laser 2.2s var(--ease-in-out) infinite alternate; }
@keyframes laser { to { transform: translateY(104px); } }
.phone__scanlog { display: grid; gap: 5px; }
.scanrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-light); font-size: 12px; }
.scanrow .mono { font-size: 11px; }
.scanrow--warn { border-color: rgba(220,38,38,0.4); }
.scanrow--warn b { font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; color: #F87171; }
.phone__count { margin-top: auto; text-align: center; font-size: 13px; color: rgba(255,255,255,0.6); padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.phone__count b { color: var(--amber); font-family: var(--font-display); font-size: 18px; }
.phone__stop { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid transparent; font-size: 12px; }
.phone__stop--now { background: rgba(255,176,31,0.08); border-color: rgba(255,176,31,0.3); }
.phone__stop b { display: block; font-weight: 600; }
.phone__stop span { color: rgba(255,255,255,0.5); font-size: 11px; }
.stop-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); flex: none; }
.stop-dot--done { background: var(--green); border-color: var(--green); }
.stop-dot--now { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,176,31,0.2); }
@media (max-width: 960px) {
  .mobile__grid { grid-template-columns: 1fr; }
  .phones { height: 540px; max-width: 520px; margin-inline: auto; }
  .phone--front { transform: translateX(-30%); }
  .phone--back { transform: translateX(-80%) scale(0.92); }
}
@media (max-width: 520px) {
  .mobile__facts { grid-template-columns: 1fr; }
  .phones { height: 520px; }
  .phone--back { display: none; }
  .phone--front { left: 50%; transform: translateX(-50%); }
}

/* ---------- rollout ---------- */
.rollout { background: var(--paper-2); border-top: 1px solid var(--line); }
.rollout__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.rstep { position: relative; padding-top: 22px; }
.rstep::before { content: ""; position: absolute; left: 0; right: -24px; top: 0; height: 1px; background: var(--line-strong); }
.rstep:last-child::before { right: 0; }
.rstep__num {
  position: absolute; top: 0; left: 0; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--amber); font-family: var(--font-mono); font-size: 13px;
}
.rstep h3 { margin: 26px 0 8px; font-size: 20px; }
.rstep p { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 1000px) { .rollout__steps { grid-template-columns: repeat(3, 1fr); } .rstep:nth-child(3)::before { right: 0; } }
@media (max-width: 640px) { .rollout__steps { grid-template-columns: 1fr; gap: 20px; } .rstep::before { right: 0; } }

/* ---------- demo ---------- */
.demo { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.demo__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 20%, transparent 100%);
}
.demo__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo__copy h2 { margin-bottom: 18px; font-size: clamp(34px, 4.5vw, 54px); }
.demo__copy > p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 480px; }
.demo__copy a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,176,31,0.4); }
.demo__promise { margin-top: 28px; display: grid; gap: 10px; }
.demo__promise li { position: relative; padding-left: 24px; color: rgba(255,255,255,0.85); font-size: 15.5px; }
.demo__promise li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1.5px; background: var(--amber); }

.form { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.72); }
.field small { font-weight: 400; color: rgba(255,255,255,0.4); margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,0.14); border-radius: 10px;
  font: inherit; font-size: 15px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 88px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,176,31,0.18); }
.field.is-invalid input { border-color: #F87171; }
.form__foot { display: grid; gap: 10px; margin-top: 4px; }
.btn__content { display: inline-flex; align-items: center; gap: 8px; transition: filter 200ms var(--ease), opacity 200ms var(--ease); }
.btn.is-busy .btn__content { filter: blur(2px); opacity: 0.6; }
.btn.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.form__status { font-size: 13.5px; color: rgba(255,255,255,0.6); min-height: 1.4em; }
.form__status.is-error { color: #F87171; }
.form__status.is-ok { color: #4ADE80; }
@media (max-width: 900px) { .demo__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); border-top: 1px solid var(--line-light); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.footer__brand p { margin-top: 14px; max-width: 320px; font-size: 14.5px; color: rgba(255,255,255,0.55); }
.brand--light { color: #fff; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.footer__col h5 { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.footer__col a { transition: color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--amber); } }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,0.45); }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }
