/* ==========================================================================
   Aris Trade LLC
   ========================================================================== */

:root {
  --bg: #05060a;
  --bg-2: #08090f;
  --surface: #0c0e15;
  --surface-2: #11141d;
  --surface-3: #171b27;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --text: #edeff5;
  --muted: #9097aa;
  --dim: #5f6679;

  --blue: #4f7cff;
  --blue-2: #6d8dff;
  --cyan: #38d6ff;
  --green: #3ee58f;
  --amber: #ffc069;

  --grad: linear-gradient(92deg, #8aa4ff 0%, #38d6ff 55%, #3ee58f 100%);

  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 68px;
  --container: 1200px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
pre { margin: 0; }
address { font-style: normal; }
::selection { background: rgba(79, 124, 255, .45); color: #fff; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: 0; }
.dim { color: var(--dim); }

.container { position: relative; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* vertical guide lines at the container edges */
.page-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: min(100%, var(--container)); margin: 0 auto;
  border-left: 1px solid rgba(255, 255, 255, .04);
  border-right: 1px solid rgba(255, 255, 255, .04);
}
main, .site-footer { position: relative; z-index: 1; }

.led {
  display: inline-block; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 229, 143, .15), 0 0 10px rgba(62, 229, 143, .7);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .45; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--font); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-light { background: #fff; color: #05060a; }
.btn-light:hover { background: #e9edf8; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 8px 30px -6px rgba(110, 150, 255, .55); }
.btn-outline { color: var(--text); border-color: var(--border-2); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 10, .72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }

.nav {
  display: flex; gap: 2px; margin: 0 auto;
  padding: 4px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(12, 14, 21, .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav .nav-mobile-only { display: none; }

.menu-toggle {
  display: none; position: relative;
  width: 42px; height: 42px; margin-left: auto;
  border: 1px solid var(--border-2); border-radius: 10px;
  background: rgba(12, 14, 21, .6); cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px;
  background: var(--text); transition: transform .25s, top .25s;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 0;
  isolation: isolate;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: -260px;
  width: 1100px; height: 700px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 35% 50%, rgba(79, 124, 255, .45), transparent),
    radial-gradient(closest-side at 65% 55%, rgba(56, 214, 255, .28), transparent),
    radial-gradient(closest-side at 50% 80%, rgba(62, 229, 143, .14), transparent);
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-52%) scale(1); }
  to { transform: translateX(-48%) scale(1.08); }
}

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(12, 14, 21, .7);
  font-size: 13.5px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.announce:hover { border-color: rgba(255, 255, 255, .28); color: var(--text); }
.announce-tag {
  padding: 3px 8px; border-radius: 999px;
  background: rgba(79, 124, 255, .18); color: #a9bcff;
  font-size: 11px; font-weight: 500;
}
.announce svg { width: 14px; height: 14px; }

.hero h1 {
  margin-top: 28px;
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 600; letter-spacing: -0.055em; line-height: .95;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad, .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 28px; max-width: 620px; font-size: 19px; line-height: 1.6; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 36px; font-size: 12.5px; color: var(--muted); text-transform: uppercase; }
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Console (hero) ---------- */
.console-wrap { margin-top: 72px; perspective: 2200px; }
.console {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 27, 39, .95), rgba(12, 14, 21, .98));
  border: 1px solid var(--border-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 -20px 80px -20px rgba(79, 124, 255, .35),
    0 40px 120px -30px rgba(0, 0, 0, .9);
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 18deg)) scale(var(--tilt-scale, .96));
  will-change: transform;
  overflow: hidden;
}
.console::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 170, 255, .7), transparent);
}
.console-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.console-bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.console-title { font-size: 12.5px; color: var(--dim); }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--green); }

.console-body { display: grid; grid-template-columns: 196px 1fr; min-height: 420px; }
.console-side {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 10px; border-right: 1px solid var(--border);
}
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--dim);
}
.side-item svg { width: 16px; height: 16px; }
.side-item.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }

.console-main { display: grid; gap: 14px; padding: 16px; align-content: start; text-align: left; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  padding: 14px 14px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--border);
}
.tile small { display: block; font-size: 10.5px; color: var(--dim); letter-spacing: .04em; }
.tile b { display: block; margin-top: 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.spark { width: 100%; height: 28px; margin-top: 8px; }
.spark polyline { stroke: var(--blue-2); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark-green polyline { stroke: var(--green); }
.spark-cyan polyline { stroke: var(--cyan); }

.console-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.panel-card { border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--border); overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border); }
.card-head .mono { font-size: 11px; }

.chart { width: 100%; height: 200px; padding: 10px 0 0; }
.chart-grid path { stroke: rgba(255, 255, 255, .06); stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.chart-line { stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .5s ease-out forwards; }
.chart-area { opacity: 0; animation: fade 1s 1.6s ease-out forwards; }
.chart-dot { fill: var(--cyan); stroke: none; opacity: 0; animation: fade .4s 2.6s forwards, ping 2s 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes ping { 0% { filter: drop-shadow(0 0 0 rgba(56, 214, 255, .9)); } 100% { filter: drop-shadow(0 0 10px rgba(56, 214, 255, 0)); } }

.log { padding: 6px 0; font-size: 12px; }
.log li {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center;
  padding: 7px 14px; color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, .04);
}
.log li:last-child { border-bottom: 0; }
.log time { color: var(--dim); }
.log .ev { color: #c6d2ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log .ref { color: var(--dim); }
.log .ok { color: var(--green); font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: rgba(62, 229, 143, .1); }
.log li.is-new { animation: rowIn .5s ease-out; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(-8px); background: rgba(79, 124, 255, .12); }
  to { opacity: 1; transform: none; background: transparent; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: flex; align-items: center; gap: 28px;
  padding: 22px 0 22px 28px;
  font-size: 13px; color: var(--muted); text-transform: uppercase; white-space: nowrap;
}
.marquee li::after { content: "+"; color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 128px 0; border-top: 1px solid var(--border); }
.marquee + .section { border-top: 0; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.kicker { display: inline-flex; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.kicker span { color: var(--cyan); }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.045em; line-height: 1.02; }
.section-sub { margin-top: 20px; max-width: 620px; font-size: 18px; color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard {
  --mx: -999px; --my: -999px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    radial-gradient(360px circle at var(--mx) var(--my), rgba(130, 160, 255, .55), var(--border) 70%) border-box;
  transition: transform .3s;
}
.bcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(79, 124, 255, .09), transparent 45%);
}
.bcard > * { position: relative; }
.span-2 { grid-column: span 2; }
.span-2 { flex-direction: row; align-items: center; }
.span-2 .bcard-text { flex: 1 1 46%; }
.span-2 > :last-child { flex: 1 1 54%; }

.bcard-label { display: block; margin-bottom: 14px; font-size: 11.5px; color: var(--cyan); letter-spacing: .04em; }
.bcard h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; }
.bcard p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* sourcing flow */
.flow { display: flex; align-items: center; }
.fnode {
  flex: none; display: grid; gap: 2px; justify-items: center;
  padding: 12px 14px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  font-size: 13.5px; font-weight: 500;
}
.fnode small { font-size: 10px; color: var(--dim); }
.fnode-accent {
  border-color: rgba(79, 124, 255, .7);
  background: linear-gradient(180deg, rgba(79, 124, 255, .28), rgba(79, 124, 255, .1));
  box-shadow: 0 0 30px -6px rgba(79, 124, 255, .7);
}
.fnode-accent small { color: #a9bcff; }
.fline { position: relative; flex: 1; min-width: 14px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 4px, transparent 4px 8px); }
.fline i {
  position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px 2px rgba(56, 214, 255, .8);
  animation: travel 2.4s linear infinite;
}
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 5px); opacity: 0; } }

/* code */
.code {
  padding: 16px 18px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.75; color: #c9cfdd;
  overflow-x: auto; white-space: pre;
}
.code-lg { padding: 22px 24px; font-size: 13.5px; border: 0; border-radius: 0; background: transparent; }
.c-fn { color: #8aa4ff; }
.c-key { color: #7fd8ff; }
.c-str { color: #9cf0c0; }
.c-bool { color: var(--amber); }
.c-dim { color: var(--dim); }

/* pipeline */
.pipeline { display: grid; gap: 10px; font-size: 12.5px; }
.pipeline li { position: relative; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.pipeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 5px; top: 16px; width: 1px; height: 14px; background: var(--border-2);
}
.pdot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; }
.pipeline .done .pdot { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(62, 229, 143, .6); }
.pipeline .done { color: var(--text); }
.pipeline .run .pdot { border-color: var(--cyan); border-top-color: transparent; animation: spin .9s linear infinite; }
.pipeline .run { color: var(--cyan); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* fulfillment route */
.route {
  position: relative; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px) 0 0 / 14px 14px,
    var(--bg-2);
  border: 1px solid var(--border);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, rgba(0, 0, 0, .35));
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, rgba(0, 0, 0, .35));
}
.route svg { width: 100%; height: auto; }
.route-arc { stroke: url(#arc); stroke-width: 2; opacity: .35; }
.route-dash { stroke: url(#arc); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.route-packet { fill: #fff; stroke: none; filter: drop-shadow(0 0 6px rgba(56, 214, 255, .9)); }
.route-node { fill: var(--blue); stroke: none; }
.route-node-end { fill: var(--green); }
.route-ring { stroke: var(--blue); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
.route-ring-end { stroke: var(--green); animation-delay: 1.1s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.route-label { fill: var(--muted); stroke: none; font: 500 11px var(--mono); letter-spacing: .04em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  font-size: 11.5px; color: var(--muted); text-transform: uppercase;
}

/* chat */
.chat { display: grid; gap: 8px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.bubble.in { justify-self: start; background: var(--surface-3); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.bubble.out { justify-self: end; background: linear-gradient(135deg, #3f6bff, #2d55e6); border-bottom-right-radius: 4px; color: #fff; }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(79, 124, 255, .25));
  transform-origin: bottom;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.bars i:nth-child(n+11) { background: linear-gradient(180deg, var(--green), rgba(62, 229, 143, .2)); }
.js .bars i { transform: scaleY(.08); }
.js .in .bars i { transform: none; }
.bars i:nth-child(2) { transition-delay: .04s; } .bars i:nth-child(3) { transition-delay: .08s; }
.bars i:nth-child(4) { transition-delay: .12s; } .bars i:nth-child(5) { transition-delay: .16s; }
.bars i:nth-child(6) { transition-delay: .2s; } .bars i:nth-child(7) { transition-delay: .24s; }
.bars i:nth-child(8) { transition-delay: .28s; } .bars i:nth-child(9) { transition-delay: .32s; }
.bars i:nth-child(10) { transition-delay: .36s; } .bars i:nth-child(11) { transition-delay: .4s; }
.bars i:nth-child(12) { transition-delay: .44s; }

/* compliance checks */
.checks { display: grid; gap: 10px; font-size: 13px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 4px;
  background: rgba(62, 229, 143, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee58f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.steps { display: grid; gap: 12px; }
.step {
  display: flex; gap: 20px;
  padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.step-num {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-2); color: var(--muted); font-size: 13px;
  transition: all .3s;
}
.step h3 { font-size: 19px; letter-spacing: -0.02em; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.step.is-live { border-color: rgba(79, 124, 255, .5); background: linear-gradient(90deg, rgba(79, 124, 255, .1), var(--surface) 70%); box-shadow: 0 0 40px -16px rgba(79, 124, 255, .6); }
.step.is-live .step-num { border-color: var(--blue); color: #fff; background: var(--blue); box-shadow: 0 0 18px rgba(79, 124, 255, .7); }

.terminal {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(79, 124, 255, .5);
}
.term {
  min-height: 300px; padding: 22px 24px;
  font-size: 13.5px; line-height: 2; color: #c9cfdd;
  white-space: pre; overflow-x: auto;
}
.t-prompt { color: var(--green); }
.t-arrow { color: var(--blue-2); }
.t-ok { color: var(--green); }
.t-done { color: var(--cyan); }
.term .caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }

/* ---------- Partners ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checklist { display: grid; gap: 18px; margin: 36px 0 40px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid rgba(79, 124, 255, .55); background: rgba(79, 124, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9bcff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist b { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.checklist span { color: var(--muted); font-size: 15.5px; }

.codecard {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(56, 214, 255, .5);
}
.codecard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.codecard-foot span { display: inline-flex; align-items: center; gap: 10px; }
.codecard-foot svg { width: 16px; height: 16px; transition: transform .2s; }
.codecard-foot:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.codecard-foot:hover svg { transform: translateX(3px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-copy { display: grid; gap: 18px; font-size: 17.5px; color: var(--muted); padding-top: 40px; }

.spec {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 72px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.spec > div { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.spec > div:nth-child(4) { border-right: 0; }
.spec dt { font-size: 11.5px; color: var(--dim); letter-spacing: .04em; }
.spec dd { margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.spec .spec-wide {
  grid-column: 1 / -1; border-right: 0; border-bottom: 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px;
}
.spec-wide dd { margin-top: 0; }
.continents { display: flex; flex-wrap: wrap; gap: 8px; }
.continents li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  font-size: 12px; font-weight: 400; color: var(--text); text-transform: uppercase;
}
.continents li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(62, 229, 143, .7);
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.value {
  padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.value:hover { border-color: var(--border-2); transform: translateY(-3px); }
.value-idx { font-size: 11.5px; color: var(--cyan); }
.value h3 { margin-top: 36px; font-size: 18px; letter-spacing: -0.02em; }
.value p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--border); }
.contact-list li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-list small { font-size: 11.5px; color: var(--dim); letter-spacing: .04em; }
.contact-list a, .contact-list span { font-size: 17px; font-weight: 500; word-break: break-word; }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--cyan); }
.note {
  margin-top: 28px; padding: 14px 16px; border-radius: 12px;
  border: 1px dashed var(--border-2); color: var(--muted); font-size: 14.5px;
}

.form {
  display: grid; gap: 18px; padding: 32px;
  border-radius: var(--radius-lg); border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 80px -40px rgba(79, 124, 255, .45);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--bg-2); color: var(--text);
  font: 400 15.5px/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239097aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.form select option { background: var(--surface-2); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79, 124, 255, .18);
}
.form .is-invalid { border-color: #ff5d6c; box-shadow: 0 0 0 4px rgba(255, 93, 108, .14); }
.form-hint { font-size: 13px; color: var(--dim); text-align: center; }
.form-hint.is-error { color: #ff7a86; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 0; overflow: hidden; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-tag { margin-top: 18px; max-width: 320px; color: var(--muted); font-size: 15px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.site-footer address { color: var(--muted); font-size: 15px; line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--dim);
}
.footer-status { display: inline-flex; align-items: center; gap: 10px; }
.footer-word {
  margin-top: 24px; text-align: center; white-space: nowrap;
  font-size: clamp(64px, 17vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: .78;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; }
  .bars i { transform: none; }
  .console { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-2 { flex-direction: column; align-items: stretch; }
  .span-2 .bcard-text, .span-2 > :last-child { flex: none; }
  .process-grid { grid-template-columns: 1fr; }
  .terminal { position: relative; top: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .spec > div:nth-child(2) { border-right: 0; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 12px; right: 12px;
    flex-direction: column; gap: 2px; margin: 0; padding: 8px;
    background: rgba(12, 14, 21, .97); border-color: var(--border-2);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 12px; font-size: 16px; }
  .nav .nav-mobile-only { display: block; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .console-row { grid-template-columns: 1fr; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-copy { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { padding: 0 16px; }
  .brand img { height: 32px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .section-sub, .lead { font-size: 17px; }

  .hero { padding-top: calc(var(--header-h) + 56px); }
  .announce { font-size: 12.5px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 12px 20px; }
  .console-wrap { margin-top: 56px; }
  .console-main { padding: 12px; }
  .tile b { font-size: 16px; }
  .chart { height: 150px; }
  .log li { grid-template-columns: auto 1fr auto; }
  .log .ref { display: none; }

  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .bcard { padding: 22px; }
  .flow { flex-direction: column; align-items: stretch; }
  .fnode { grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .fline { height: 22px; width: 1px; min-width: 0; flex: none; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .22) 0 4px, transparent 4px 8px); }
  .fline i { left: -2px; top: 0; animation-name: travelY; }
  @keyframes travelY { from { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { top: calc(100% - 5px); opacity: 0; } }

  .step { padding: 18px; gap: 16px; }
  .term { font-size: 11.5px; padding: 18px; }
  .values, .spec { grid-template-columns: 1fr; }
  .spec > div { border-right: 0; }
  .spec .spec-wide { flex-direction: column; align-items: flex-start; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
