/* Civil 360 website. One file, no framework. Tokens first; components follow the order they appear on pages. */
:root {
  --ink: #13293d; --ink-2: #1d3850; --ink-3: #2a4762;
  --steel: #4f5d6d; --mut: #687585;
  --paper: #f3f5f7; --surface: #fff; --line: #dbe1e7; --line-2: #e8ecf0;
  --amber: #f5b800; --amber-2: #ffcb2e; --amber-ink: #7a5900; --amber-soft: #fff3c7;
  --ok: #1d7f53; --ok-soft: #e1f2e9; --warn: #b93d29; --warn-soft: #fbe8e3; --blue: #2b679b; --blue-soft: #e4eef7;
  --display: "Archivo", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 16px; --r-md: 10px; --r-sm: 7px;
  --shadow: 0 1px 2px rgba(19, 41, 61, .06), 0 8px 24px -12px rgba(19, 41, 61, .18);
  --shadow-lg: 0 2px 4px rgba(19, 41, 61, .05), 0 30px 60px -28px rgba(19, 41, 61, .35);
  --wrap: 1200px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.mt { margin-top: 48px; }
.mut { color: var(--mut); font-size: .875rem; }
.fine { color: var(--mut); font-size: .8125rem; line-height: 1.5; margin: 14px 0 0; }
.i { width: 20px; height: 20px; flex: none; }
.i--s { width: 16px; height: 16px; }

/* Type: Archivo semi-condensed for display (the voice of drawings and site boards), Plus Jakarta for reading (the app's face). */
.display, .h1, .h2, .h3, .h4 { font-family: var(--display); font-stretch: 84%; letter-spacing: -.012em; margin: 0; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.5rem, 4.9vw, 4rem); line-height: 1.02; font-weight: 750; }
.h1 { font-size: clamp(2.1rem, 3.7vw, 3.05rem); line-height: 1.06; font-weight: 720; }
.h2 { font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.12; font-weight: 700; }
.h3 { font-size: 1.4rem; line-height: 1.2; font-weight: 700; }
.h4 { font-size: 1.08rem; line-height: 1.3; font-weight: 680; font-stretch: 90%; letter-spacing: 0; }
.lede { font-size: 1.075rem; color: var(--steel); margin: 14px 0 0; max-width: 62ch; text-wrap: pretty; }
.lede--lg { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
.lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lnk:hover { text-decoration-color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-md); border: 1px solid transparent; font-weight: 650; font-size: .96rem; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .875rem; border-radius: var(--r-sm); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Badges and tier chips */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: .75rem; font-weight: 650; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--soon { background: var(--amber-soft); color: var(--amber-ink); }
.tierchips { display: inline-flex; gap: 3px; }
.tierchip { font-size: .6875rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; color: #9aa5b1; background: var(--line-2); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.tierchip.on { color: var(--ink); background: var(--amber-soft); text-decoration: none; }
.demotag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; border: 1px dashed #b8c2cc; color: var(--mut); font-size: .72rem; font-weight: 600; white-space: nowrap; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.hdr__brand { display: flex; flex: none; }
.logo { height: 26px; width: auto; }
.hdr__nav { flex: 1; }
.menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.menu__item { position: relative; }
.menu__top { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: .925rem; font-weight: 600; color: var(--steel); text-decoration: none; }
.menu__top:hover, .menu__item.open > .menu__top, .menu__top[aria-current] { color: var(--ink); background: var(--paper); }
.menu__top .i { transition: transform .2s; }
.menu__item.open > .menu__top .i { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s var(--ease), visibility .16s; }
.menu__item.open > .dd, .menu__item:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd--wide { width: 720px; display: grid; grid-template-columns: 220px 1fr; gap: 8px; }
.dd__lead a { display: block; height: 100%; padding: 18px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.dd__lead strong { display: block; font-family: var(--display); font-stretch: 86%; font-size: 1.2rem; margin-bottom: 6px; }
.dd__lead span { font-size: .85rem; color: #c7d2dd; }
.dd__grid, .dd__list { list-style: none; margin: 0; padding: 0; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd__grid a, .dd__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 550; color: var(--ink); }
.dd__grid a .i { color: var(--steel); }
.dd__grid a:hover, .dd__list a:hover { background: var(--paper); }
.dd__list a { justify-content: space-between; }
.dd__list small { color: var(--mut); font-size: .75rem; }
.hdr__act { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr__signin { font-size: .925rem; text-decoration: none; }
.hdr__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.mnav { border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100dvh - 68px); overflow: auto; padding: 8px 0 24px; }
.mnav details { border-bottom: 1px solid var(--line-2); }
.mnav summary { list-style: none; padding: 14px 0; font-weight: 650; cursor: pointer; display: flex; justify-content: space-between; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; color: var(--mut); }
.mnav details[open] summary::after { content: "−"; }
.mnav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mnav li a { display: block; padding: 9px 0; color: var(--steel); text-decoration: none; }
.mnav__l { display: block; padding: 14px 0; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

/* Sections */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec--tight { padding: clamp(32px, 4vw, 56px) 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #e6ecf2; }
.sec--ink .h2, .sec--ink .h3 { color: #fff; }
.sec--ink .lede { color: #b9c6d3; }
.sechead { margin-bottom: 40px; }
.sechead--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--form { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; background:
  linear-gradient(var(--surface), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, var(--surface)),
  repeating-linear-gradient(0deg, transparent 0 43px, rgba(19, 41, 61, .045) 43px 44px),
  repeating-linear-gradient(90deg, transparent 0 43px, rgba(19, 41, 61, .045) 43px 44px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ent { margin: 22px 0 0; color: var(--mut); font-size: .925rem; }
.hero__vis { margin: 0; }

/* App window composite */
.appwin { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.appwin__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fbfcfd; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.appwin__title { font-weight: 650; font-size: .85rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appwin__body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; padding: 14px; background: var(--paper); }
.tile { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; min-width: 0; }
.tile__h { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; color: var(--steel); margin-bottom: 10px; gap: 8px; }
.tile__h > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.tile .mut { font-size: .74rem; font-weight: 550; }
.pill { background: var(--amber); color: var(--ink); font-size: .7rem; padding: 1px 7px; border-radius: 99px; }
.mini { width: 100%; height: auto; }
.grid { stroke: var(--line-2); stroke-width: 1; }
.ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ln--plan { stroke: #9fb0c1; stroke-dasharray: 5 5; stroke-width: 2; }
.ln--earn { stroke: var(--amber); }
.ln--act { stroke: var(--ink); stroke-width: 2; }
.today { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .5; }
.kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.kv3 div { display: flex; flex-direction: column; }
.kv3 b { font-family: var(--display); font-stretch: 86%; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.kv3 .amb { color: var(--amber-ink); }
.kv3 span { font-size: .72rem; color: var(--mut); }
.mrow { display: grid; grid-template-columns: 92px 1fr 40px; gap: 8px; align-items: center; font-size: .74rem; margin: 7px 0; }
.mrow b { text-align: right; font-variant-numeric: tabular-nums; }
.mbar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.mbar i { display: block; height: 100%; width: var(--w); border-radius: 99px; transform-origin: left; }
.mb--b { background: #c4cfd9; } .mb--c { background: var(--blue); } .mb--a { background: var(--ink); } .mb--x { background: var(--amber); } .mb--p { background: var(--ok); }
.wait { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wait li { display: flex; gap: 10px; font-size: .78rem; line-height: 1.35; }
.wait b { display: block; font-weight: 650; }
.wait span { color: var(--mut); }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot--amb { background: var(--amber); } .dot--blue { background: var(--blue); } .dot--green { background: var(--ok); }
.tile--doc { border-color: #f0d98a; background: linear-gradient(#fffaf0, #fff); }
.doc__t { font-weight: 700; font-size: .86rem; margin: 0 0 6px; line-height: 1.35; }
.doc__d { font-size: .76rem; color: var(--steel); margin: 0 0 10px; line-height: 1.45; }
.doc__a { display: inline-block; font-size: .72rem; font-weight: 650; background: var(--amber-soft); color: var(--amber-ink); padding: 3px 8px; border-radius: 6px; }

/* Problems list */
.probs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.probs li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.probs b { font-weight: 680; }
.probs span { color: var(--steel); font-size: .95rem; }
.probs--3 { grid-template-columns: 1fr; }

/* Lifecycle */
.life { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.life__map { position: relative; background: #fbfcfd; border-bottom: 1px solid var(--line-2); }
.life__svg { width: 100%; height: auto; }
.sg { stroke: rgba(19, 41, 61, .06); stroke-width: 1; }
.road__edge { fill: none; stroke: #c9d2db; stroke-width: 30; stroke-linecap: round; }
.road__deck { fill: none; stroke: #5a6a7a; stroke-width: 26; stroke-linecap: round; }
.road__cl { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; }
.road__done { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; opacity: .95; }
.life__st { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.life__st li { position: absolute; transform: translate(-50%, -50%); }
.life__st button { display: flex; flex-direction: column; align-items: center; gap: 1px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px 7px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.life__st button:hover { border-color: var(--ink); }
.life__st button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.life__st .ch { font-size: .64rem; font-weight: 650; color: var(--mut); font-variant-numeric: tabular-nums; }
.life__st button[aria-selected="true"] .ch { color: var(--amber); }
.life__st .nm { font-family: var(--display); font-stretch: 86%; font-weight: 700; font-size: .95rem; }
.packet { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 4px; background: var(--amber); border: 2px solid var(--ink); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.life__panel { padding: 24px 28px; min-height: 150px; }
.lp { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.lp p { margin: 6px 0 12px; color: var(--steel); }
.lp__rec { border-left: 3px solid var(--amber); padding: 4px 0 4px 16px; }
.lp__k { font-size: .78rem; font-weight: 700; color: var(--mut); }
.lp__rec p { color: var(--ink); font-weight: 600; margin: 4px 0 0; }
.life__ctl { display: flex; align-items: center; gap: 14px; padding: 0 28px 22px; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.tier--2 { border-color: var(--ink); box-shadow: var(--shadow); }
.tier--3 { background: var(--ink); color: #dfe6ee; border-color: var(--ink); }
.tier--3 .h3 { color: #fff; } .tier--3 .tier__for, .tier--3 .tier__voice { color: #b9c6d3; } .tier--3 .lnk { color: #fff; }
.tier__n { font-size: .78rem; font-weight: 700; color: var(--amber-ink); }
.tier--3 .tier__n { color: var(--amber); }
.tier__for { color: var(--steel); margin: 4px 0 0; font-size: .95rem; }
.tier__voice { margin: 0; font-size: .95rem; color: var(--steel); font-style: italic; }
.tier__f { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.ticks .i { color: var(--ok); margin-top: 3px; }
.tier--3 .ticks .i, .ticks--light .i { color: var(--amber); }
.ticks--light { margin: 24px 0 30px; }

/* Tabs */
.tabs__list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs__list button { background: none; border: 0; padding: 12px 14px; font-weight: 650; color: var(--mut); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tabs__list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber); }
.tabs__list button:hover { color: var(--ink); }

/* Demo frame */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); }
.demo__h { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .82rem; color: var(--steel); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.lg--plan { background: repeating-linear-gradient(90deg, #9fb0c1 0 4px, transparent 4px 7px); }
.lg--earn { background: var(--amber); } .lg--act { background: var(--ink); }
.lg--op { background: var(--ink); height: 10px; width: 10px; } .lg--idle { background: var(--amber); height: 10px; width: 10px; } .lg--down { background: var(--warn); height: 10px; width: 10px; }

/* S-curve */
.chart { width: 100%; height: auto; }
.ax { font-size: 11px; fill: var(--mut); font-family: var(--body); }
.slider { display: grid; gap: 6px; margin-top: 18px; font-size: .9rem; color: var(--steel); }
.slider input { width: 100%; accent-color: var(--ink); height: 28px; }
.evm { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 16px 0 0; }
.evm div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.evm dt { font-size: .74rem; color: var(--mut); font-weight: 600; }
.evm dd { margin: 2px 0 0; font-family: var(--display); font-stretch: 86%; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.evm .bad { color: var(--warn); } .evm .good { color: var(--ok); }

/* Money statuses */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 22px; counter-reset: s; }
.steps button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 14px; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--steel); }
.steps button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mstat { display: grid; gap: 4px; }
.mstat__r { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr) 80px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.mstat__l b { display: block; font-weight: 680; }
.mstat__l span { font-size: .84rem; color: var(--steel); }
.mstat__bar { height: 14px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.mstat__bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; transition: width .6s var(--ease); }
.mstat__r[data-k=budget] i { background: #b9c6d2; } .mstat__r[data-k=committed] i { background: var(--blue); } .mstat__r[data-k=actual] i { background: var(--ink); } .mstat__r[data-k=certified] i { background: var(--amber); } .mstat__r[data-k=paid] i { background: var(--ok); }
.mstat__v { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--display); font-stretch: 86%; font-size: 1.15rem; }
.mstat__r.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: var(--amber-soft); } 100% { background: transparent; } }

/* BOQ trace */
.trace { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.trace__n { position: relative; padding: 16px 14px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 3px; font-size: .84rem; transition: background-color .3s, border-color .3s; }
.trace__n + .trace__n { border-left: 0; }
.trace__n:first-child { border-radius: 12px 0 0 12px; } .trace__n:last-child { border-radius: 0 12px 12px 0; }
.trace__n:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; background: var(--surface); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.trace__k { font-size: .72rem; font-weight: 700; color: var(--mut); }
.trace__n b { font-weight: 700; }
.trace__n span:not(.trace__k) { color: var(--steel); font-size: .78rem; }
.trace__n em { font-style: normal; font-weight: 700; font-family: var(--display); font-stretch: 86%; font-size: 1.05rem; margin-top: 6px; font-variant-numeric: tabular-nums; }
.trace__n.hit { background: var(--amber-soft); border-color: #ebcf6a; }
.trace__n.hit::after { background: var(--amber-soft); border-color: #ebcf6a; }
.trace__ctl { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.trace__ctl p { margin: 0; }

/* Logistics */
.ship { position: relative; padding: 8px 0 4px; }
.ship__rail { position: absolute; left: 6.25%; right: 6.25%; top: 17px; height: 4px; background: var(--line-2); border-radius: 4px; }
.ship__rail i { display: block; height: 100%; width: var(--fill, 71.4%); background: var(--ink); border-radius: 4px; transition: width .8s var(--ease); }
.ship__ms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); position: relative; }
.ship__ms li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .78rem; padding: 0 4px; }
.ship__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); margin-bottom: 6px; transition: background-color .3s, border-color .3s; }
.ship__ms li.done .ship__dot { background: var(--ink); border-color: var(--ink); }
.ship__ms li.now .ship__dot { background: var(--amber); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(245, 184, 0, .25); }
.ship__ms b { font-weight: 650; line-height: 1.2; }
.ship__ms span { color: var(--mut); font-size: .72rem; }
.ship__foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.kv { display: flex; flex-direction: column; } .kv span { font-size: .76rem; color: var(--mut); } .kv b { font-variant-numeric: tabular-nums; }
.ship__foot .btn { margin-left: auto; }

/* Plant */
.plant { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: center; }
.exc { width: 100%; height: auto; }
.gnd { stroke: #9aa7b4; stroke-width: 2; }
.spoil { fill: none; stroke: #b8946a; stroke-width: 6; stroke-linecap: round; }
.track { fill: var(--ink); } .wheel { fill: #5a6a7a; }
.cab { fill: var(--amber); stroke: var(--ink); stroke-width: 2; } .cab--g { fill: #ffd54d; } .win { fill: #cfe0ee; }
.arm { fill: var(--amber); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.bkt { fill: #6a7886; stroke: var(--ink); stroke-width: 2; }
.boom { transform-origin: 175px 119px; } .stick { transform-origin: 124px 60px; } .bucket { transform-origin: 84px 115px; }
.is-live .boom { animation: boom 5.2s var(--ease) infinite; }
.is-live .stick { animation: stick 5.2s var(--ease) infinite; }
.is-live .bucket { animation: bucket 5.2s var(--ease) infinite; }
@keyframes boom { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-14deg); } 60% { transform: rotate(-4deg); } }
@keyframes stick { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(22deg); } 60% { transform: rotate(-10deg); } }
@keyframes bucket { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-28deg); } 62% { transform: rotate(30deg); } }
.fleet { width: 100%; border-collapse: collapse; font-size: .84rem; }
.fleet th, .fleet td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.fleet thead th { font-size: .74rem; color: var(--mut); font-weight: 650; }
.fleet tbody th b { display: block; } .fleet tbody th span { font-weight: 400; color: var(--mut); font-size: .76rem; }
.fleet .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.warn { color: var(--warn); font-weight: 700; }
.hbar { display: flex; height: 12px; width: 100%; min-width: 110px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.hbar i { display: block; width: var(--w); height: 100%; }
.hbar .op { background: var(--ink); } .hbar .idle { background: var(--amber); } .hbar .down { background: var(--warn); }

/* Phone */
.demo--phone { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.phone { width: 280px; margin-inline: auto; border-radius: 40px; background: var(--ink); padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; background: var(--ink); border-radius: 12px; transform: translateX(-50%); z-index: 2; }
.phone__scr { background: var(--paper); border-radius: 30px; padding: 46px 14px 18px; display: grid; gap: 8px; min-height: 520px; align-content: start; }
.ph__bar { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 6px; }
.ph__bar b { font-family: var(--display); font-stretch: 86%; font-size: 1.2rem; } .ph__bar span { font-size: .75rem; color: var(--mut); }
.ph__f { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; display: grid; font-size: .8rem; }
.ph__f span { color: var(--mut); font-size: .7rem; } .ph__f b { font-weight: 650; }
.ph__ph { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.ph__ph svg { width: 100%; height: auto; } .ph__ph span { display: block; font-size: .68rem; color: var(--mut); padding: 6px 10px; }
.ph__sky { fill: #dfeaf3; } .ph__gnd { fill: #b99a72; } .ph__lyr { stroke: #8d7354; stroke-width: 3; } .ph__mc { fill: var(--amber); stroke: var(--ink); stroke-width: 1.5; } .ph__arm { fill: none; stroke: var(--ink); stroke-width: 3; }
.ph__btn { background: var(--ok); color: #fff; text-align: center; font-weight: 700; font-size: .85rem; border-radius: 12px; padding: 11px; }
.is-anim [data-f] { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.is-anim [data-f].in { opacity: 1; transform: none; }
.seq { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--steel); }
.seq li::marker { font-weight: 700; color: var(--ink); }
.phone__side .demotag { margin-top: 16px; }

/* Local content */
.lc { display: grid; gap: 6px; }
.lc__r { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 56px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.lc__l b { display: block; font-weight: 650; } .lc__l span { font-size: .8rem; color: var(--mut); }
.lc__bar { position: relative; height: 14px; background: var(--line-2); border-radius: 99px; }
.lc__bar i { display: block; height: 100%; width: var(--w); background: var(--ok); border-radius: 99px; }
.lc__r.short .lc__bar i { background: var(--amber); }
.lc__bar s { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }
.lc__v { text-align: right; font-family: var(--display); font-stretch: 86%; font-size: 1.15rem; }
.exc { margin-top: 16px; background: var(--amber-soft); border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.demo--plant .exc { background: none; padding: 0; margin: 0; border-radius: 0; }

/* Doctor */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.doc__sum { background: var(--paper); border-radius: 14px; padding: 18px; display: grid; justify-items: center; align-content: start; gap: 10px; position: relative; }
.doc__sum > div { position: absolute; top: 18px; width: 120px; height: 120px; display: grid; place-content: center; text-align: center; }
.doc__sum > div b { font-family: var(--display); font-stretch: 86%; font-size: 2rem; line-height: 1; } .doc__sum > div span { font-size: .7rem; color: var(--mut); }
.gauge { width: 120px; height: 120px; transform: rotate(-90deg); }
.g__bg { fill: none; stroke: var(--line); stroke-width: 10; }
.g__fg { fill: none; stroke: var(--amber); stroke-width: 10; stroke-linecap: round; stroke-dasharray: calc(314.16 * var(--p)) 314.16; }
.doc__sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; justify-self: stretch; }
.doc__sum li { display: flex; align-items: center; gap: 8px; }
.sev { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.sev--high { background: var(--warn); } .sev--med { background: var(--amber); } .sev--low { background: #9fb0c1; }
.doc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc__list > li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc__it { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--surface); border: 0; text-align: left; cursor: pointer; }
.doc__it > span { flex: 1; display: grid; } .doc__it b { font-weight: 650; font-size: .92rem; } .doc__it > span > span { font-size: .8rem; color: var(--mut); }
.doc__it .i { transition: transform .2s; } .doc__it[aria-expanded="true"] .i { transform: rotate(180deg); }
.doc__det { padding: 4px 16px 16px; border-top: 1px solid var(--line-2); background: #fcfcfd; }
.doc__kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; margin: 12px 0; }
.doc__kv dt { font-size: .72rem; color: var(--mut); } .doc__kv dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.doc__src, .doc__rec { font-size: .84rem; margin: 8px 0 0; color: var(--steel); }
.doc__rec { background: var(--amber-soft); color: var(--ink); padding: 8px 10px; border-radius: 8px; }

/* Weather */
.wx { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.wx__d { display: grid; justify-items: center; gap: 2px; font-size: .78rem; color: var(--steel); background: var(--paper); border-radius: 12px; padding: 10px 4px; }
.wx__n { font-weight: 700; color: var(--ink); }
.wx__bar { height: 70px; width: 14px; background: var(--line); border-radius: 99px; display: flex; align-items: flex-end; overflow: hidden; margin: 6px 0; }
.wx__bar i { width: 100%; height: var(--h); background: var(--blue); border-radius: 99px; }
.wx__d b { color: var(--ink); }
.wxa { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .84rem; }
.wxa th, .wxa td { padding: 8px 6px; border-bottom: 1px solid var(--line-2); text-align: center; }
.wxa th:first-child, .wxa td:nth-child(2) { text-align: left; }
.wxa thead th { font-size: .74rem; color: var(--mut); font-weight: 650; }
.wxa td.ok::before, .wxa td.flag::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: middle; }
.wxa td.ok::before { background: var(--ok-soft); border: 1px solid #b7dcc8; }
.wxa td.flag::before { background: var(--warn); }
.lim { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--mut); }
.lim input { width: 58px; height: 32px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Handover */
.ho { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.ho__k { font-size: .78rem; font-weight: 700; color: var(--mut); display: block; margin-bottom: 10px; }
.ho__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ho__items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ho__items li span { color: var(--mut); text-align: right; }
.ho__items li.gone { opacity: .25; transform: translateX(16px); }
.asset { border: 2px solid var(--ink); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.asset > b { font-family: var(--display); font-stretch: 86%; font-size: 1.15rem; } .asset > span { font-size: .82rem; color: var(--steel); }
.asset dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 6px; }
.asset dt { font-size: .72rem; color: var(--mut); } .asset dd { margin: 0; font-weight: 650; font-size: .86rem; }
.ho__in { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ho__in li { font-size: .74rem; font-weight: 650; background: var(--ok-soft); color: var(--ok); padding: 3px 8px; border-radius: 6px; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Financial section, CTA */
.nc { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); padding: 28px; background: var(--ink-2); }
.nc__k { color: var(--amber); font-weight: 700; font-size: .85rem; }
.nc p { margin: 10px 0 0; color: #d3dde7; font-size: 1.02rem; }
.cta { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta .h2 { color: #fff; } .cta .lede { color: #b9c6d3; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta__act { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__act--start { align-self: center; }

/* Module cards */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mgrid--3 { grid-template-columns: repeat(3, 1fr); }
.mcard { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--surface); transition: border-color .15s; }
.mcard:hover { border-color: var(--ink); }
.mcard__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.mcard__t { font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 1.05rem; }
.mcard__d { font-size: .88rem; color: var(--steel); line-height: 1.45; }
.mcard__f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; flex-wrap: wrap; }

/* Page head, module page */
.phead { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--paper), var(--surface)); }
.phead__txt { max-width: 820px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .84rem; color: var(--mut); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bec8; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.phead__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.phead__cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.statusnote { margin: 12px 0 0; font-size: .92rem; color: var(--steel); max-width: 64ch; }
.benefit { border-left: 4px solid var(--amber); padding: 6px 0 6px 24px; }
.benefit__k { font-size: .85rem; font-weight: 700; color: var(--mut); }
.benefit p { font-family: var(--display); font-stretch: 86%; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 700; margin: 6px 0 0; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.feat { padding: 22px 0; border-top: 1px solid var(--line); }
.feat p { color: var(--steel); margin: 6px 0 0; font-size: .95rem; }
.wflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: w; position: relative; }
.wflow::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .35; }
.wflow li { counter-increment: w; position: relative; padding-right: 16px; }
.wflow li::before { content: counter(w); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--amber); font-weight: 700; font-family: var(--display); margin-bottom: 14px; position: relative; }
.wflow span { font-weight: 600; font-size: .95rem; display: block; }
.avail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.avail__t { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 2px; color: var(--mut); }
.avail__t b { color: inherit; }
.avail__t.on { border-color: var(--ink); color: var(--ink); background: var(--amber-soft); }
.flowmap { display: grid; gap: 8px; max-width: 860px; }
.flow { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.flow span:first-child { color: var(--steel); }
.flow__arr { height: 2px; background: var(--ink); position: relative; }
.flow__arr::after { content: ""; position: absolute; right: 0; top: -4px; border: 5px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }

/* Solutions */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need { background: var(--surface); border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.need p { color: var(--steel); margin: 8px 0 0; font-size: .93rem; }
.voice { margin: 0; padding: 28px 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.voice p { margin: 0; font-family: var(--display); font-stretch: 86%; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; font-weight: 650; }
.voice footer { margin-top: 14px; color: #a9b8c7; font-size: .85rem; }

/* Pricing */
.psel__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.psel__lbl { font-weight: 650; }
.sel { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 36px 0 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313293d' stroke-width='2'%3E%3Cpath d='M8 10l4 4 4-4'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; -webkit-appearance: none; appearance: none; min-width: 0; }
.psel .sel { min-width: 280px; font-weight: 600; }
.psel__note { font-size: .86rem; color: var(--mut); }
.ptiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ptier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.ptier--2 { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 16px 0; border-block: 1px solid var(--line-2); }
.price__cur { font-weight: 700; color: var(--steel); }
.price__amt { font-family: var(--display); font-stretch: 84%; font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.price__per { flex-basis: 100%; font-size: .82rem; color: var(--mut); }
.price--na .price__amt { font-size: 1.35rem; }
.ptier__pitch { margin: 0; font-weight: 600; }
.ptier__lim { font-size: .86rem; color: var(--steel); background: var(--paper); border-radius: 10px; padding: 12px 14px; }
.ptier__lim ul { margin: 6px 0 0; padding-left: 18px; }
.ptier__f { margin-top: auto; display: grid; gap: 10px; justify-items: start; }
.psoon { margin-top: 18px; border: 1px dashed #c9a73f; background: var(--amber-soft); border-radius: var(--r-lg); padding: 24px 28px; }
.psoon p { margin: 8px 0 16px; color: var(--steel); }
.psoon__act { display: flex; gap: 12px; flex-wrap: wrap; }
.ptiers.is-ref { opacity: .72; }
.cmp__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); font-family: var(--display); font-stretch: 86%; font-size: 1.05rem; vertical-align: bottom; }
.cmp thead th span { display: block; font-family: var(--body); font-size: .78rem; color: var(--mut); font-weight: 600; }
.cmp td { text-align: center; width: 18%; }
.cmp tbody th { font-weight: 550; }
.cmp__g th { background: var(--paper); font-weight: 700; font-size: .82rem; color: var(--steel); }
.yes { color: var(--ok); display: inline-flex; } .no { color: #b7c1cb; display: inline-flex; } .q { font-size: .8rem; font-weight: 600; color: var(--steel); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; margin-top: 4px; } .faq details[open] summary .i { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; color: var(--steel); max-width: 64ch; }

/* Resources, prose, legal */
.res { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.resc { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; text-decoration: none; }
a.resc:hover { border-color: var(--ink); }
.resc p { margin: 0; color: var(--steel); font-size: .92rem; }
.resc--soon { background: var(--paper); border-style: dashed; }
.resc .badge { justify-self: start; }
.prose { font-size: 1.05rem; }
.prose h2 { font-family: var(--display); font-stretch: 86%; font-size: 1.5rem; margin: 36px 0 8px; }
.prose p { color: #33475a; margin: 0 0 14px; }
.draft { background: var(--amber-soft); border: 1px solid #ecd27a; border-radius: 12px; padding: 14px 16px; font-size: .92rem; margin-bottom: 20px; }

/* Forms */
.form { display: grid; gap: 18px; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--steel); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.fld input, .fld textarea, .fld .sel { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--surface); font-weight: 400; font-size: 1rem; }
.fld .sel { padding: 0 36px 0 12px; }
.fld input:focus, .fld textarea:focus, .sel:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 184, 0, .35); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--warn); }
.ent { display: grid; gap: 16px; padding: 18px; border-radius: 12px; background: var(--paper); }
.hp { position: absolute; left: -9999px; }
.form__f { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg.ok { color: var(--ok); } .form__msg.err { color: var(--warn); }
.cside { background: var(--paper); border-radius: var(--r-lg); padding: 24px; }
.cside p { color: var(--steel); font-size: .95rem; }

/* Footer */
.ftr { background: #0e1f2f; color: #aebccb; padding: 64px 0 28px; font-size: .9rem; }
.ftr__top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; }
.logo--ftr { height: 26px; }
.ftr__tag { color: #fff; font-family: var(--display); font-stretch: 86%; font-weight: 650; font-size: 1.1rem; margin: 18px 0 8px; }
.ftr__note { margin: 0; font-size: .85rem; max-width: 30ch; }
.ftr__h { color: #fff; font-size: .85rem; font-weight: 700; margin: 0 0 12px; font-family: var(--body); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; } .ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #8597a9; }

/* 404 */
.nf { padding: 120px 0; text-align: left; }
.nf__ch { font-family: var(--display); font-stretch: 86%; font-weight: 700; color: var(--amber-ink); margin: 0 0 12px; }

/* One orchestrated load moment on the home hero: the earned line draws, the money bars extend. */
.js .hero [data-draw] { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .hero.is-in [data-draw] { animation: draw 1.4s .25s var(--ease) forwards; }
.js .hero .mbar i { transform: scaleX(0); }
.js .hero.is-in .mbar i { animation: grow .9s var(--ease) forwards; }
.js .hero.is-in .mrow:nth-child(3) i { animation-delay: .08s; } .js .hero.is-in .mrow:nth-child(4) i { animation-delay: .16s; } .js .hero.is-in .mrow:nth-child(5) i { animation-delay: .24s; } .js .hero.is-in .mrow:nth-child(6) i { animation-delay: .32s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleX(1); } }

/* Responsive */
@media (max-width: 1100px) {
  .hdr__nav { display: none; } .hdr__burger { display: inline-flex; } .hdr__signin { display: none; }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .ftr__top { grid-template-columns: repeat(3, 1fr); } .ftr__brand { grid-column: 1 / -1; }
  .res, .needs { grid-template-columns: repeat(2, 1fr); }
  .evm { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero__in, .split, .split--form { grid-template-columns: minmax(0, 1fr); }
  .tiers, .ptiers { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; }
  .mgrid, .mgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .plant, .demo--phone, .doc { grid-template-columns: 1fr; }
  .doc__sum { grid-template-columns: 120px 1fr; justify-items: start; align-items: center; }
  .doc__sum > div { left: 18px; }
  .trace { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .trace__n, .trace__n + .trace__n { border: 1px solid var(--line); border-radius: 12px !important; }
  .trace__n::after { display: none; }
  .wflow { grid-template-columns: 1fr; gap: 14px; } .wflow::before { display: none; }
  .wflow li { display: flex; align-items: center; gap: 14px; } .wflow li::before { margin: 0; flex: none; }
  .lp { grid-template-columns: 1fr; gap: 12px; }
  .ho { grid-template-columns: 1fr; } .ho__mid { justify-self: start; }
  .avail { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .appwin__body { grid-template-columns: 1fr; }
  .tile--wait { display: none; }
  .probs { grid-template-columns: 1fr; }
  .feats, .mgrid, .mgrid--3, .res, .needs, .row2 { grid-template-columns: 1fr; }
  .life__svg { display: none; }
  .life__map { padding: 14px; }
  .life__st { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .life__st li { position: static !important; transform: none !important; }
  .life__st button { width: 100%; align-items: flex-start; box-shadow: none; }
  .packet { display: none; }
  .life__panel, .life__ctl { padding-inline: 18px; }
  .ship__rail { left: 10px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .ship__rail i { width: 100%; height: var(--fill, 71.4%); }
  .ship__ms { grid-template-columns: 1fr; gap: 10px; }
  .ship__ms li { flex-direction: row; text-align: left; gap: 12px; padding: 0; }
  .ship__dot { margin: 0; flex: none; }
  .ship__ms span { margin-left: auto; }
  .ship__foot .btn { margin-left: 0; }
  .wx { grid-template-columns: repeat(7, minmax(42px, 1fr)); overflow-x: auto; }
  .wxa { display: block; overflow-x: auto; }
  .mstat__r, .lc__r { grid-template-columns: 1fr 64px; gap: 6px 12px; }
  .mstat__bar, .lc__bar { grid-column: 1 / -1; grid-row: 2; }
  .doc__kv { grid-template-columns: 1fr 1fr; }
  .evm { grid-template-columns: repeat(2, 1fr); }
  .trace { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 6px; } .flow__arr { width: 40px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .psel .sel { min-width: 0; width: 100%; }
  .fleet thead th:nth-child(4), .fleet td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .hero [data-draw] { stroke-dashoffset: 0; } .js .hero .mbar i { transform: none; }
}
@media print { .hdr, .ftr, .cta { display: none; } }

/* ===== Second pass: engineering demonstrations, markets, tier finder, estimator ===== */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--amber) var(--p, 50%), var(--line) var(--p, 50%)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--amber); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(19,41,61,.25); transition: transform .15s var(--ease); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }

.road { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 2.5vw, 28px); }
.road__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.road__head .mut { margin: 4px 0 0; }
.road__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; margin-top: 18px; align-items: start; }
.road__xs { margin: 0; background: linear-gradient(180deg, #f7f9fb, #fff); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 12px 8px; }
.road__xs svg { width: 100%; height: auto; overflow: visible; }
.road__xs figcaption { margin-top: 6px; font-size: .75rem; }
.hatch { stroke: #c9b79a; stroke-width: 1.2; }
.xs__ground { stroke: #9b8a6c; stroke-width: 1.2; }
.xs__l { stroke: var(--surface); stroke-width: 1; transition: fill .45s var(--ease), opacity .45s var(--ease); }
.xs--ac { fill: #2b2f33; } .xs--base { fill: #8a8f96; } .xs--sub { fill: #c8a46a; } .xs--isg { fill: #b58a55; } .xs--ew { fill: #a07a4f; }
.xs__l.pending { fill: transparent; stroke: #9aa6b2; stroke-dasharray: 4 3; }
.xs__l.hold { fill: var(--warn-soft); stroke: var(--warn); stroke-dasharray: 4 3; }
.xs__dim line { stroke: var(--steel); stroke-width: 1; } .xs__dim text { font: 600 11px var(--body); fill: var(--steel); }
.xs__dim .xs__fall { fill: var(--blue); font-weight: 700; } .xs__cl { stroke-dasharray: 6 4 1 4; stroke: var(--mut) !important; } .xs__clt { font-size: 10px !important; }
.xs__roller rect, .xs__roller circle { fill: var(--amber); stroke: var(--ink); stroke-width: 1.4; } .xs__roller .cab { fill: var(--ink); } .xs__roller .drum { fill: #d8dde3; }
.xs__roller { transition: transform .5s var(--ease); }
.road__read { display: flex; flex-direction: column; gap: 12px; }
.road__ch { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
.road__ch b { font-family: var(--display); font-stretch: 84%; font-size: 1.9rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.road__layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.road__layers li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: .875rem; }
.road__layers b { display: block; font-weight: 650; } .road__layers small { color: var(--mut); font-size: .75rem; }
.road__layers em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--paper); color: var(--steel); white-space: nowrap; }
.road__layers em.ok { background: var(--ok-soft); color: var(--ok); } .road__layers em.hold { background: var(--warn-soft); color: var(--warn); }
.sw { width: 14px; height: 14px; border-radius: 3px; display: block; }
.sw--ac { background: #2b2f33; } .sw--base { background: #8a8f96; } .sw--sub { background: #c8a46a; } .sw--isg { background: #b58a55; } .sw--ew { background: #a07a4f; }
.road__note { margin: 0; font-size: .85rem; color: var(--steel); background: var(--paper); border-radius: 10px; padding: 10px 12px; min-height: 3.2em; }
.road__ls { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.ls__labels { display: grid; grid-auto-rows: 24px; font-size: .75rem; color: var(--steel); font-weight: 600; }
.ls__labels span { display: flex; align-items: center; height: 16px; margin-top: 4px; }
.ls { width: 100%; height: 128px; display: block; overflow: visible; }
.ls__bg { fill: var(--paper); } .ls__done { fill: var(--ink); transform-box: fill-box; transform-origin: left; }
.ls--ac .ls__done { fill: #2b2f33; } .ls--base .ls__done { fill: #6f7680; } .ls--sub .ls__done { fill: #c8a46a; } .ls--isg .ls__done { fill: #b58a55; } .ls--ew .ls__done { fill: #a07a4f; }
.js .road:not(.is-in) .ls__done { transform: scaleX(0); } .road.is-in .ls__done { transition: transform 1.1s var(--ease); }
.road.is-in .ls__row:nth-child(3) .ls__done { transition-delay: .08s; } .road.is-in .ls__row:nth-child(4) .ls__done { transition-delay: .16s; } .road.is-in .ls__row:nth-child(5) .ls__done { transition-delay: .24s; } .road.is-in .ls__row:nth-child(6) .ls__done { transition-delay: .32s; }
.ls__hold { fill: rgba(185,61,41,.14); stroke: var(--warn); stroke-dasharray: 3 3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ls__cur { stroke: var(--amber); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ls__tick line { stroke: var(--mut); vector-effect: non-scaling-stroke; } .ls__tick text { font: 600 11px var(--body); fill: var(--mut); }
.road__ctl { display: flex; gap: 14px; align-items: center; margin: 14px 0 0 160px; }
.lg { display: inline-block; width: 12px; height: 10px; border-radius: 2px; vertical-align: -1px; } .lg--done { background: var(--ink); } .lg--hold { background: var(--warn-soft); border: 1px dashed var(--warn); }

.fin__r { display: grid; gap: 18px; }
.sec--ink .demo--money { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 20px; }

.mkts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.mkt a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--surface); transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; position: relative; }
.mkt a:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.mkt__c { font-weight: 700; } .mkt__s { font-size: .78rem; color: var(--mut); font-weight: 600; }
.mkt a::after { content: ""; position: absolute; top: 16px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mkt--live a::after { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.mkt--live a { border-color: #b9dcc9; } .mkt--live .mkt__s { color: var(--ok); }
.mkt--coming_soon a::after { background: var(--amber); }
.mkt--on_request a::after { background: var(--blue); }

.finder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.finder__q { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 28px); }
.finder fieldset { border: 0; margin: 0; padding: 0; } .finder legend, .finder__sl label { font-weight: 650; font-size: .95rem; margin-bottom: 10px; display: block; }
.finder__sl label { display: flex; justify-content: space-between; } .finder__sl b { font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__o input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.seg__o span, .chk span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.seg__o input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chk span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--steel); margin-right: 8px; display: inline-block; }
.chk input:checked + span { border-color: var(--ink); background: var(--amber-soft); } .chk input:checked + span::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ink); }
.seg__o input:focus-visible + span, .chk input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.chks { display: flex; flex-wrap: wrap; gap: 8px; }
.seg--sm .seg__o span { min-height: 36px; font-size: .82rem; }
.finder__a { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }
.finder__a .mut, .finder__a .fine { color: #b8c4d0; }
.finder__t { font-family: var(--display); font-stretch: 84%; font-weight: 750; font-size: 2rem; margin: 0; line-height: 1.05; }
.finder__t.swap { animation: pop .35s var(--ease); }
.finder__why { margin: 0; padding-left: 18px; color: #dbe3ea; font-size: .9rem; display: grid; gap: 4px; }
.finder__p { margin: 4px 0; font-weight: 650; color: var(--amber); }
.ptier.is-pick { outline: 3px solid var(--amber); outline-offset: 3px; }

.split--top { align-items: start; }
.est { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 20px; }
.est__in { display: grid; gap: 18px; }
.est__out { border-top: 1px solid var(--line-2); padding-top: 16px; display: grid; gap: 2px; }
.est__v { font-family: var(--display); font-stretch: 84%; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.015em; }

@media (max-width: 900px) {
  .road__grid, .finder { grid-template-columns: minmax(0, 1fr); }
  .road__ls { grid-template-columns: 96px minmax(0, 1fr); } .ls__labels { font-size: .66rem; }
  .road__ctl { margin-left: 0; }
  .finder__a { position: static; }
  .road__head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .js .road:not(.is-in) .ls__done { transform: none; } .xs__l, .xs__roller, .ls__done { transition: none !important; }
}
.ls__labels b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ls__sh { display: none; }
.ls__km { position: relative; height: 18px; margin-top: 2px; font: 600 11px var(--body); color: var(--mut); }
.ls__km span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls__km span:first-child { transform: none; } .ls__km span:last-child { transform: translateX(-100%); }
@media (max-width: 900px) { .ls__lf { display: none; } .ls__sh { display: inline; } .ls__km span:nth-child(even):not(:last-child) { display: none; } .ls__km span:nth-last-child(2) { display: none; } }
