/* TREXYS · layout measured on the reference image (736 px wide, scaled ×1.957 to 1440) */
:root {
  --bg: #0a0a0a; --ink: #f4f4f4; --ink2: #b9b9b9; --ink3: #8a8a8a; --ink4: #5f5f5f;
  --card: #0a0a0a; --line: #1a1a1a; --line2: #262626;
  --or: #8fa3b5; --or2: #b5c4d0; --or3: #dfe6ea; --ember: #2b3742; --slate: #536878; --alab: #e5e4e2; --onyx: #0a0a0a;
  --pad: 74px; --wrap: 1307px;
  --font: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body { font: 400 15px/1.5 var(--font); letter-spacing: -.011em; background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

/* ---------- pills / buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 55px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.pill svg { width: 15px; height: 15px; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.pill:hover svg { transform: translateX(3px); }
.pill-white { background: linear-gradient(180deg, #ffffff, #e9e9e9); color: #111; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 6px 20px rgba(0,0,0,.4); }
.pill-white:hover { background: #fff; box-shadow: 0 0 0 4px rgba(143,163,181,.18), 0 6px 24px rgba(0,0,0,.4); }
.pill-ghost { color: #f2f2f2; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px #2c2c2c; }
.pill-ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px #444; }
.pill-lg { height: 55px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 102px; display: flex; align-items: center; padding: 0 59px 0 59px; transition: background .3s, height .3s, box-shadow .3s; }
.nav.is-stuck { height: 84px; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 #161616; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 500; letter-spacing: -.03em; }
.logo img { width: 31px; height: 31px; filter: drop-shadow(0 0 8px rgba(143,163,181,.45)); }
.menu { position: absolute; left: 50%; transform: translateX(-50%); height: 55px; display: flex; align-items: center; gap: 4px; padding: 0 18px; border-radius: 18px;
  background: rgba(255,255,255,.015); box-shadow: inset 0 0 0 1px #1e1e1e; }
.menu a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 10px; font-size: 15.5px; color: #cfcfcf; transition: color .2s, background .2s; }
.menu a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: #e6e6e6; stroke-width: 1.6; stroke-linecap: round; }
.nav-r .pill { height: 55px; padding: 0 36px; font-size: 16px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; box-shadow: inset 0 0 0 1px #2a2a2a; }
.burger i { width: 16px; height: 1.5px; background: #eee; transition: transform .25s; }
.nav.open .burger i:first-child { transform: translateY(3.25px) rotate(45deg); } .nav.open .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 780px; max-width: 1440px; margin: 0 auto; }
.hero-copy { position: absolute; left: var(--pad); top: 204px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 12px; height: 33px; padding: 0 16px 0 4px; border-radius: 999px; font-size: 13.5px; color: #cfcfcf;
  background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px #222; }
.badge span { height: 25px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; color: var(--or2);
  background: rgba(143,163,181,.08); box-shadow: inset 0 0 0 1px rgba(143,163,181,.55); }
.hero h1 { margin-top: 30px; font-size: 84px; line-height: 80px; font-weight: 300; letter-spacing: -.045em; color: #f6f6f6; }
.lede { margin-top: 30px; font-size: 18px; line-height: 29px; color: #b5b5b5; letter-spacing: -.01em; }
.ctas { display: flex; gap: 19px; margin-top: 50px; }
.ctas .pill-white { width: 214px; } .ctas .pill-ghost { width: 205px; }
.proof { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.faces { display: flex; }
.faces i { width: 38px; height: 38px; margin-right: -9px; border-radius: 50%; display: grid; place-items: center; font: 500 11.5px var(--mono); font-style: normal; color: #fff;
  background: radial-gradient(circle at 35% 30%, #5d6e7c, #161b20); box-shadow: 0 0 0 2px #000, 0 0 0 3px #2c343a; }
.faces i:nth-child(2) { background: radial-gradient(circle at 35% 30%, #6f808d, #1a2026); } .faces i:nth-child(3) { background: radial-gradient(circle at 35% 30%, #56656f, #14181c); }
.faces i:nth-child(4) { color: var(--or3); background: radial-gradient(circle at 35% 30%, #3e4c58, #101418); }
.proof p { margin-left: 10px; font-size: 15.5px; line-height: 24px; color: #a9a9a9; } .proof b { font-weight: 500; color: #eee; }

/* the node art: orb at (1031, 483) r 133 in the 1440 frame */
.node-art { position: absolute; left: 640px; top: 160px; width: 760px; height: 640px; pointer-events: none; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-lines path { fill: none; stroke: rgba(143,163,181,.38); stroke-width: 1; }
.net-dots circle { fill: var(--or2); }
.horizon { position: absolute; left: -260px; right: -300px; top: 300px; height: 520px; border-radius: 50%;
  background: radial-gradient(60% 50% at 50% 0%, rgba(143,163,181,.0) 0%, transparent 100%);
  box-shadow: 0 -3px 0 -1px rgba(229,228,226,.75), 0 -10px 40px -6px rgba(143,163,181,.65), inset 0 30px 80px -20px rgba(143,163,181,.35);
  -webkit-mask: linear-gradient(90deg, transparent 2%, #000 30%, #000 72%, transparent 98%); mask: linear-gradient(90deg, transparent 2%, #000 30%, #000 72%, transparent 98%); }
.orb { position: absolute; left: 258px; top: 190px; width: 266px; height: 266px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #050505 58%, #0d1115 72%, #1b232a 100%);
  box-shadow: 0 0 0 1.5px rgba(229,228,226,.55), 0 0 30px 6px rgba(143,163,181,.55), 0 0 90px 20px rgba(143,163,181,.35), 0 0 200px 60px rgba(83,104,120,.18), inset 0 0 40px rgba(143,163,181,.25); }
.orb::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: conic-gradient(from 200deg, transparent 0 35%, rgba(229,228,226,.9) 50%, transparent 65% 100%);
  -webkit-mask: radial-gradient(circle, transparent 64.5%, #000 66%); mask: radial-gradient(circle, transparent 64.5%, #000 66%); filter: blur(1px); }
.orb-core { position: absolute; inset: 0; display: grid; place-items: center; }
.orb-core img { width: 120px; height: 120px; filter: drop-shadow(0 0 14px rgba(143,163,181,.65)) drop-shadow(0 0 3px rgba(229,228,226,.6)); }
.tag { position: absolute; height: 31px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; color: #e9e9e9; white-space: nowrap;
  background: rgba(12,14,16,.78); box-shadow: inset 0 0 0 1px #2a2f33, 0 4px 16px rgba(0,0,0,.5); }
/* positions = reference chip centres minus the art box origin (640,160) */
.t1 { left: 165px; top: 31px; } .t2 { left: 553px; top: 84px; } .t3 { left: -16px; top: 198px; }
.t4 { left: 620px; top: 284px; } .t5 { left: -10px; top: 427px; } .t6 { left: 560px; top: 507px; }

/* ---------- section heads ---------- */
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.sec-head h2, .run-head h2 { margin-top: 20px; font-size: 36px; line-height: 48px; font-weight: 300; letter-spacing: -.035em; color: #f2f2f2; }
.sec-sub { margin-top: 22px; width: 360px; font-size: 15.5px; line-height: 27px; color: #9a9a9a; }

/* ---------- engine (browse) ---------- */
.engine { position: relative; max-width: 1440px; margin: 0 auto; padding: 70px var(--pad) 0; display: grid; grid-template-columns: 450px 854px; justify-content: space-between; }
.engine .sec-head { padding-top: 8px; }
.cats { display: grid; grid-template-columns: repeat(3, 274px); gap: 15px 16px; }
.cat { position: relative; height: 110px; padding: 30px 26px 0 76px; border-radius: 12px; background: linear-gradient(180deg, #0c0c0c, #070707); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s, transform .25s; }
.cat:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(143,163,181,.45), 0 10px 30px rgba(143,163,181,.08); background: linear-gradient(180deg, #0d1114, #070707); }
.cat i { position: absolute; left: 28px; top: 26px; width: 30px; height: 30px; display: grid; place-items: center; }
.cat i svg { width: 26px; height: 26px; fill: none; stroke: var(--or); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat b { display: block; font-size: 16px; font-weight: 500; color: #f0f0f0; }
.cat small { display: block; margin-top: 10px; font-size: 13.5px; color: #8a8a8a; }
.cat em { position: absolute; right: 26px; bottom: 26px; font-style: normal; font-size: 16px; color: #8a8a8a; transition: color .2s, transform .2s; }
.cat:hover em { color: var(--or2); transform: translateX(3px); }

/* ---------- how a run works (featured) ---------- */
.run { max-width: 1440px; margin: 0 auto; padding: 128px 0 0; }
.run-head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-start; }
.more { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 15.5px; color: var(--or2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(143,163,181,.5); }
.more span { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(143,163,181,.6); transition: background .2s; }
.more:hover span { background: rgba(143,163,181,.12); }
.more svg { width: 14px; height: 14px; fill: none; stroke: var(--or2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-wrap { position: relative; margin-top: 56px; }
.rail { display: flex; gap: 23px; padding: 0 var(--pad) 10px 68px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: 68px; }
.rail::-webkit-scrollbar { display: none; }
.step { flex: none; width: 239px; height: 346px; padding: 23px 23px 0; border-radius: 14px; scroll-snap-align: start;
  background: linear-gradient(180deg, #0b0b0b, #060606); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s; }
.step:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #2a343c, 0 14px 40px rgba(0,0,0,.6); }
.mini { height: 151px; border-radius: 10px; display: grid; place-items: center; background: #050505; box-shadow: inset 0 0 0 1px #1c1c1c; overflow: hidden; }
.step h3 { margin-top: 30px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: #f2f2f2; }
.step p { margin-top: 10px; font-size: 14.5px; line-height: 24px; color: #9a9a9a; }
.chip { position: absolute; display: inline-flex; align-items: center; height: 29px; margin-top: 18px; padding: 0 13px; border-radius: 8px; font-size: 12.5px; color: #cfcfcf; background: #121212; box-shadow: inset 0 0 0 1px #222; }
.step .chip { position: static; }
.rail-next { position: absolute; right: 38px; top: 136px; width: 51px; height: 51px; border-radius: 50%; display: grid; place-items: center;
  background: #0a0a0a; box-shadow: inset 0 0 0 1px #333, 0 8px 24px rgba(0,0,0,.6); transition: background .2s, box-shadow .2s; }
.rail-next:hover { background: #151515; box-shadow: inset 0 0 0 1px rgba(143,163,181,.6); }
.rail-next svg { width: 16px; height: 16px; fill: none; stroke: #eee; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* mini UIs inside the step cards */
.m-panel { width: 185px; padding: 12px 12px; border-radius: 8px; background: #0d0d0d; box-shadow: inset 0 0 0 1px #222; font-size: 10.5px; color: #cfcfcf; }
.m-q { font-size: 10.5px; color: #dcdcdc; }
.m-field { display: flex; justify-content: space-between; align-items: center; height: 26px; margin-top: 8px; padding: 0 8px; border-radius: 5px; font: 10px var(--mono); color: #eee; background: #161616; box-shadow: inset 0 0 0 1px #262626; }
.m-field em { font-style: normal; color: #8a8a8a; }
.m-row { display: flex; justify-content: space-between; margin-top: 7px; font-size: 10px; color: #8a8a8a; } .m-row b { font: 400 10px var(--mono); color: #e6e6e6; }
.hot { color: var(--or2) !important; }
.m-alert { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #f0f0f0; }
.m-alert i, .m-tt i { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-style: normal; color: #000; background: var(--or); }
.m-small { margin-top: 8px; font-size: 9.5px; color: #9a9a9a; }
.m-list { margin: 6px 0 0 14px; font-size: 9.5px; line-height: 15px; color: #bdbdbd; }
.m-btn { display: inline-flex; height: 20px; margin-top: 9px; padding: 0 9px; border-radius: 4px; align-items: center; font-size: 9.5px; color: #ddd; background: #1c1c1c; box-shadow: inset 0 0 0 1px #2c2c2c; }
.m-steps { display: flex; align-items: flex-start; gap: 0; }
.m-steps span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10.5px; color: #8a8a8a; }
.m-steps span b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: #cfcfcf; box-shadow: inset 0 0 0 1px #3a3a3a; }
.m-steps span.on { color: #eee; } .m-steps span.on b { color: #111; background: linear-gradient(180deg, #f4f4f2, #9fb1bf); box-shadow: 0 0 14px rgba(143,163,181,.6); }
.m-steps i { width: 26px; height: 1px; margin-top: 15px; background: #333; }
.m-think { width: 170px; }
.m-tt { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #e6e6e6; }
.m-tt i { background: none; color: #bdbdbd; box-shadow: inset 0 0 0 1px #444; }
.m-dim { margin-top: 10px; padding-left: 22px; font-size: 10px; color: #bdbdbd; }
.m-checks { list-style: none; margin-top: 10px; display: grid; gap: 7px; }
.m-checks li { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #cfcfcf; }
.m-checks li::before { content: "✓"; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; color: var(--or2); box-shadow: inset 0 0 0 1px rgba(143,163,181,.6); }

/* ---------- built for ---------- */
.built { position: relative; max-width: 1440px; margin: 0 auto; padding: 80px var(--pad) 120px; display: grid; grid-template-columns: 450px 1fr; }
.built::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -160px; height: 420px; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 50% 100%, rgba(143,163,181,.55), rgba(83,104,120,.45) 40%, transparent 72%); }
.stats { display: flex; justify-content: flex-end; gap: 0; padding-top: 56px; padding-right: 16px; }
.stat { width: 225px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat i svg { width: 36px; height: 36px; fill: none; stroke: var(--or); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stat b { margin-top: 20px; font-size: 38px; line-height: 1; font-weight: 300; letter-spacing: -.03em; color: var(--or2); }
.stat span { margin-top: 12px; font-size: 15px; color: #b5b5b5; }

/* ---------- footer ---------- */
.foot { position: relative; max-width: 1440px; margin: 0 auto; padding: 40px var(--pad) 50px; display: grid; grid-template-columns: auto 1fr auto; gap: 60px; align-items: center; border-top: 1px solid #141414; }
.foot .logo { font-size: 19px; } .foot .logo img { width: 26px; height: 26px; }
.foot p { max-width: 640px; font-size: 12.5px; line-height: 20px; color: #6f6f6f; }
.foot nav { display: flex; gap: 26px; font-size: 14px; color: #a9a9a9; } .foot nav a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  :root { --pad: 48px; }
  .node-art { left: auto; right: -60px; }
  .engine { grid-template-columns: 1fr; gap: 40px; } .cats { grid-template-columns: repeat(3, 1fr); }
  .built { grid-template-columns: 1fr; } .stats { justify-content: flex-start; }
}
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: flex; }
  .nav.open .menu { display: flex; position: fixed; left: 16px; right: 16px; top: 88px; transform: none; height: auto; flex-direction: column; align-items: stretch; padding: 10px; background: rgba(8,8,8,.97); border-radius: 16px; }
  .nav.open .menu a { height: 46px; font-size: 16px; }
  .hero { height: auto; padding: 150px var(--pad) 40px; display: flex; flex-direction: column; }
  .hero-copy { position: relative; left: auto; top: auto; }
  .node-art { position: relative; left: auto; right: auto; top: auto; width: 760px; height: 640px; margin: 10px auto 0; transform: scale(.8); transform-origin: 50% 0; margin-bottom: -120px; }
}
@media (max-width: 760px) {
  :root { --pad: 18px; }
  .nav { height: 72px; padding: 0 16px; } .nav.is-stuck { height: 64px; } .nav .icon-btn { display: none; } .nav-r { gap: 10px; } .nav-r .pill { height: 44px; padding: 0 18px; font-size: 14px; }
  .nav.open .menu { top: 76px; }
  .logo { font-size: 20px; } .logo img { width: 26px; height: 26px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 46px; line-height: 48px; }
  .lede { font-size: 16px; line-height: 26px; } .lede br { display: none; }
  .ctas { flex-wrap: wrap; gap: 12px; margin-top: 32px; } .ctas .pill { width: auto; flex: 1; min-width: 160px; height: 50px; }
  .proof { margin-top: 30px; }
  .node-art { transform: scale(.48); margin-bottom: -330px; margin-left: 50%; translate: -50% 0; transform-origin: 50% 0; left: 0; }
  .engine, .built { padding-top: 60px; } .cats { grid-template-columns: 1fr; }
  .sec-sub { width: auto; }
  .run { padding-top: 80px; } .run-head { flex-direction: column; } .more { margin-top: 18px; }
  .rail { padding-left: var(--pad); scroll-padding-left: var(--pad); } .rail-next { display: none; }
  .stats { flex-wrap: wrap; justify-content: center; gap: 30px 0; } .stat { width: 50%; }
  .foot { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ======================= OBSIDIAN CHROME · liquid glass ======================= */
/* Onyx ground, Blue Slate light, Alabaster chrome */
body { background: var(--onyx); }
.hero::before { content: ""; position: absolute; inset: -120px -200px auto; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 45% at 72% 40%, rgba(83,104,120,.30), transparent 70%), radial-gradient(30% 30% at 20% 10%, rgba(229,228,226,.05), transparent 70%); }
.built::after { background: radial-gradient(55% 65% at 50% 100%, rgba(229,228,226,.22), rgba(83,104,120,.42) 35%, rgba(30,38,45,.4) 60%, transparent 78%); }
.eyebrow { color: #93a7b8; }
.stat b { background: linear-gradient(180deg, #f2f2f0 10%, #9fb1bf 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orb { background: radial-gradient(circle at 38% 30%, #1a1f24 0%, #070809 55%, #0d1115 72%, #2b3742 100%); }
.orb-core img { filter: drop-shadow(0 0 14px rgba(143,163,181,.55)) drop-shadow(0 0 2px rgba(229,228,226,.8)); }
.logo img { filter: drop-shadow(0 0 8px rgba(143,163,181,.5)); }
.net-lines path { stroke: rgba(143,163,181,.34); }
.net-dots circle { fill: #c9d4dc; }
.cat:hover em, .more { color: #c3d0da; }
.more { text-decoration-color: rgba(143,163,181,.55); }
.more svg { stroke: #c3d0da; }

/* liquid glass: a frosted body that refracts what is behind it, a bright rim, a specular sheen that follows the pointer */
.lg { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 55%, rgba(83,104,120,.10));
  -webkit-backdrop-filter: blur(14px) saturate(170%) contrast(1.05); backdrop-filter: blur(14px) saturate(170%) contrast(1.05);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 0 -1px 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(229,228,226,.16),
    inset 0 -10px 18px -10px rgba(143,163,181,.35), 0 10px 30px rgba(0,0,0,.45);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s; }
.lg::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120px 60px at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.45), transparent 70%),
              linear-gradient(180deg, rgba(255,255,255,.22), transparent 45%); mix-blend-mode: screen; opacity: .8; transition: opacity .3s; }
.lg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.75), rgba(255,255,255,.08) 35%, rgba(143,163,181,.15) 65%, rgba(229,228,226,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lg:hover { transform: translateY(-1px) scale(1.015); box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 -1px 1px rgba(255,255,255,.2), inset 0 0 0 1px rgba(229,228,226,.26),
    inset 0 -12px 22px -10px rgba(143,163,181,.5), 0 14px 38px rgba(0,0,0,.5), 0 0 24px rgba(143,163,181,.18); }
.lg:hover::before { opacity: 1; }
.lg:active { transform: scale(.985); }
/* primary = alabaster chrome glass: dense enough for dark text, still glassy at the rim */
.lg-chrome { color: #0a0a0a;
  background: linear-gradient(180deg, rgba(246,246,244,.95), rgba(229,228,226,.82) 50%, rgba(190,201,209,.78));
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 4px rgba(83,104,120,.35), inset 0 0 0 1px rgba(255,255,255,.6), 0 10px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(10,10,10,.4); }
.lg-chrome::before { background: radial-gradient(140px 60px at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.9), transparent 70%); mix-blend-mode: soft-light; }
.lg-chrome svg { stroke: #2b3742; }
.lg-chrome:hover { box-shadow: inset 0 1px 1px #fff, inset 0 -2px 6px rgba(83,104,120,.45), inset 0 0 0 1px #fff, 0 14px 38px rgba(0,0,0,.55), 0 0 26px rgba(229,228,226,.22); }
/* the old flat pill styles give way to glass */
.pill-white, .pill-ghost { background: none; box-shadow: none; }
.pill.lg { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 55%, rgba(83,104,120,.10)); }
.pill.lg-chrome { background: linear-gradient(180deg, rgba(246,246,244,.95), rgba(229,228,226,.82) 50%, rgba(190,201,209,.78)); }
.pill-ghost.lg { color: #eef1f3; }
.menu.lg { overflow: visible; border-radius: 18px; }
.badge.lg { overflow: visible; }
.badge span { color: #c7d3dc; background: rgba(83,104,120,.25); box-shadow: inset 0 0 0 1px rgba(143,163,181,.55); }
.tag { -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(229,228,226,.14), 0 4px 16px rgba(0,0,0,.5); }
.icon-btn.lg, .rail-next.lg { border-radius: 50%; }
.m-steps span.on b { color: #0a0a0a; box-shadow: 0 0 14px rgba(143,163,181,.6); }
.m-alert i { background: #b5c4d0; }

/* layout: the title is longer than the reference's, so it runs a size down to keep clear of the orb */
.hero h1 { font-size: 74px; line-height: 76px; }
/* vertical rhythm matched to the reference (1440 frame): cards at 845, steps at 1362, built-for at 1788 */
.engine .sec-head { padding-top: 0; }
.run { padding-top: 98px; }
.rail-wrap { margin-top: 44px; }
.built { padding-top: 0; margin-top: -7px; }
.stats { padding-top: 40px; }
.built { margin-top: 19px; } .stats { padding-top: 70px; }
/* the horizon glow is wider than the page on purpose: clip it sideways only, so it never adds a horizontal scroll */
html, body { overflow-x: clip; }
.hero { overflow-x: clip; }
/* the TREXYS title runs longer than the reference's, so the left-most tag moves up into the free space above the orb */
.t3 { left: 300px; top: 112px; }
.built::after { bottom: -120px; height: 460px; background: radial-gradient(55% 70% at 50% 100%, rgba(229,228,226,.30), rgba(83,104,120,.55) 32%, rgba(40,52,62,.45) 58%, transparent 80%); }
/* phones: re-apply after the desktop title size set above */
@media (max-width: 760px) { .hero h1 { font-size: 44px; line-height: 47px; } .t3 { left: 300px; top: 112px; } }

/* the hero coin (web/c/coin.js) replaces the orb: same centre (391, 323) in the node art */
.coin { position: absolute; left: 171px; top: 103px; width: 440px; height: 440px; display: grid; place-items: center; }
.coin-halo { position: absolute; inset: 70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,163,181,.30), rgba(83,104,120,.16) 45%, transparent 70%); filter: blur(18px); }
.coin canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.coin-fallback { width: 150px; height: 150px; filter: drop-shadow(0 0 14px rgba(143,163,181,.55)); }
.coin.is-3d .coin-fallback { display: none; }

/* where each trace touches the coin */
.net-dots .pin { fill: #e5e4e2; filter: drop-shadow(0 0 4px rgba(143,163,181,.9)); }

/* nav: a three-column grid (logo | menu | actions), every item centred on the same row. The menu no longer
   depends on left:50% + translateX(-50%), which the intro tween and the glass hover transform could override */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav > .logo { grid-column: 1; justify-self: start; }
.nav .menu { grid-column: 2; position: relative; left: auto; transform: none; justify-self: center; align-self: center; margin: 0; }
.nav .nav-r { grid-column: 3; justify-self: end; margin-left: 0; }
.nav .menu.lg:hover { transform: translateY(-1px); }
.nav.open .menu { justify-self: stretch; align-self: start; }
/* the menu is both a GSAP intro target and a glass element: its CSS transform transition fought the tween and could
   leave it parked 10px high. No transform transition (or hover lift) on it, so only the tween moves it. */
.nav .menu.lg, .hero-copy > .badge.lg { transition: box-shadow .3s, background .3s; }
.nav .menu.lg:hover, .nav .menu.lg:active, .hero-copy > .badge.lg:hover, .hero-copy > .badge.lg:active { transform: none; }
