@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #07111f;
  --bg-deep: #091522;
  --surface: rgba(15, 27, 47, 0.84);
  --surface-soft: rgba(8, 16, 30, 0.74);
  --surface-strong: rgba(19, 35, 59, 0.94);
  --text: #edf3fb;
  --muted: #8ca2c0;
  --dim: #546b87;
  --blue: #66a5ff;
  --cyan: #59d1d9;
  --green: #52d39f;
  --orange: #f3a451;
  --red: #ff7b7b;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(102, 165, 255, 0.14), transparent 28%),
    radial-gradient(circle at top left, rgba(89, 209, 217, 0.1), transparent 22%),
    linear-gradient(180deg, #06101d 0%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 31, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: grid;
  text-decoration: none;
}

.brand-mark {
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.section {
  padding: 1.05rem 0;
}

.section-head {
  margin-bottom: 0.95rem;
  max-width: 760px;
}

.section-kicker,
.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head h2,
.hero h1 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
}

.hero {
  padding: 2rem 0 1.3rem;
}

.hero-grid {
  display: block;
}

.hero-copy {
  min-width: 0;
  padding: 1.8rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 35, 59, 0.95), rgba(10, 19, 34, 0.94));
  border: 1px solid rgba(102, 165, 255, 0.16);
  box-shadow: var(--shadow);
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  max-width: 11ch;
}

.subhead {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 1rem;
}

.subhead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-body {
  display: grid;
  gap: 0.95rem;
  margin-top: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.primary-btn {
  color: var(--cyan);
  background: rgba(89, 209, 217, 0.12);
  border-color: rgba(89, 209, 217, 0.3);
}

.ghost-btn {
  color: var(--text);
  background: rgba(102, 165, 255, 0.08);
  border-color: rgba(102, 165, 255, 0.22);
}

.panel,
.resource-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.overview-grid,
.demo-block {
  display: grid;
  gap: 0.8rem;
}

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

.demo-block {
  grid-template-columns: 1fr;
}

.panel,
.resource-card,
.faq-item {
  background: linear-gradient(180deg, rgba(15, 27, 47, 0.92), rgba(10, 19, 34, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel {
  padding: 1rem;
}

.overview-item {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.story-panel h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  text-align: left;
  letter-spacing: -0.02em;
}

.card-intro {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  min-height: 2.75rem;
  font-size: clamp(1.45rem, 2.45vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  white-space: nowrap;
  font-family: "Space Grotesk", "Source Sans 3", sans-serif;
}

.card-intro-base {
  color: var(--text);
}

.card-intro-arrow {
  color: var(--cyan);
  transform: translateY(-0.03em);
}

.card-intro-stellar {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(
    108deg,
    #93a6be 0%,
    #d9e4f0 14%,
    #ffffff 21%,
    #94dde4 27%,
    #ffffff 33%,
    #c6d3e1 44%,
    #8ea2bb 60%,
    #e2ebf5 74%,
    #93a6be 100%
  );
  background-size: 320% 100%;
  background-position: 140% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 16px rgba(143, 220, 226, 0.1);
  animation: stellar-glow 7.5s ease-in-out infinite;
}

@keyframes stellar-glow {
  0%, 62%, 100% {
    background-position: 140% 50%;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 12px rgba(143, 220, 226, 0.05);
  }

  78% {
    background-position: 62% 50%;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 18px rgba(143, 220, 226, 0.12);
  }

  90% {
    background-position: -8% 50%;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14),
      0 0 15px rgba(143, 220, 226, 0.08);
  }
}

.story-panel p,
.demo-copy p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.story-panel p + ul {
  margin-top: 0.85rem;
}

.story-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.story-panel li + li {
  margin-top: 0.55rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
}

.cta-copy {
  max-width: 720px;
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cta-copy p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 15, 0.76);
  backdrop-filter: blur(10px);
}

.demo-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 35, 59, 0.98), rgba(10, 19, 34, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
  padding: 1.35rem;
}

.demo-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

.demo-modal-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.demo-modal-copy p {
  margin: 0.6rem 0 0;
  max-width: 52ch;
  color: var(--muted);
}

.demo-form {
  margin-top: 1.2rem;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.demo-field {
  display: grid;
  gap: 0.38rem;
}

.demo-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  padding: 0.82rem 0.92rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.demo-field textarea {
  resize: vertical;
  min-height: 120px;
}

.demo-field input::placeholder,
.demo-field textarea::placeholder {
  color: var(--dim);
}

.demo-field input:focus,
.demo-field textarea:focus {
  border-color: rgba(89, 209, 217, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.demo-field-full {
  grid-column: 1 / -1;
}

.demo-field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.demo-form-status {
  margin: 0;
  min-height: 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-form-status.is-error {
  color: #ffb0b0;
}

.demo-form-status.is-success {
  color: #9fe7bf;
}

.demo-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.demo-copy {
  padding: 1.15rem;
}

.demo-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
}

.demo-copy p + p {
  margin-top: 0.75rem;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.demo-tags span {
  padding: 0.42rem 0.66rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.app-demo {
  min-width: 0;
}

.demo-window {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 13, 24, 0.86);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  max-width: 920px;
}

.demo-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(15, 27, 47, 0.98), rgba(10, 19, 34, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-lights {
  display: flex;
  gap: 0.35rem;
}

.demo-lights span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.demo-lights span:nth-child(1) {
  background: rgba(255, 123, 123, 0.88);
}

.demo-lights span:nth-child(2) {
  background: rgba(243, 164, 81, 0.88);
}

.demo-lights span:nth-child(3) {
  background: rgba(82, 211, 159, 0.88);
}

.demo-title {
  color: var(--muted);
  font-size: 0.8rem;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-badge {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 209, 217, 0.24);
  background: rgba(89, 209, 217, 0.1);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-app-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 560px;
}

.demo-sidebar {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(8, 15, 28, 0.94));
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-console-sidebar {
  display: flex;
  flex-direction: column;
}

.demo-brand {
  margin-bottom: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-brand-mark {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.demo-client-block {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-client-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(89, 209, 217, 0.24);
  background: rgba(89, 209, 217, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
}

.demo-client-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--cyan);
  flex-shrink: 0;
}

.demo-sidebar-group + .demo-sidebar-group {
  margin-top: 1rem;
}

.demo-section-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0;
  padding: 0.25rem 0.15rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: default;
  font: inherit;
}

.demo-section-head.static {
  padding-top: 0;
}

.demo-section-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-chevron {
  color: var(--dim);
  font-size: 0.9rem;
}

.demo-section-body {
  display: grid;
  gap: 0.25rem;
  padding-left: 0.55rem;
}

.demo-nav-item {
  display: block;
  width: 100%;
  padding: 0.58rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  text-align: left;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.demo-nav-item:not([data-demo-target]) {
  color: var(--muted);
}

.demo-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.demo-nav-item.active {
  background: rgba(102, 165, 255, 0.09);
  border-color: rgba(102, 165, 255, 0.22);
  color: var(--blue);
}

.demo-scroll {
  padding: 1rem;
  overflow-y: auto;
  max-height: 480px;
  scrollbar-color: rgba(89, 209, 217, 0.18) transparent;
  background:
    linear-gradient(180deg, rgba(15, 27, 47, 0.95), rgba(10, 19, 34, 0.98));
}

.demo-scroll::-webkit-scrollbar {
  width: 9px;
}

.demo-scroll::-webkit-scrollbar-thumb {
  background: rgba(89, 209, 217, 0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.demo-scroll::-webkit-scrollbar-track,
.demo-table-shell::-webkit-scrollbar-track {
  background: transparent;
}

.demo-table-shell::-webkit-scrollbar {
  height: 8px;
}

.demo-table-shell::-webkit-scrollbar-thumb {
  background: rgba(89, 209, 217, 0.16);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.demo-view {
  display: none;
  min-height: 520px;
}

.demo-view.is-active {
  display: block;
}

.demo-surface-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.demo-kicker {
  margin: 0 0 0.24rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.demo-surface-head h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", "Source Sans 3", sans-serif;
}

.demo-view-copy {
  margin: 0.45rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.demo-console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.demo-metric-card,
.demo-table-shell {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 35, 59, 0.92), rgba(11, 22, 39, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.demo-metric-card {
  padding: 1rem;
}

.demo-metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.demo-metric-card strong {
  display: block;
  margin-top: 0.42rem;
  font-size: 1.28rem;
}

.demo-metric-card.alert strong {
  color: var(--red);
}

.demo-metric-card.caution strong {
  color: var(--orange);
}

.demo-metric-card.success strong {
  color: var(--green);
}

.demo-table-shell {
  margin-top: 0.9rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(89, 209, 217, 0.16) transparent;
}

.demo-grid-table {
  display: grid;
  gap: 0;
  min-width: 760px;
}

.demo-grid-row {
  display: grid;
  gap: 0.6rem;
  align-items: center;
  padding: 0.72rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text);
}

.demo-grid-row > span {
  text-align: right;
}

.demo-grid-row > span:first-child {
  text-align: left;
}

.demo-grid-row.header {
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 700;
}

.demo-rs-table .demo-grid-row,
.demo-fee-table .demo-grid-row {
  grid-template-columns: 1.35fr repeat(4, 0.7fr);
}

.demo-fee-table .demo-grid-row {
  grid-template-columns: 1.05fr 1.15fr repeat(3, 0.55fr) 0.7fr 0.55fr;
}

.demo-fee-table .demo-grid-row > span:nth-child(2) {
  text-align: left;
}

.demo-sku-table .demo-grid-row,
.demo-account-table .demo-grid-row {
  grid-template-columns: 1.1fr repeat(10, 0.6fr);
}

.demo-demand-table .demo-grid-row {
  grid-template-columns: 1.15fr repeat(4, 0.7fr);
}

.demo-stock-table .demo-grid-row {
  grid-template-columns: 1.5fr repeat(6, 0.62fr);
}

.demo-warehouse-table .demo-grid-row {
  grid-template-columns: 1.05fr repeat(6, 0.7fr) 0.72fr;
}

.demo-grid-row.level-0 {
  background: rgba(89, 209, 217, 0.05);
  font-weight: 700;
}

.demo-grid-row.level-1 {
  background: rgba(102, 165, 255, 0.04);
  font-weight: 600;
}

.demo-grid-row.grand {
  background: rgba(89, 209, 217, 0.06);
  color: var(--cyan);
  font-weight: 700;
}

.table-status {
  justify-self: start;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.table-status.red {
  color: var(--red);
  background: rgba(255, 123, 123, 0.12);
}

.table-status.cyan {
  color: var(--cyan);
  background: rgba(89, 209, 217, 0.12);
}

.table-status.amber {
  color: var(--orange);
  background: rgba(243, 164, 81, 0.12);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.resource-card {
  display: grid;
  gap: 0.38rem;
  padding: 1rem;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 165, 255, 0.22);
  background: linear-gradient(180deg, rgba(19, 35, 59, 0.96), rgba(12, 24, 42, 0.95));
}

.resource-card span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.resource-card strong {
  font-size: 0.96rem;
  line-height: 1.4;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  padding: 0.9rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item p {
  margin-top: 0.6rem;
}

.site-footer {
  padding: 1rem 0 1.5rem;
}

.footer-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

.footer-copy,
.footer-meta {
  margin: 0.25rem 0 0;
  color: var(--dim);
  font-size: 0.84rem;
}

/* ── Product name treatment ── */
.product-intro {
  margin-bottom: 0.9rem;
}

.product-tag {
  display: inline-block;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(89, 209, 217, 0.1);
  border: 1px solid rgba(89, 209, 217, 0.22);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.52rem;
}

.product-name {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stellar-in-name {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(
    108deg,
    #93a6be 0%,
    #d9e4f0 14%,
    #ffffff 21%,
    #94dde4 27%,
    #ffffff 33%,
    #c6d3e1 44%,
    #8ea2bb 60%,
    #e2ebf5 74%,
    #93a6be 100%
  );
  background-size: 320% 100%;
  background-position: 140% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: stellar-glow 7.5s ease-in-out infinite;
}

/* ── Hero statement ── */
.hero-statement {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}

/* ── Beyond the dashboard ── */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.beyond-card {
  padding: 1.3rem;
}

.beyond-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.beyond-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

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

@media (max-width: 900px) {
  .overview-grid,
  .demo-block,
  .resource-grid,
  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .hero-body {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .demo-app-shell,
  .demo-console-metrics {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .demo-surface-head {
    flex-direction: column;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .footer-wrap,
  .demo-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .panel,
  .resource-card,
  .faq-item {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .demo-topbar {
    display: flex;
  }

  .demo-app-shell {
    min-height: 0;
  }

  .demo-sidebar {
    padding: 0.85rem 0.85rem 0.5rem;
    background: rgba(7, 17, 31, 0.88);
  }

  .demo-brand,
  .demo-client-block {
    display: none;
  }

  .demo-sidebar-group + .demo-sidebar-group {
    margin-top: 0.8rem;
  }

  .demo-section-head {
    padding: 0 0 0.45rem;
  }

  .demo-section-body {
    display: flex;
    gap: 0.45rem;
    padding-left: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
  }

  .demo-section-body::-webkit-scrollbar {
    display: none;
  }

  .demo-nav-item {
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    padding: 0.56rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    scroll-snap-align: start;
    font-size: 0.78rem;
  }

  .demo-scroll {
    padding: 0.85rem;
    max-height: none;
    overflow: visible;
  }

  .demo-view,
  .demo-view.is-active {
    min-height: 0;
  }

  .demo-surface-head h3 {
    font-size: 1.22rem;
  }

  .demo-view-copy {
    font-size: 0.84rem;
  }

  .demo-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
