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

:root {
  --bg: #0A0A0B;
  --bg-elevated: #141416;
  --text: #E8E8E8;
  --text-muted: #888888;
  --accent: #4ADE80;
  --accent-dim: rgba(74, 222, 128, 0.15);
  --border: #222222;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", "Fira Code", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nav — minimal sticky bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

/* Slack button style */
.btn-slack {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.btn-slack:hover {
  opacity: 0.9;
}

.btn-slack svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-slack-large {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-slack-large svg {
  width: 22px;
  height: 22px;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  padding: 9rem 0 4rem;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-hook {
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-hook .num {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-cta-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Video explainer */
.video-section {
  padding: 0 0 3rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Output preview — the centerpiece */
.output-section {
  padding: 3rem 0 5rem;
}

.slack-message {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  position: relative;
  overflow-x: auto;
}

.slack-message::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 8px 0 0 8px;
}

.slack-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
}

.slack-avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slack-bot-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.slack-time {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.slack-body {
  padding-left: 0.75rem;
  font-family: var(--sans);
  color: var(--text);
}

.slack-body .title-line {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.slack-body .meta-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.slack-body .person-header {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.slack-body .person-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.25rem;
}

.slack-body .person-text .channel {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.slack-body .person-text .highlight {
  color: var(--text);
}

.commitments {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.commitments .commitments-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.commitments .commitment-line {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.commitments .commitment-line .done {
  color: var(--accent);
}

.commitments .commitment-line .pending {
  color: #f59e0b;
}

.sources {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sources .channel {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.reactions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.reaction-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  cursor: default;
}

/* Pitch section */
.pitch {
  padding: 5rem 0;
}

.pitch p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.pitch p:first-of-type {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.pitch p + p {
  margin-top: 1rem;
}

/* Features */
.features {
  padding: 4rem 0 5rem;
}

.feature-block {
  margin-bottom: 3.5rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block h3 {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-block p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
}

/* Trust strip */
.trust {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.trust h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.trust p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 640px;
}

/* Final CTA */
.cta {
  text-align: center;
  padding: 6rem 0;
}

.cta h2 {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.cta-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* Legal / support pages */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 640px;
}

.legal-page ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.legal-page ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.4rem;
  max-width: 640px;
}

.legal-page ul li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--border);
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* Support commands list */
.support-commands {
  margin-bottom: 1rem;
}

.cmd-row {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.cmd-row code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  white-space: nowrap;
  min-width: 240px;
  flex-shrink: 0;
}

.cmd-row span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Footer links */
.footer-links {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

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

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .slack-message {
    padding: 1rem;
    font-size: 0.82rem;
  }

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

  .cmd-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cmd-row code {
    min-width: auto;
  }
}
