/* StreamScreen — SaaS polish + serious / tough */
:root {
  --navy: #0f2c59;
  --navy-deep: #0b2248;
  --surface: #080e18;
  --surface-2: #0a1628;
  --surface-3: #101f36;
  --teal: #00a8a8;
  --teal-dark: #008f8f;
  --teal-soft: #5fcfcf;
  --gray: #94a3b8;
  --gray-muted: #7b8ba3;
  --text: #e6edf7;
  --text-dim: #9aa9c0;
  --white: #ffffff;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.2);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.25);
  --radius: 4px;
  --radius-sm: 2px;
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 14, 24, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  height: 32px;
  width: auto;
  filter: none;
  opacity: 1;
  background: #f8fafc;
  padding: 0.22rem 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.nav-links .btn {
  margin-left: 0.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.95rem;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.btn-compact {
  padding: 0.5rem 0.8rem;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-3);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(230, 237, 247, 0.2);
}

.btn-ghost:hover {
  background: rgba(230, 237, 247, 0.05);
  color: var(--white);
  border-color: rgba(230, 237, 247, 0.34);
}

/* Hero — calm, dense, serious */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 168, 168, 0.035), transparent 36%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  color: var(--text);
  padding: 3.5rem 0 3.35rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 168, 0.08);
  border: 1px solid rgba(0, 168, 168, 0.22);
  color: var(--teal-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--white);
  max-width: 14ch;
}

.hero p.lead {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 34rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
}

.hero-actions .btn-primary {
  min-width: 10rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
}

.trust-row li {
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  color: rgba(154, 169, 192, 0.72);
  font-size: 0.78rem;
}

.hero-meta a {
  color: var(--teal-soft);
}

.hero-meta a:hover {
  color: var(--white);
}

.hero-card {
  background: rgba(16, 31, 54, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.hero-card img.logo-hero {
  width: min(100%, 220px);
  margin: 0 auto 0.95rem;
  filter: none;
  opacity: 1;
  background: #f8fafc;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.stat {
  text-align: center;
  padding: 0.65rem 0.3rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 14, 24, 0.55);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 0.8rem;
  color: var(--teal-soft);
  letter-spacing: -0.015em;
  margin-bottom: 0.1rem;
}

.stat span {
  font-size: 0.68rem;
  color: var(--gray-muted);
  line-height: 1.3;
}

/* Sections */
section {
  padding: 3.1rem 0;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--teal-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.45rem;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  letter-spacing: -0.028em;
  line-height: 1.22;
  font-weight: 700;
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.55;
}

.features {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.features + .features {
  border-top: none;
}

.features-alt {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.feature {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem 0.9rem;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.feature:hover {
  border-color: rgba(0, 168, 168, 0.3);
  background: #13243d;
}

.feature .icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(0, 168, 168, 0.1);
  color: var(--teal);
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

.feature h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--white);
}

.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.48;
}

/* How it works */
.how {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 0.95rem 0.95rem;
  box-shadow: none;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: 1px solid rgba(0, 168, 168, 0.3);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  letter-spacing: -0.015em;
  color: var(--white);
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.48;
}

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 62%, #0a3d3d 100%);
  color: var(--white);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
}

.cta h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.028em;
  font-weight: 700;
}

.cta p {
  margin: 0;
  color: rgba(230, 237, 247, 0.76);
  max-width: 34rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cta .btn-primary {
  background: var(--teal);
}

.cta .btn-primary:hover {
  background: var(--teal-dark);
}

.cta .btn-ghost {
  border-color: rgba(230, 237, 247, 0.28);
  color: var(--white);
}

.cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(230, 237, 247, 0.45);
}

/* Footer */
.site-footer {
  background: #050a12;
  color: rgba(154, 169, 192, 0.75);
  padding: 1.85rem 0 1.35rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  filter: none;
  opacity: 1;
  background: #f8fafc;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.footer-links a {
  color: rgba(154, 169, 192, 0.75);
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--teal-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.5);
}

/* Mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.36rem 0.52rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.3rem);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    gap: 0.55rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    margin-left: 0;
    width: 100%;
  }

  .nav {
    position: relative;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2.6rem 0;
  }
}

.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.032em;
  color: var(--white);
  max-width: 22ch;
}

.page-hero .lead {
  margin: 0 0 1.1rem;
  color: var(--text-dim);
  max-width: 38rem;
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.price-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.price-card.featured {
  border-color: rgba(0, 168, 168, 0.45);
  background: #13243d;
}

.price-card h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
}

.price-tag {
  margin: 0;
  color: var(--teal-soft);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.price-card ul {
  margin: 0.2rem 0 0.6rem;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.5;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.fine-print {
  margin: 1.1rem 0 0;
  color: var(--gray-muted);
  font-size: 0.8rem;
}

.prose-section {
  padding-top: 0;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--white);
}

.prose p {
  margin: 0 0 0.7rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    max-width: none;
  }
}


/* demo form */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.demo-copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--white);
}
.demo-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}
.demo-list li { margin: 0.35rem 0; }
.demo-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.form-row { margin: 0 0 0.85rem; }
.form-row label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  color: var(--text);
  padding: 0.55rem 0.65rem;
  font: inherit;
}
.form-row textarea { resize: vertical; min-height: 5.5rem; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.demo-form .btn { width: 100%; margin-top: 0.25rem; }
.form-status {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
}
.form-status--ok { color: var(--teal-soft); }
.form-status--err { color: #f87171; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .demo-layout { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}


/* redesign v1 */
.hero-proof .proof-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.hero-proof .proof-title {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
.proof-list {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}
.proof-note {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--gray-muted);
}
.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0.85rem 0;
}
.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.logo-strip-label {
  font-size: 0.78rem;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.logo-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 500;
}
.section-link {
  margin: 1rem 0 0;
  text-align: center;
}
.section-link a { color: var(--teal-soft); }
.proof-step {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 600;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.compare-table th,
.compare-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface-3);
  color: var(--white);
  font-weight: 600;
}
.compare-table tbody th {
  color: var(--text);
  font-weight: 500;
  width: 34%;
}
.compare-table td { color: var(--text-dim); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.diagram {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.86rem;
  background: var(--surface-2);
}
.diagram-arrow { color: var(--teal-soft); font-weight: 600; }
.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}
.plain-list li { margin: 0.3rem 0; }
@media (max-width: 700px) {
  .logo-strip-inner { justify-content: flex-start; }
}


.callout {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 1.25rem 1.3rem;
  max-width: 40rem;
}
.callout h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--white);
}
.callout p { color: var(--text-dim); margin: 0 0 0.75rem; }
.logo-strip a { color: var(--teal-soft); text-decoration: none; }
.logo-strip a:hover { text-decoration: underline; }
@media (min-width: 901px) {
  .steps-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}


.trust-row a {
  color: var(--teal-soft);
  text-decoration: none;
}
.trust-row a:hover { text-decoration: underline; }


.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.shot {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  background: #000;
}
.shot figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .shot-grid { grid-template-columns: 1fr; }
  .shot img { height: auto; max-height: 420px; object-fit: contain; }
}
