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

:root {
  --bg: #020617;
  --bg-alt: #020617;
  --surface: #020617;
  --panel: #020617;
  --card: rgba(15, 23, 42, 0.96);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --accent-strong: rgba(56, 189, 248, 0.5);
  --accent-gold: #eab308;
  --accent-gold-soft: rgba(234, 179, 8, 0.22);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.4);
  --border-soft: rgba(148, 163, 184, 0.18);
  --shadow-soft: 0 26px 90px rgba(15, 23, 42, 0.98);
  --radius-lg: 1.3rem;
  --radius-md: 0.9rem;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #0b1120 0, #020617 48%, #020617 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-attachment: fixed;
}

main { padding-bottom: 4rem; }

.container {
  width: min(1180px, 100% - 3.5rem);
  margin-inline: auto;
}

.section {
  padding: 3.5rem 0 3.3rem;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(234, 179, 8, 0.12), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.84));
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.nav-links a.nav-whitepaper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.18), rgba(56, 189, 248, 0.32));
  border: 1px solid rgba(56, 189, 248, 0.75);
  color: #f0f9ff;
  box-shadow: 0 20px 48px rgba(14, 165, 233, 0.35);
  gap: 0.3rem;
}

.nav-links a:hover {
  color: #fefce8;
  border-color: rgba(234, 179, 8, 0.7);
  background-color: rgba(15, 23, 42, 0.96);
}

.nav-links a.nav-whitepaper:hover {
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.9);
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.24), rgba(56, 189, 248, 0.45));
}

.nav-links a.active {
  color: #fefce8;
  border-color: rgba(56, 189, 248, 0.9);
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 1));
}

.nav-cta {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  border: 1px solid rgba(234, 179, 8, 0.9);
  color: #020617;
  background:
    radial-gradient(circle at top left, #eab308, #f97316);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 16px 45px rgba(120, 53, 15, 0.9);
  white-space: nowrap;
}

/* Hero */

.hero {
  padding: 3.4rem 0 2.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.7rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.7);
  padding: 0.3rem 0.8rem;
  font-size: 0.74rem;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(24, 31, 57, 0.98));
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: conic-gradient(from 0deg, #eab308, #38bdf8, #eab308);
}

.hero-title {
  margin-top: 1.1rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.5rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title span.accent {
  color: #fefce8;
  text-shadow:
    0 0 26px rgba(234, 179, 8, 0.7),
    0 0 46px rgba(56, 189, 248, 0.7);
}

.hero-subtitle {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.25rem 0.8rem;
  font-size: 0.76rem;
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(24, 31, 57, 0.96));
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary {
  background:
    radial-gradient(circle at top left, #eab308, #f97316);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 20px 52px rgba(146, 64, 14, 0.96);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(24, 31, 57, 0.98));
}

.btn-whitepaper {
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: #f0f9ff;
  font-weight: 600;
  box-shadow: 0 20px 48px rgba(14, 165, 233, 0.35);
}

.hero-footnote {
  margin-top: 1.05rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 32rem;
}

/* White paper feature */

.whitepaper-section {
  padding-top: 0.5rem;
}

.whitepaper-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.86)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 65%);
  padding: 2.4rem;
  box-shadow: 0 40px 120px rgba(15, 23, 42, 0.9);
}

.whitepaper-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.6);
  color: var(--muted);
  font-size: 0.78rem;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(24, 31, 57, 0.94));
  margin-bottom: 0.9rem;
}

.whitepaper-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 0.9rem;
}

.whitepaper-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.whitepaper-card .bullet-list {
  margin-top: 1.2rem;
}

.whitepaper-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.whitepaper-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero panel */

.hero-panel {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(circle at bottom right, rgba(234, 179, 8, 0.25), transparent 60%),
    linear-gradient(150deg, #020617, #020617);
  border: 1px solid rgba(248, 250, 252, 0.45);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red { background-color: #f97373; }
.dot.amber { background-color: #facc15; }
.dot.green { background-color: #4ade80; }

.hero-panel-title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-panel-body {
  padding: 0.95rem 1.05rem 1.15rem;
  font-size: 0.8rem;
}

.tagline {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hero-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
}

.hero-pill {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(248, 250, 252, 0.6);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
}

/* Generic sections */

.section-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.76rem;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.8rem;
  margin: 0 0 0.55rem;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cards & grids */

.grid {
  display: grid;
  gap: 1.3rem;
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(24, 31, 57, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 1.12rem 1.2rem 1.05rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-tag {
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.28rem;
}

/* Business case list */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.3rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.23rem;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background-color: var(--accent-gold);
}

/* Two-col */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(234, 179, 8, 0.35);
  background: rgba(15, 23, 42, 0.8);
  color: #fefce8;
  text-decoration: none;
  font-size: 0.86rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.65);
}

.waitlist {
  margin-top: 1.6rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(8, 25, 53, 0.7);
  box-shadow: inset 0 0 25px rgba(2, 6, 23, 0.55);
}

.waitlist h4 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.waitlist-form label {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.8);
  color: #f8fafc;
  font-size: 0.92rem;
}

.waitlist-form textarea {
  resize: vertical;
}

.waitlist-form .btn {
  align-self: flex-start;
}

.waitlist-footnote {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Tabs */

.tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.tab-button {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  color: var(--muted);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.tab-button.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
  color: #fefce8;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Accordions */

.accordion {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  margin-bottom: 0.7rem;
}

.accordion-header {
  padding: 0.7rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-title {
  font-size: 0.9rem;
}

.accordion-icon {
  font-size: 0.9rem;
  color: var(--muted);
}

.accordion-body {
  padding: 0 0.9rem 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: none;
}

.accordion.open .accordion-body {
  display: block;
}

/* Code sample */

.code-block {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: #020617;
  padding: 0.8rem 0.9rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  color: #e5e7eb;
  position: relative;
  overflow-x: auto;
}

.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.copy-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  color: var(--muted);
  padding: 0.15rem 0.6rem;
  font-size: 0.7rem;
  cursor: pointer;
}

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 0.8rem;
}

.table th,
.table td {
  padding: 0.6rem 0.55rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 2rem 0 2.5rem;
  background:
    linear-gradient(to top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
}

.footer-title {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-text {
  max-width: 36rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.8);
  background:
    radial-gradient(circle at top left, #eab308, #f97316);
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 46px rgba(120, 53, 15, 0.98);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 35;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top span {
  font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .nav-links {
    display: none;
  }

  .container {
    width: min(100% - 2rem, 100%);
  }
}

@media (max-width: 780px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
