/* ConAI Cloud public landing shell — compiled local assets, no runtime CSS CDN. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #060a12;
  --bg-soft: #080e18;
  --surface: #0a111e;
  --elevate: #0f182b;
  --hairline: rgba(158, 255, 0, 0.16);
  --border: #162239;
  --border-hover: #1b2a42;
  --ink: #f8fafc;
  --ink-mid: #cbd5e1;
  --ink-low: #94a3b8;
  --brand: #9eff00;
  --brand-dark: #101400;
  --brand-soft: rgba(158, 255, 0, 0.08);
  --teal: #365314;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grid-line: rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible {
  outline: 3px solid rgba(158, 255, 0, 0.72);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection { background: var(--brand); color: var(--brand-dark); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-dark);
  font-weight: 800;
  transition: top 160ms ease;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.container-narrow { width: min(860px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 0 16px rgba(158, 255, 0, 0.15);
}
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a,
.nav-links .btn {
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  color: var(--ink-mid);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.nav-links a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 0.65rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  transition: all 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-dark);
  box-shadow: 0 0 24px rgba(158, 255, 0, 0.15);
}
.btn-primary:hover { background: #b6ff40; color: var(--brand-dark); box-shadow: 0 0 32px rgba(158, 255, 0, 0.25); }
.btn-secondary {
  border-color: var(--border-hover);
  background: var(--elevate);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--brand);
  background: var(--surface);
  color: var(--brand);
}
.btn-ghost { color: var(--ink-mid); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4rem;
  background:
    radial-gradient(60% 90% at 78% 20%, rgba(158, 255, 0, 0.055), transparent 60%),
    radial-gradient(45% 70% at 15% 85%, rgba(54, 83, 20, 0.18), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 3rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: blink 2.4s ease-in-out infinite;
  content: "";
}
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
.lead {
  margin: 1.15rem 0 0;
  color: var(--ink-mid);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 42rem;
}
.text-muted { color: var(--ink-mid); }
.text-low { color: var(--ink-low); }
.text-brand { color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--ink-mid);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.hero-proof li::before {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  content: "";
}

/* Telemetry panel — hero visual: real system facts, not decoration. */
.telemetry-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.telemetry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.telemetry-title {
  margin: 0;
  color: var(--ink-low);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.telemetry-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.telemetry-live::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: blink 2s ease-in-out infinite;
  content: "";
}
.telemetry-rows { padding: 0.35rem 0; }
.telemetry-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.72rem 1.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.telemetry-row:last-child { border-bottom: 0; }
.telemetry-row dt {
  margin: 0;
  color: var(--ink-low);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.telemetry-row dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
}
.telemetry-row dd em { color: var(--ink-low); font-style: normal; }
.telemetry-meter {
  position: relative;
  height: 6px;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.telemetry-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--brand));
  box-shadow: 0 0 12px rgba(158, 255, 0, 0.35);
}
.telemetry-foot {
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-low);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.section { padding: 4.75rem 0; }
.section-header {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  max-width: 760px;
}
.section-header.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover { border-color: var(--hairline); transform: translateY(-2px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card p { margin: 0.7rem 0 0; color: var(--ink-mid); font-size: 0.95rem; }

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-mid);
}
.check-list svg { flex: 0 0 auto; margin-top: 0.2rem; color: var(--brand); }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 160ms ease, transform 160ms ease;
}
.price-card:hover { border-color: var(--hairline); transform: translateY(-2px); }
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(158,255,0,0.07), var(--bg-soft) 55%);
  box-shadow: 0 0 44px rgba(158,255,0,0.08);
}
.price-badge {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.62rem;
  border-radius: 4px;
  background: var(--brand);
  color: var(--brand-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.price-value { margin: 0.7rem 0 0.2rem; color: var(--brand); font-family: var(--font-mono); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .btn { margin-top: auto; }

.faq-list { display: grid; gap: 0.85rem; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 160ms ease;
}
details:hover { border-color: var(--hairline); }
details[open] { border-color: var(--hairline); }
summary {
  min-height: 56px;
  padding: 1rem 1.15rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand); font-family: var(--font-mono); font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--ink-mid); }

.prose { color: var(--ink-mid); }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-mid); }
.prose ul { padding-left: 1.25rem; }
.notice {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(158,255,0,0.07);
  color: var(--ink-mid);
}

.cta-band {
  padding: 2.25rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(158,255,0,0.1), transparent 55%),
    var(--bg-soft);
  text-align: center;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(130px, 0.5fr));
  gap: 2rem;
  padding: 2.5rem 0;
}
.footer-grid a { display: block; min-height: 34px; padding: 0.25rem 0; color: var(--ink-mid); }
.footer-grid a:hover { color: var(--brand); }
.footer-grid h2, .footer-grid h3 { margin-bottom: 0.7rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-low); }
.footer-bottom {
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--ink-low);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(6,10,18,0.97);
    box-shadow: var(--shadow);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { width: 100%; }
  .header-actions .btn-primary { display: none; }
  .hero { padding-top: 4.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; align-items: stretch; }
  .telemetry-row { grid-template-columns: 1fr; gap: 0.25rem; }
}
