:root {
  --bg: #070604;
  --panel: #0d0a08;
  --panel-2: #15100c;
  --panel-3: #1e130c;
  --text: #fff8ef;
  --muted: #b7aca3;
  --dim: #776b62;
  --line: #2d211b;
  --line-2: #51402e;
  --cyan: #44e9ff;
  --green: #bdff63;
  --amber: #ffd166;
  --orange: #ff4d00;
  --orange-2: #ff8a00;
  --red: #ff7a7a;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

section[id],
main[id] {
  scroll-margin-top: 116px;
}

body {
  background-image:
    radial-gradient(circle at 8% -8%, rgba(255, 77, 0, 0.22), transparent 32%),
    radial-gradient(circle at 84% 6%, rgba(68, 233, 255, 0.12), transparent 30%),
    linear-gradient(to right, rgba(255, 77, 0, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 233, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px;
}

::selection {
  background: rgba(47, 228, 255, 0.22);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 77, 0, 0.11), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(68, 233, 255, 0.075), transparent 30%),
    rgba(7, 6, 4, 0.92);
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 296px 1fr auto auto auto;
  align-items: stretch;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 4, 0.94);
  backdrop-filter: blur(12px);
}

.brand-cell,
.nav-links,
.lang-toggle,
.arena-action,
.top-action {
  display: flex;
  align-items: center;
}

.brand-cell {
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 77, 0, 0.55);
  background:
    radial-gradient(circle at 30% 20%, rgba(68, 233, 255, 0.24), transparent 54%),
    radial-gradient(circle at 70% 78%, rgba(255, 77, 0, 0.24), transparent 62%),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 0 0 1px rgba(68, 233, 255, 0.12),
    0 0 18px rgba(255, 77, 0, 0.15);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.96;
  filter:
    invert(1)
    brightness(1.18)
    contrast(1.08)
    drop-shadow(0 0 8px rgba(68, 233, 255, 0.42));
}

.brand-wordmark {
  display: grid;
  align-items: center;
  width: 116px;
  height: 30px;
}

.brand-wordmark img {
  width: 100%;
  height: auto;
  filter:
    invert(1)
    brightness(1.2)
    contrast(1.12)
    drop-shadow(0 0 10px rgba(255, 77, 0, 0.16));
}

.build-tag,
.eyebrow,
.small-note,
.ticker,
.metric-list dt,
.spec-table th,
.bench-table th,
.link-chip,
.console-head,
.console-foot,
.form-note,
.company-lines dt {
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.build-tag {
  color: var(--dim);
  font-size: 10px;
  white-space: nowrap;
}

.nav-links {
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.12), transparent),
    var(--panel-2);
}

.lang-toggle {
  justify-content: center;
  min-height: 74px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.lang-toggle:hover {
  color: var(--text);
  background: var(--panel-2);
}

.arena-action {
  justify-content: center;
  min-height: 74px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(68, 233, 255, 0.14), rgba(68, 233, 255, 0.03)),
    rgba(68, 233, 255, 0.02);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.arena-action:hover {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(68, 233, 255, 0.22), rgba(255, 77, 0, 0.08)),
    var(--panel-2);
}

.top-action {
  min-height: 74px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
  color: var(--bg);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  font-weight: 600;
  font-size: 13px;
}

/* Account chips injected by account-nav.js on public pages */
.top-action-workspace,
.top-action-admin {
  background: transparent;
  color: var(--text);
  border-left: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.top-action-workspace:hover,
.top-action-admin:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--orange);
}

.top-action-admin {
  color: var(--orange);
  background:
    linear-gradient(135deg, rgba(255, 77, 0, 0.16), rgba(255, 77, 0, 0.04));
}

.top-action-admin::before {
  content: "◆";
  margin-right: 6px;
  color: var(--orange);
}

.top-action-admin:hover {
  background:
    linear-gradient(135deg, rgba(255, 77, 0, 0.28), rgba(255, 77, 0, 0.08));
  color: #fff;
}

.ticker {
  display: grid;
  grid-template-columns: 280px 1fr 190px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
  overflow: hidden;
}

.ticker > div {
  padding: 9px 16px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker > div:last-child {
  border-right: none;
}

.ticker-track {
  overflow: hidden;
  min-width: 0;
}

.ticker-row {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: ticker 42s linear infinite;
  color: var(--muted);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.hero-meta span {
  padding: 10px 16px;
  border-right: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-meta span:last-child {
  border-right: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
}

.hero-main {
  padding: 70px 40px 56px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 77, 0, 0.11), transparent 30%),
    radial-gradient(circle at 78% 26%, rgba(68, 233, 255, 0.06), transparent 38%);
}

.eyebrow {
  color: var(--cyan);
  margin: 0 0 28px;
  font-size: 11px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

h1 {
  max-width: 820px;
  font-size: 76px;
  color: var(--text);
  background: linear-gradient(112deg, #fff8ef 0%, #fff8ef 45%, #ff9a2e 64%, #44e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.015em;
  margin: 28px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--bg);
  font-weight: 600;
}

.btn:hover {
  background: var(--panel-2);
  color: var(--text);
}

.btn.primary:hover {
  background: var(--cyan);
  color: #07110c;
}

.small-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 10px;
}

.wafer-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    radial-gradient(circle at 55% 30%, rgba(255, 77, 0, 0.08), transparent 35%),
    var(--panel);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.live-dot {
  color: var(--green);
}

.wafer-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.wafer-ring {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.wafer-cross::before,
.wafer-cross::after {
  content: "";
  position: absolute;
  background: var(--line);
}

.wafer-cross::before {
  width: 1px;
  top: 28px;
  bottom: 28px;
  left: 50%;
}

.wafer-cross::after {
  height: 1px;
  left: 28px;
  right: 28px;
  top: 50%;
}

.wafer-grid {
  position: absolute;
  inset: 34px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 2px;
  clip-path: circle(50% at 50% 50%);
}

.die {
  display: grid;
  place-items: center;
  border: 1px solid #1b252b;
  background: #0d1215;
  color: #364249;
  font-family: var(--mono);
  font-size: 8px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.die.on {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(68, 233, 255, 0.12);
}

.die.hot {
  color: #170600;
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 0 18px rgba(255, 77, 0, 0.18);
}

.metric-list {
  margin: 0;
}

.metric-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.metric-list > div:last-child {
  border-bottom: none;
}

.metric-list dt {
  color: var(--dim);
  font-size: 10px;
}

.metric-list dd {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  position: relative;
  min-height: 160px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.045), transparent 70%),
    rgba(13, 10, 8, 0.56);
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), transparent);
}

.stat:last-child {
  border-right: none;
}

.stat .k {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.stat .v {
  margin-top: 20px;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 77, 0, 0.15);
}

.stat .u {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 8px;
}

.start-section {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 138, 0, 0.12), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(68, 233, 255, 0.09), transparent 28%),
    rgba(13, 10, 8, 0.72);
}

.build-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.build-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.045), transparent 70%),
    rgba(7, 6, 4, 0.55);
}

.build-card:last-child {
  border-right: none;
}

.primary-build {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 77, 0, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(255, 77, 0, 0.16), rgba(68, 233, 255, 0.05)),
    rgba(13, 10, 8, 0.82);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border: 1px solid var(--line-2);
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 10px;
}

.build-card h3 {
  margin-top: 26px;
  font-size: 30px;
}

.build-card p {
  color: var(--muted);
  max-width: 440px;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin-top: 22px;
  border: 1px solid var(--line-2);
}

.console-dock {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.console-dock a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.console-dock a:last-child {
  border-right: none;
}

.console-dock a:hover {
  color: var(--bg);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.bench-section,
.platform-section,
.docs-section,
.contact-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-bottom: 1px solid var(--line);
}

.section-copy,
.platform-copy,
.docs-copy,
.contact-copy {
  padding: 38px 32px;
  border-right: 1px solid var(--line);
}

.section-copy h2,
.platform-copy h2,
.docs-copy h2,
.contact-copy h2,
.section-header h2 {
  max-width: 720px;
  font-size: 38px;
}

.section-copy p,
.platform-copy p,
.docs-copy p,
.contact-copy p,
.section-header p {
  color: var(--muted);
  max-width: 540px;
}

.bench-table-wrap,
.floorplan-wrap,
.code-console,
.contact-form {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 77, 0, 0.065), transparent 34%),
    var(--panel);
}

.bench-table,
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.bench-table th,
.bench-table td,
.spec-table th,
.spec-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}

.bench-table th:last-child,
.bench-table td:last-child,
.spec-table th:last-child,
.spec-table td:last-child {
  border-right: none;
}

.bench-table th,
.spec-table th {
  color: var(--dim);
  background: var(--panel-2);
  font-size: 10px;
}

.bench-table td,
.spec-table td {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.bench-table td:last-child,
.spec-table td:first-child {
  color: var(--orange-2);
}

.use-case-section,
.spec-section,
.roadmap-section,
.pricing-section {
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 34px 32px;
  border-bottom: 1px solid var(--line);
}

.link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 10px;
}

.link-chip:hover {
  border-color: var(--orange);
  color: var(--text);
}

.use-case-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 24px 24px 32px;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(255, 77, 0, 0.10), transparent 70%),
    radial-gradient(700px 360px at 0% 110%, rgba(85, 215, 255, 0.07), transparent 60%);
}

.case,
.road {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.045), transparent),
    rgba(13, 10, 8, 0.84);
}

.case:nth-child(4n),
.road:nth-child(4n) {
  border-right: none;
}

.case h3,
.road h3 {
  font-size: 20px;
}

.case .req,
.road .stage {
  margin: 18px 0 10px;
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.case p,
.road p {
  color: var(--muted);
  margin: 0;
}

/* New pricing cards (rich layout) */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 22px;
  margin: 0 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%),
    rgba(13, 10, 8, 0.86);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.price-card:hover {
  border-color: rgba(255, 77, 0, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.price-card.is-highlight {
  border-color: var(--orange);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.10), transparent 55%),
    rgba(20, 12, 6, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 77, 0, 0.45) inset,
    0 24px 60px rgba(255, 77, 0, 0.18);
}

.price-card.is-highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.45), rgba(85, 215, 255, 0.18));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #0b0805;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.price-card:not(.is-highlight) .price-badge {
  background: rgba(85, 215, 255, 0.18);
  color: var(--cyan, #55d7ff);
  border: 1px solid rgba(85, 215, 255, 0.35);
}

.price-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.005em;
}

.price-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  min-height: 36px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-amount strong {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.price-amount span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.price-audience {
  margin: 0;
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-height: 24px;
}

.price-features {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.price-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.price-detail {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
}

.price-cta {
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: all 0.15s ease;
}

.price-cta:hover {
  border-color: var(--orange);
  background: rgba(255, 77, 0, 0.10);
  color: var(--orange);
}

.price-card.is-highlight .price-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: var(--orange);
  color: #0b0805;
}

.price-card.is-highlight .price-cta:hover {
  filter: brightness(1.08);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .price-card { margin: 0; }
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.layer-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.layer-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.layer-list span {
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 10px;
}

.layer-list strong {
  display: block;
  color: var(--text);
}

.layer-list p {
  margin: 4px 0 0;
  font-size: 13px;
}

.floorplan-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.floorplan {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(12, 1fr);
  min-height: 470px;
  gap: 2px;
  padding: 22px;
}

.tile {
  border: 1px solid #1b252b;
  background: #0d1215;
}

.tile.io {
  background: #080c0e;
}

.tile.hot {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: var(--orange);
}

.tile.warm {
  background: rgba(189, 255, 99, 0.16);
  border-color: var(--green);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
}

.legend-hot {
  background: var(--orange);
}

.legend-warm {
  background: var(--green);
}

.legend-cold {
  background: #0d1215;
  border: 1px solid var(--line-2);
}

.roadmap-section .section-copy {
  border-right: none;
  border-bottom: 1px solid var(--line);
}

.docs-copy {
  min-height: 430px;
}

.code-console {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.console-head,
.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--dim);
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}

.console-foot {
  border-top: 1px solid var(--line);
  border-bottom: none;
}

pre {
  margin: 0;
  padding: 24px 28px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

pre .kw {
  color: var(--cyan);
}

pre .str {
  color: var(--green);
}

pre .num {
  color: var(--orange-2);
}

pre .muted {
  color: var(--dim);
}

.contact-form {
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 77, 0, 0.2);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  border-color: var(--cyan);
  background: var(--cyan);
}

.form-note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 10px;
}

.form-note.ok {
  color: var(--green);
}

.form-note.err {
  color: var(--red);
}

.company-lines {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.company-lines > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.company-lines dt {
  color: var(--dim);
  font-size: 10px;
}

.company-lines dd {
  margin: 0;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  min-height: 560px;
  border-top: 1px solid var(--line);
}

.footer > div {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.footer > div:last-child {
  border-right: none;
}

.footer-brand-lockup {
  margin-bottom: 16px;
}

.footer .brand-mark {
  width: 38px;
  height: 38px;
}

.footer .brand-mark img {
  width: 28px;
  height: 28px;
}

.footer .brand-wordmark {
  width: 110px;
  height: 28px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

.auth-body {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 77, 0, 0.2), transparent 35%),
    radial-gradient(circle at 88% 8%, rgba(68, 233, 255, 0.12), transparent 34%),
    rgba(7, 6, 4, 0.94);
}

.auth-brand-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.auth-brand {
  width: fit-content;
}

.auth-brand-rail h1 {
  max-width: 760px;
  font-size: 64px;
}

.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(13, 10, 8, 0.76);
}

.auth-feature-grid article {
  min-height: 166px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.auth-feature-grid article:last-child {
  border-right: none;
}

.auth-feature-grid span {
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 10px;
}

.auth-feature-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
}

.auth-feature-grid p {
  color: var(--muted);
  font-size: 13px;
}

.auth-card {
  align-self: center;
  margin: 34px;
  padding: 30px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 77, 0, 0.12), transparent 38%),
    var(--panel);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.auth-card h2 {
  margin: 10px 0 24px;
  font-size: 38px;
}

.auth-form {
  display: grid;
  gap: 13px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  text-transform: none;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 77, 0, 0.2);
}

.auth-form button {
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--bg);
  font-weight: 700;
  cursor: pointer;
}

.auth-form button:hover {
  border-color: var(--cyan);
  background: var(--cyan);
}

.auth-form .auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.auth-form .auth-row label {
  margin: 0;
}

.auth-form .field-optional {
  color: var(--dim);
  font-weight: 400;
  text-transform: none;
  font-size: 10px;
  letter-spacing: 0;
  margin-left: 4px;
  opacity: 0.7;
}

.auth-form .auth-pwd {
  position: relative;
  display: block;
}

.auth-form .auth-pwd input {
  padding-right: 46px;
}

.auth-form .auth-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.auth-form .auth-eye:hover,
.auth-form .auth-eye:focus-visible {
  color: var(--orange);
  background: rgba(255, 77, 0, 0.08);
  outline: none;
}

.auth-form .auth-eye.is-on {
  color: var(--orange);
}

.auth-form .auth-mismatch {
  margin: -4px 0 4px;
  color: var(--red, #ff7a7a);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 480px) {
  .auth-form .auth-row {
    grid-template-columns: 1fr;
  }
}

.auth-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 122, 0.45);
  color: var(--red);
  background: rgba(255, 122, 122, 0.08);
  font-size: 13px;
}

.auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--cyan);
}

.auth-trust {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .site-top,
  .hero-grid,
  .bench-section,
  .platform-section,
  .docs-section,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .brand-cell,
  .hero-main,
  .section-copy,
  .platform-copy,
  .docs-copy,
  .contact-copy,
  .footer > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .arena-action,
  .top-action {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .lang-toggle {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .ticker {
    grid-template-columns: 1fr;
  }

  .ticker > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip,
  .build-grid,
  .use-case-grid,
  .roadmap-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case:nth-child(2n),
  .road:nth-child(2n),
  .price:nth-child(2n),
  .build-card:nth-child(2n) {
    border-right: none;
  }

  .console-dock {
    grid-template-columns: repeat(3, 1fr);
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-rail {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .auth-card {
    align-self: stretch;
  }
}

@media (max-width: 680px) {
  section[id],
  main[id] {
    scroll-margin-top: 188px;
  }

  .hero-meta,
  .stats-strip,
  .build-grid,
  .console-dock,
  .use-case-grid,
  .roadmap-grid,
  .pricing-grid,
  .form-row,
  .section-header {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    min-height: 42px;
  }

  .lang-toggle,
  .arena-action,
  .top-action {
    min-height: 42px;
  }

  .hero-main {
    padding: 42px 22px 32px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .section-copy,
  .platform-copy,
  .docs-copy,
  .contact-copy,
  .section-header {
    padding: 28px 22px;
  }

  .section-copy h2,
  .platform-copy h2,
  .docs-copy h2,
  .contact-copy h2,
  .section-header h2 {
    font-size: 28px;
  }

  .auth-brand-rail {
    padding: 24px 20px;
  }

  .auth-brand-rail h1 {
    font-size: 42px;
  }

  .auth-feature-grid {
    grid-template-columns: 1fr;
  }

  .auth-feature-grid article {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .auth-feature-grid article:last-child {
    border-bottom: none;
  }

  .auth-card {
    margin: 20px;
    padding: 24px 20px;
  }

  .auth-card h2 {
    font-size: 30px;
  }

  .case,
  .road,
  .price,
  .build-card,
  .stat {
    border-right: none;
  }

  .bench-table,
  .spec-table {
    min-width: 680px;
  }

  .bench-table-wrap,
  .spec-section {
    overflow-x: auto;
  }
}
