/* XForge corporate website — no framework, no external font dependency */
:root {
  color-scheme: dark;
  --bg: #08090c;
  --bg-elevated: #0d0f14;
  --panel: rgba(20, 22, 29, 0.78);
  --panel-solid: #111319;
  --panel-light: #171a22;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7f8;
  --muted: #a7a9b2;
  --muted-2: #737680;
  --gold: #f4a735;
  --gold-bright: #ffc266;
  --gold-soft: rgba(244, 167, 53, 0.13);
  --gold-glow: rgba(244, 167, 53, 0.30);
  --green: #55d494;
  --danger: #ff7272;
  --container: 1200px;
  --header-height: 82px;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 28px); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: #090a0d; background: var(--gold-bright); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  color: #090a0d;
  background: var(--gold-bright);
  border-radius: 8px;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 480px;
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  opacity: .16;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244,167,53,.35) 0%, rgba(244,167,53,.08) 35%, transparent 68%);
  filter: blur(18px);
}

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 130px 0; }
.section-shell { position: relative; }
.section-dark { background: #0a0b0f; border-block: 1px solid var(--line); overflow: hidden; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 9, 12, .84);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(120%);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; width: 170px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.site-nav a {
  position: relative;
  color: #c8c9cf;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  transition: right .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.language-toggle {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
}
.language-current { color: var(--gold-bright); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.button svg, .text-link svg, .direct-links svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary {
  color: #090a0d;
  background: linear-gradient(135deg, #f5a633, #ffc463);
  box-shadow: 0 10px 35px rgba(244, 167, 53, .18), inset 0 1px rgba(255,255,255,.45);
}
.button-primary:hover { box-shadow: 0 14px 42px rgba(244, 167, 53, .30), inset 0 1px rgba(255,255,255,.5); }
.button-ghost { color: #e6e6e9; border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(244,167,53,.5); background: var(--gold-soft); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-wide { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid rgba(244,167,53,.35);
  transition: border-color .2s ease, color .2s ease;
}
.text-link:hover { color: #ffd28b; border-color: currentColor; }

.eyebrow {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  line-height: 1.4;
}
.display, .headline, .product-content h3, .about-copy h2, .contact-copy h2 {
  font-family: var(--font-display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.display { margin: 22px 0 24px; max-width: 820px; font-size: clamp(54px, 6.3vw, 92px); line-height: .98; font-weight: 850; }
.display span { display: block; }
.text-gradient { color: transparent; background: linear-gradient(110deg, #fff 0%, #ffd28d 38%, #f19a27 100%); background-clip: text; -webkit-background-clip: text; }
.headline { margin: 14px 0 0; font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; font-weight: 850; }
.lead { color: #c3c5cc; font-size: 19px; line-height: 1.75; }

.hero {
  min-height: max(760px, 100svh);
  padding: calc(var(--header-height) + 52px) 0 46px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(244,167,53,.11), transparent 31%),
    radial-gradient(circle at 40% 10%, rgba(255,255,255,.035), transparent 38%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 46px; transform: translateY(-10px); }
.hero-lead { max-width: 720px; margin: 0; color: #b8bac2; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 38px; }
.hero-proof div { display: flex; align-items: center; gap: 10px; }
.hero-proof strong { color: var(--gold-bright); font-family: var(--font-display); font-size: 15px; letter-spacing: .05em; }
.hero-proof span { color: var(--muted-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-image-frame {
  position: relative;
  width: min(730px, 115%);
  border: 1px solid rgba(244,167,53,.19);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 130px rgba(244,167,53,.11), 0 45px 100px rgba(0,0,0,.65);
  transform: perspective(1100px) rotateY(-8deg) rotateX(3deg);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px 28px #08090c;
  pointer-events: none;
}
.hero-image-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.08) saturate(.92); }
.hero-orbit { position: absolute; border: 1px solid rgba(244,167,53,.22); border-radius: 50%; animation: orbit 18s linear infinite; }
.orbit-one { width: 570px; height: 570px; transform: rotate(24deg) scaleY(.38); }
.orbit-two { width: 680px; height: 680px; transform: rotate(-20deg) scaleY(.30); animation-direction: reverse; animation-duration: 24s; }
.hero-orbit::before { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 20px var(--gold); }
.floating-panel {
  position: absolute;
  z-index: 4;
  padding: 14px 17px;
  border: 1px solid var(--line-strong);
  background: rgba(12,14,18,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border-radius: 11px;
}
.panel-one { left: -5%; top: 22%; }
.panel-one span, .panel-one strong { display: block; }
.panel-kicker { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.panel-one strong { margin-top: 4px; font-size: 13px; }
.panel-two { right: -2%; bottom: 18%; display: flex; align-items: center; gap: 8px; color: #d5d6da; font-size: 12px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(85,212,148,.7); }
.hero-floor { position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 500px; transform: translateX(-50%) perspective(500px) rotateX(68deg); border-radius: 50%; border: 1px solid rgba(244,167,53,.18); background: repeating-radial-gradient(circle at center, transparent 0 42px, rgba(244,167,53,.06) 43px 44px); box-shadow: 0 0 140px rgba(244,167,53,.08); }
@keyframes orbit { to { rotate: 360deg; } }

.principles-strip { border-block: 1px solid var(--line); background: #0b0c10; }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principles-grid div { min-height: 100px; padding: 25px 24px; display: flex; align-items: center; gap: 15px; border-left: 1px solid var(--line); }
.principles-grid div:last-child { border-right: 1px solid var(--line); }
.principles-grid span { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.principles-grid strong { color: #d8d9dd; font-size: 13px; line-height: 1.35; letter-spacing: .03em; text-transform: uppercase; }

.section-heading { margin-bottom: 64px; }
.split-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 80px; }
.section-intro { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.centered-heading { max-width: 820px; margin-inline: auto; text-align: center; }
.centered-heading .section-intro { max-width: 700px; margin: 24px auto 0; }

.product-stack { display: grid; gap: 30px; }
.product-card {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: 0 35px 100px rgba(0,0,0,.27);
}
.product-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px rgba(255,255,255,.04); }
.product-visual { position: relative; min-height: 560px; overflow: hidden; display: grid; place-items: center; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 42%, rgba(244,167,53,.15), transparent 42%), #0a0b0f; }
.product-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle, black, transparent 70%); }
.product-halo { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(244,167,53,.22); border-radius: 50%; box-shadow: inset 0 0 80px rgba(244,167,53,.06), 0 0 80px rgba(244,167,53,.08); }
.product-halo::before, .product-halo::after { content: ""; position: absolute; inset: 34px; border: 1px solid rgba(244,167,53,.12); border-radius: 50%; }
.product-halo::after { inset: 80px; }
.product-icon { position: relative; z-index: 3; width: 220px; filter: drop-shadow(0 25px 35px rgba(0,0,0,.55)); transition: transform .45s ease; }
.product-card:hover .product-icon { transform: translateY(-8px) scale(1.03); }
.product-detail-image { position: absolute; right: -24px; bottom: -34px; width: 180px; opacity: .2; filter: blur(.2px) grayscale(.15); transform: rotate(12deg); }
.modules-image { width: 260px; right: -50px; bottom: -68px; opacity: .28; }
.product-code { position: absolute; left: 25px; bottom: 28px; display: flex; flex-direction: column; gap: 3px; color: rgba(255,255,255,.30); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .11em; }
.inventory-grid-demo { position: absolute; left: 28px; top: 28px; width: 105px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; opacity: .34; }
.inventory-grid-demo span { aspect-ratio: 1; border: 1px solid rgba(244,167,53,.42); background: rgba(244,167,53,.04); }
.product-content { padding: clamp(45px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.product-badge { padding: 6px 9px; color: var(--gold-bright); border: 1px solid rgba(244,167,53,.28); background: var(--gold-soft); border-radius: 6px; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.availability { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 11px; font-weight: 700; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(85,212,148,.55); }
.product-content h3 { margin: 0; font-size: clamp(44px, 5vw, 70px); line-height: .98; }
.product-tagline { margin: 18px 0 20px; max-width: 650px; color: #dddde1; font-size: 20px; font-weight: 650; line-height: 1.45; }
.product-content > p:not(.product-tagline) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 28px 0 34px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 20px; color: #c4c5ca; font-size: 13px; font-weight: 650; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 1px; background: var(--gold); box-shadow: 0 0 8px rgba(244,167,53,.35); transform: rotate(45deg); }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.ecosystem-vision { margin-top: 30px; padding: 36px 40px; display: grid; grid-template-columns: 90px .75fr 1.25fr; align-items: center; gap: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, rgba(244,167,53,.07), rgba(255,255,255,.018)); }
.vision-mark { width: 90px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(244,167,53,.18); border-radius: 50%; background: rgba(0,0,0,.2); }
.vision-mark img { width: 88px; }
.ecosystem-vision h3 { margin: 9px 0 0; font-family: var(--font-display); font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.ecosystem-vision p { margin: 0; color: var(--muted); font-size: 14px; }
.ecosystem-vision .text-link { grid-column: 3; justify-self: start; margin-top: -18px; }

.service-background { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.service-background img { position: absolute; right: -220px; top: -120px; width: 680px; opacity: .10; filter: blur(1px) saturate(.7); }
.services-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 345px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,19,25,.72); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(244,167,53,.27); background: rgba(21,23,30,.9); }
.service-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(244,167,53,.10), transparent 68%); }
.service-number { position: absolute; right: 28px; top: 24px; color: rgba(255,255,255,.08); font-family: var(--font-display); font-size: 64px; font-weight: 900; line-height: 1; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(244,167,53,.25); border-radius: 10px; background: var(--gold-soft); }
.service-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 24px 0 12px; font-family: var(--font-display); font-size: 27px; letter-spacing: -.02em; }
.service-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 5px 9px; color: #aeb0b8; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 100px 1fr; gap: 35px; padding: 35px 8px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.process-step:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(244,167,53,.055), transparent 55%); }
.step-index { color: var(--gold); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.process-step h3 { margin: 0 0 7px; font-family: var(--font-display); font-size: 27px; letter-spacing: -.02em; }
.process-step p { max-width: 780px; margin: 0; color: var(--muted); font-size: 15px; }

.section-about { overflow: hidden; background: radial-gradient(circle at 25% 45%, rgba(244,167,53,.07), transparent 28%); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 88px; }
.about-visual { position: relative; min-height: 640px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #0a0b0f; box-shadow: var(--shadow); }
.about-visual::before { content: ""; position: absolute; width: 460px; height: 460px; left: 50%; top: calc(50% - 20px); transform: translate(-50%, -50%); border: 1px solid rgba(244,167,53,.2); border-radius: 50%; box-shadow: 0 0 100px rgba(244,167,53,.07), inset 0 0 80px rgba(244,167,53,.04); }
.about-symbol { position: absolute; z-index: 2; width: 420px; left: 50%; top: 50%; transform: translate(-50%, -55%); display: block; margin: 0; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.about-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle, black, transparent 72%); }
.about-quote { position: absolute; z-index: 3; left: 38px; right: 38px; bottom: 24px; padding: 16px 20px 16px 24px; color: #c8c9cf; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(8,9,12,.94), rgba(8,9,12,.80)); backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; line-height: 1.55; }
.about-copy .lead { margin: 28px 0 34px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.values-grid div { padding-top: 17px; border-top: 1px solid var(--line); }
.values-grid strong, .values-grid span { display: block; }
.values-grid strong { color: #e3e4e7; font-size: 14px; }
.values-grid span { margin-top: 5px; color: var(--muted-2); font-size: 12px; }

.contact-section { overflow: hidden; border-top: 1px solid var(--line); background: #0a0b0f; }
.contact-glow { position: absolute; left: -320px; top: -100px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(244,167,53,.11), transparent 65%); filter: blur(15px); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.contact-copy .lead { max-width: 570px; margin: 28px 0 38px; }
.direct-links { display: grid; gap: 10px; }
.direct-links a { display: grid; grid-template-columns: 44px 1fr 22px; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); transition: border-color .2s ease, background .2s ease; }
.direct-links a:hover { border-color: rgba(244,167,53,.3); background: var(--gold-soft); }
.direct-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold-bright); border: 1px solid rgba(244,167,53,.23); border-radius: 8px; background: rgba(244,167,53,.08); font-family: var(--font-display); font-weight: 900; }
.direct-links strong, .direct-links small { display: block; }
.direct-links strong { font-size: 13px; }
.direct-links small { color: var(--muted-2); font-size: 11px; }
.direct-links svg { color: var(--muted-2); }
.contact-form { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,19,25,.85); box-shadow: 0 35px 90px rgba(0,0,0,.3); }
.contact-form label { display: block; }
.contact-form label > span:first-child:not(.consent-check span) { display: block; margin-bottom: 8px; color: #cfd0d5; font-size: 12px; font-weight: 750; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.two-cols { grid-template-columns: 1fr 1fr; }
.contact-form > label { margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  color: #f1f1f3;
  border: 1px solid var(--line);
  outline: none;
  border-radius: 8px;
  background: #0c0e12;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { padding: 13px 14px; resize: vertical; min-height: 150px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #5e616a; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(244,167,53,.65); box-shadow: 0 0 0 3px rgba(244,167,53,.09); }
.contact-form [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,114,114,.08); }
.form-footer { margin-top: 22px; }
.consent-check { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-bottom: 18px; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.consent-check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--gold); }
.form-status { min-height: 23px; margin: 10px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--green); }

.site-footer { padding: 70px 0 24px; border-top: 1px solid var(--line); background: #07080a; }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; padding-bottom: 50px; }
.footer-brand img { width: 190px; }
.footer-brand p { max-width: 310px; margin: 20px 0 0; color: var(--muted-2); font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column strong { margin-bottom: 8px; color: #e1e2e5; font-size: 12px; text-transform: uppercase; letter-spacing: .10em; }
.footer-column a { color: var(--muted-2); font-size: 13px; transition: color .2s ease; }
.footer-column a:hover { color: var(--gold-bright); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; color: #646771; border-top: 1px solid var(--line); font-size: 11px; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom button { padding: 0; color: inherit; border: 0; background: none; cursor: pointer; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--gold-bright); }

.project-dialog { width: min(520px, calc(100% - 30px)); padding: 36px; color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); background: #111319; box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.project-dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 14px; top: 8px; border: 0; background: none; color: var(--muted); font-size: 28px; cursor: pointer; }
.dialog-icon { width: 46px; height: 46px; display: grid; place-items: center; color: #08110c; border-radius: 50%; background: var(--green); font-weight: 900; }
.project-dialog h2 { margin: 22px 0 12px; font-family: var(--font-display); font-size: 31px; letter-spacing: -.03em; }
.project-dialog p { color: var(--muted); font-size: 14px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 25px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Legal and error pages */
.legal-main { padding: calc(var(--header-height) + 90px) 0 100px; }
.legal-content { max-width: 900px; }
.legal-content h1 { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(48px,7vw,78px); line-height: 1; letter-spacing: -.045em; }
.legal-updated { color: var(--muted-2); font-size: 12px; }
.legal-warning { margin: 40px 0; padding: 22px 24px; border: 1px solid rgba(244,167,53,.25); border-radius: 12px; background: var(--gold-soft); }
.legal-warning strong { color: var(--gold-bright); }
.legal-warning p { margin: 4px 0 0; }
.legal-content h2 { margin: 40px 0 12px; font-family: var(--font-display); font-size: 25px; }
.legal-content p { color: var(--muted); }
.legal-content .button { margin-top: 35px; }
.error-main { min-height: 100vh; padding: 50px 24px; display: grid; place-items: center; align-content: center; text-align: center; background: radial-gradient(circle, rgba(244,167,53,.08), transparent 35%); }
.error-main img { width: 180px; margin-bottom: 28px; }
.error-main h1 { margin: 14px 0 8px; font-family: var(--font-display); font-size: clamp(42px,6vw,70px); letter-spacing: -.04em; }
.error-main p { max-width: 540px; margin: 0 0 28px; color: var(--muted); }

@media (min-width: 1041px) and (max-height: 950px) {
  .hero { padding-top: calc(var(--header-height) + 34px); padding-bottom: 30px; }
  .hero-grid { transform: translateY(-16px); }
  .display { margin-top: 16px; margin-bottom: 18px; font-size: clamp(52px, 5.55vw, 84px); }
  .hero-lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.62; }
  .hero-actions { margin-top: 22px; }
  .hero-proof { margin-top: 28px; }
  .hero-visual { min-height: 540px; }
  .hero-image-frame { width: min(650px, 108%); }
}

@media (min-width: 1041px) and (min-height: 1000px) {
  .hero { min-height: 900px; padding-top: calc(var(--header-height) + 76px); padding-bottom: 72px; }
  .hero-grid { transform: none; }
}

@media (max-width: 1040px) {
  :root { --header-height: 74px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .nav-actions .button { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 75px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); transform: none; }
  .hero-copy, .hero-visual { min-width: 0; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-visual { min-height: 520px; margin-top: -20px; }
  .hero-image-frame { width: 620px; max-width: 92%; }
  .panel-one { left: 8%; }
  .panel-two { right: 8%; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .product-card { grid-template-columns: .78fr 1.22fr; }
  .product-content { padding: 46px; }
  .product-visual { min-height: 600px; }
  .ecosystem-vision { grid-template-columns: 75px 1fr; }
  .vision-mark { width: 75px; }
  .ecosystem-vision p, .ecosystem-vision .text-link { grid-column: 2; }
  .ecosystem-vision .text-link { margin-top: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-visual { min-height: 590px; }
  .contact-copy { max-width: 720px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 92px 0; }
  .site-header { height: 68px; }
  .brand { width: 145px; }
  .menu-toggle { position: relative; z-index: 1002; display: grid; place-content: center; gap: 7px; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.02); }
  .menu-toggle span { width: 20px; height: 1px; background: #fff; transition: transform .2s ease, translate .2s ease; }
  .menu-open .menu-toggle span:first-child { translate: 0 4px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { translate: 0 -4px; transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; justify-content: center; gap: 20px; margin: 0; opacity: 0; visibility: hidden; background: rgba(8,9,12,.97); backdrop-filter: blur(22px); transition: opacity .2s ease, visibility .2s ease; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav a { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
  .site-nav a::after { display: none; }
  .nav-actions { margin-left: 4px; }
  .language-toggle { position: relative; z-index: 1002; }
  .hero { padding-top: 130px; padding-bottom: 55px; }
  .display { font-size: clamp(48px, 13vw, 70px); }
  .hero-actions .button { flex: 1 0 100%; width: 100%; min-width: 0; }
  .hero-proof { gap: 12px 22px; margin-top: 38px; }
  .hero-visual { min-height: 390px; margin-top: 20px; width: 100%; }
  .hero-image-frame { width: 92%; max-width: none; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 450px; height: 450px; }
  .floating-panel { display: none; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid div { min-height: 82px; padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .principles-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .principles-grid div:nth-child(odd) { border-left: 1px solid var(--line); }
  .principles-grid div:nth-child(even) { border-right: 1px solid var(--line); }
  .section-heading { margin-bottom: 44px; }
  .headline { font-size: clamp(38px, 11vw, 54px); }
  .product-card { grid-template-columns: 1fr; border-radius: 24px; }
  .product-visual { min-height: 370px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-halo { width: 280px; height: 280px; }
  .product-icon { width: 180px; }
  .product-content { padding: 36px 25px 40px; }
  .product-content h3 { font-size: 50px; }
  .product-tagline { font-size: 17px; }
  .feature-list { grid-template-columns: 1fr; }
  .product-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .ecosystem-vision { grid-template-columns: 58px 1fr; padding: 28px 22px; gap: 20px; }
  .vision-mark { width: 58px; }
  .vision-mark img { width: 56px; }
  .ecosystem-vision h3 { font-size: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 30px 26px; }
  .process-step { grid-template-columns: 52px 1fr; gap: 14px; padding: 28px 4px; }
  .about-visual { min-height: 500px; }
  .about-symbol { width: 325px; left: 50%; top: 50%; transform: translate(-50%, -54%); }
  .about-visual::before { width: 370px; height: 370px; top: calc(50% - 18px); left: 50%; transform: translate(-50%, -50%); }
  .about-quote { left: 18px; right: 18px; bottom: 18px; padding-left: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .dialog-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-proof div { width: 100%; }
  .hero-visual { min-height: 330px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid div { border: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .principles-grid div:last-child { border-bottom: 0 !important; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .card-actions .button { width: 100%; }
  .card-actions .text-link { align-self: flex-start; }
  .ecosystem-vision { grid-template-columns: 1fr; }
  .vision-mark { display: none; }
  .ecosystem-vision p, .ecosystem-vision .text-link { grid-column: 1; }
  .contact-form { padding: 24px 18px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .project-dialog { padding: 30px 22px; }
}

@media (pointer: coarse) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* XForge Asset Finder promotional section */
.finder-promo {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 78% 50%, rgba(244,167,53,.12), transparent 31%),
    linear-gradient(180deg, #0b0c10, #090a0d);
}
.finder-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
}
.finder-promo-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 68px; align-items: center; }
.finder-promo-copy .section-intro { max-width: 690px; margin-top: 24px; }
.finder-promo-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.finder-promo-actions > span { color: #777b85; font-size: 12px; }
.finder-promo-ui { min-width: 0; perspective: 1200px; }
.finder-promo-window { position: relative; overflow: hidden; padding: 17px; border: 1px solid rgba(244,167,53,.26); border-radius: 20px; background: rgba(12,13,17,.88); box-shadow: 0 36px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05); transform: rotateY(-4deg) rotateX(1deg); }
.finder-promo-window::after { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; bottom: -90px; border: 1px solid rgba(244,167,53,.22); transform: rotate(45deg); box-shadow: inset 0 0 60px rgba(244,167,53,.05); }
.finder-promo-top { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.finder-promo-top span { width: 7px; height: 7px; border-radius: 50%; background: #4b4e57; }
.finder-promo-top span:first-child { background: #e5a543; }
.finder-promo-top strong { margin-left: auto; color: #696d77; font-size: 9px; letter-spacing: .17em; }
.finder-promo-query { display: grid; grid-template-columns: 23px minmax(0,1fr); gap: 11px; align-items: center; min-height: 70px; margin: 18px 0 11px; padding: 12px 15px; border: 1px solid rgba(244,167,53,.28); border-radius: 13px; background: #0f1015; color: #eff0f3; font-size: 14px; }
.finder-promo-query svg { width: 21px; fill: none; stroke: #f4a735; stroke-width: 1.8; }
.finder-promo-signals { display: flex; flex-wrap: wrap; gap: 6px; }
.finder-promo-signals span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.025); color: #9a9da7; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.finder-promo-result { position: relative; z-index: 1; display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 14px; align-items: center; margin-top: 16px; padding: 17px; border: 1px solid rgba(94,230,168,.16); border-radius: 14px; background: linear-gradient(135deg, rgba(94,230,168,.055), rgba(255,255,255,.018)); }
.finder-promo-score { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(244,167,53,.34); color: #111216; background: linear-gradient(145deg, #ffe2ae, #f4a735); font-weight: 900; }
.finder-promo-result small { display: block; color: #76d8ad; font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.finder-promo-result strong { display: block; margin-top: 5px; font-size: 13px; }
.finder-promo-result p { margin: 5px 0 0; color: #7e828d; font-size: 10px; }
@media (max-width: 980px) {
  .finder-promo-grid { grid-template-columns: 1fr; gap: 44px; }
  .finder-promo-ui { max-width: 720px; }
}
@media (max-width: 620px) {
  .finder-promo-actions { align-items: flex-start; flex-direction: column; }
  .finder-promo-window { padding: 12px; transform: none; }
  .finder-promo-result { grid-template-columns: 54px minmax(0,1fr); }
  .finder-promo-score { width: 48px; height: 48px; font-size: 12px; }
}
.account-nav-link{color:#c7c8cd;font-size:13px;font-weight:800;text-decoration:none}.account-nav-link:hover{color:var(--gold-bright)}
@media(max-width:1100px){.account-nav-link{display:none}}
