:root {
  --bg: #0b0f14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1100px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.2px;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(110, 168, 254, 0.18), transparent 55%),
    radial-gradient(800px 500px at 85% 20%, rgba(160, 110, 255, 0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(85, 255, 170, 0.08), transparent 60%);
  filter: blur(0px);
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.7);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand-title {
  font-weight: 650;
  font-size: 14px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  padding: 44px 0 10px;
  align-items: start;
}

h1 {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 58ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  user-select: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #071018;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

.button.primary:hover {
  background: rgba(255, 255, 255, 0.98);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.mini-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.mini-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.mini-value {
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 34px 0 6px;
}

.section-head {
  margin-bottom: 14px;
}

.section h2 {
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.muted {
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-title {
  font-weight: 650;
  font-size: 14px;
}

.card-body {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.chip {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.list-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.chat-shell {
  display: grid;
  gap: 10px;
}

.chat-title {
  font-weight: 650;
  font-size: 14px;
}

.chat-prompt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.chat-widget {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.chat-placeholder {
  text-align: center;
  padding: 18px;
}

.chat-placeholder-title {
  font-weight: 650;
  margin-bottom: 6px;
}

.chat-placeholder-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.chat-footnote {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-title {
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-value a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-value a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.contact-note {
  font-size: 12px;
  margin-top: 6px;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.footer {
  padding: 28px 0 50px;
  font-size: 12px;
  color: var(--muted);
}

/* Desktop first: keep wide layouts.
   Adds a small adjustment for smaller screens without focusing on mobile. */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .mini {
    grid-template-columns: 1fr;
  }
}
