@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #262626;
  --text: #ededed;
  --text-muted: #888888;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
}

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

::selection { background: rgba(59, 130, 246, 0.3); color: #fff; }

html, body { width: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Shell ── */
.site-shell { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.site-shell-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; margin-bottom: 24px;
}

.site-nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 24px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav-fixed .site-nav-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.site-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
}
.site-mark:hover { color: var(--text); }
.site-logo { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }

.site-nav-links {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.site-nav-links a { color: var(--text-muted); }
.site-nav-links a:hover { color: var(--text); }

.nav-cta {
  background: #fff; color: #0a0a0a; font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 6px; text-decoration: none;
}
.nav-cta:hover { background: #58a6ff; color: #0a0a0a; text-decoration: none; }

/* ── Hero ── */
.hero-section {
  padding: 0 24px 64px;
}

.hero {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center;
}

.hero-content { padding: 24px 0; }

.headline {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 14px;
  padding-bottom: 4px;
  background: linear-gradient(135deg, #fff 0%, #94b8ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subhead {
  font-size: 15px; color: var(--text-muted);
  max-width: 40ch; margin-bottom: 24px; line-height: 1.6;
}

.cta-wrap { display: flex; flex-direction: column; gap: 8px; }
.cta-center { align-items: center; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-note { margin-top: 8px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; text-decoration: none;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: #fff; text-decoration: none; }
.btn-primary svg { width: 18px; height: 18px; }

.trial-note { font-size: 12px; color: var(--text-muted); }

/* ── Slack demo ── */
.hero-demo {
  background: var(--surface); border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.06);
  position: relative;
  height: clamp(400px, 50vh, 520px); overflow: hidden;
}

.slack-chrome-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: rgba(10, 10, 10, 0.6); border-bottom: 1px solid var(--border);
}
.slack-dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.slack-channel { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

.slack-feed {
  position: absolute; top: 39px; left: 0; right: 0; bottom: 0;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
.slack-feed::-webkit-scrollbar { display: none; }

.slack-line, .slack-typing { display: flex; gap: 10px; align-items: flex-start; }

.slack-avi {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; background: #222; color: var(--text-muted);
}
.forge-avi { background: var(--accent); color: #fff; padding: 0; overflow: hidden; }
.avi-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.slack-bubble { flex: 1; min-width: 0; }
.slack-who { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.slack-who span { font-weight: 400; font-size: 10px; color: var(--text-muted); margin-left: 4px; }
.slack-bubble p { font-size: 12px; color: #b0b0b0; line-height: 1.5; }
.slack-bubble code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  color: var(--accent-hover); background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 4px; padding: 1px 5px;
}
.forge-bubble {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 6px; padding: 8px 10px;
}

.app-pill {
  display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 999px;
  font-size: 9px; color: var(--accent-hover); background: rgba(59, 130, 246, 0.1);
}

.typing-dots { display: flex; gap: 4px; align-items: center; padding: 8px 0; }
.typing-dots span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

.msg-in { animation: msgSlide 0.4s ease both; }

@keyframes dotPulse { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); } 40% { opacity: 1; transform: scale(1); } }
@keyframes msgSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Sections ── */
.section { margin-bottom: 64px; }

.section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 8px; color: var(--text);
}

.section-subtitle {
  color: var(--text-muted); font-size: 15px;
  margin-bottom: 24px; max-width: 54ch; line-height: 1.6;
}

/* ── Callout ── */
.callout {
  text-align: center; padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.03), transparent 70%);
}
.callout-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.02em;
  max-width: 30ch; margin: 0 auto 12px;
}
.callout-sub {
  color: var(--text-muted); font-size: 15px;
  max-width: 56ch; margin: 0 auto 24px; line-height: 1.7;
}
.callout .cta-wrap { align-items: center; }

/* ── Steps ── */
.steps-row { display: flex; gap: 24px; }
.step-card { flex: 1; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 12px; font-weight: 700; color: var(--accent);
  margin-bottom: 10px;
}
.step-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ── Features grid ── */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px;
}
.feature-item { padding-left: 16px; border-left: 2px solid rgba(59, 130, 246, 0.25); }
.feature-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-item p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ── Integrations ── */
.integrations-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.int-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.int-item p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ── AI Transparency ── */
.transparency-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px;
}
.transparency-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.transparency-item p { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

/* ── Pricing ── */
.pricing-card {
  max-width: 480px; margin: 0 auto;
  text-align: center; padding: 32px;
  background: #181818; border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.price {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.02em;
}
.price span { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.pricing-per { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.pricing-includes { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.trial { margin-top: 10px; color: var(--accent); font-weight: 600; font-size: 14px; }
.pricing-cta {
  display: inline-block; margin-top: 16px;
  background: var(--accent); color: #fff; padding: 12px 28px;
  border-radius: 8px; font-weight: 600; font-size: 15px;
}
.pricing-cta:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

.pricing-perks {
  list-style: none; display: grid; gap: 6px;
  text-align: left; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.pricing-perks li {
  font-size: 14px; color: var(--text-muted); padding-left: 18px; position: relative;
}
.pricing-perks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
}

/* ── FAQ ── */
.faq-section { margin-bottom: 64px; }

.faq-layout {
  display: grid; grid-template-columns: 0.38fr 0.62fr; gap: 40px; align-items: start;
}

.faq-header .section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.15; margin-bottom: 8px;
}
.faq-header .section-subtitle { margin-bottom: 16px; }

.faq-contact {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--accent);
}
.faq-contact:hover { color: var(--accent-hover); }

.faq-list-v2 { display: flex; flex-direction: column; }

.faq-v2 {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-v2:first-child { border-top: 1px solid var(--border); }

.faq-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: none; border: none; text-align: left;
  font-family: inherit;
}
.faq-trigger:hover { color: var(--accent); }

.faq-trigger svg {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-v2.is-open .faq-trigger svg { transform: rotate(180deg); color: var(--accent); }

.faq-trigger span { flex: 1; }

.faq-body {
  padding: 0; overflow: hidden; max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-body-inner { padding-bottom: 18px; }
.faq-body p {
  color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 54ch;
}

/* ── Footer ── */
.footer { padding-top: 24px; border-top: 1px solid var(--border); margin-bottom: 48px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-mark { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.footer-links { display: flex; gap: 16px; font-size: 13px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer p { font-size: 12px; color: var(--text-muted); }

/* ── Content pages (privacy, terms, billing) ── */
.content-doc {
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 28px;
}
.content-doc h1 { font-size: clamp(1.6rem, 2.8vw, 2rem); margin-bottom: 6px; }
.content-doc h2 { font-size: 1.1rem; margin-top: 22px; margin-bottom: 8px; }
.content-doc p, .content-doc li { color: var(--text-muted); }
.content-doc ul { padding-left: 20px; }
.content-doc li { margin-bottom: 6px; }
.updated { color: var(--text-muted); font-size: 13px; }

.status-card {
  max-width: 520px; margin: 80px auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 36px;
}
.status-emoji { font-size: 48px; margin-bottom: 8px; }
.status-card h1 { font-size: clamp(1.6rem, 2.8vw, 2rem); margin-bottom: 10px; }
.status-card p { color: var(--text-muted); }
.status-card .actions { margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-demo { height: 380px; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-row { grid-template-columns: 1fr; }
  .transparency-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .site-shell, .site-shell-wide, .hero-section { padding-left: 16px; padding-right: 16px; }
  .steps-row { flex-direction: column; gap: 16px; }
  .site-nav-links a:not(.nav-cta) { display: none; }
  .site-nav-fixed { padding: 10px 16px; }
  .pricing-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
