:root {
  --bg: #07111f;
  --bg-soft: #0c1c33;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eff4ff;
  --muted: #b7c5df;
  --accent: #76b8ff;
  --accent-strong: #2f8cff;
  --warm: #ffd36f;
  --success: #77e2b0;
  --danger: #ff8a8a;
  --shadow: 0 24px 70px rgba(3, 9, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(55, 116, 229, 0.28), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 198, 92, 0.18), transparent 20%),
    linear-gradient(180deg, #07111f 0%, #091a2f 46%, #07111f 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 17, 31, 0.82);
  box-shadow: 0 18px 50px rgba(3, 9, 20, 0.34);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(46, 129, 255, 0.28);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.topnav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0 28px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.workflow-copy h2,
.cta-band h2 {
  margin: 18px 0 14px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.cta-band p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #5fa8ff 100%);
  color: #06111f;
  box-shadow: 0 20px 45px rgba(47, 140, 255, 0.3);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-proof div,
.template-card,
.use-case-card,
.proof-card,
.faq-card,
.workflow-step,
.panel-window {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
}

.hero-proof strong {
  font-size: 15px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-panel {
  position: relative;
}

.panel-window {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(7, 17, 31, 0.76);
}

.panel-header,
.panel-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-pill,
.template-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 211, 111, 0.18);
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-mono {
  color: #99aad0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.panel-chart {
  margin: 22px 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.panel-chart-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.panel-insight {
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.insight-label {
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-insight p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

section {
  margin-top: 72px;
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.workflow-copy h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.template-grid,
.use-case-grid,
.proof-grid,
.faq-grid,
.workflow-steps {
  display: grid;
  gap: 18px;
}

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

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

.template-card,
.use-case-card,
.proof-card,
.faq-card,
.workflow-step {
  padding: 24px;
  border-radius: 24px;
}

.template-card h3,
.use-case-card h3,
.proof-card h3,
.faq-card h3,
.workflow-step h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.template-card p,
.use-case-card p,
.proof-card p,
.faq-card p,
.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.workflow-band,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

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

.workflow-step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 700;
}

.cta-band {
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 1080px) {
  .hero,
  .workflow-band,
  .cta-band,
  .template-grid,
  .proof-grid,
  .faq-grid,
  .use-case-grid,
  .workflow-steps,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-text,
  .section-heading p,
  .cta-band p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}
