@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&display=swap");

:root {
  --accent: #7c3aed;
  --accent-deep: #5b21b6;
  --accent-soft: #f2ebff;
  --ink: #1d1d1f;
  --ink-2: #3f3f46;
  --muted: #6f6f7a;
  --faint: #9a98a3;
  --page: #fafaf7;
  --wash: #f4f2ec;
  --card: #ffffff;
  --border: #e6e1d8;
  --border-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(19, 19, 22, 0.88);
  --glass-text: rgba(255, 255, 255, 0.94);
  --glass-muted: rgba(255, 255, 255, 0.62);
  --red: #ff4f4f;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(29, 29, 31, 0.14);
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(230, 225, 216, 0.72);
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(29, 29, 31, 0.08);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.top-nav a {
  text-decoration: none;
}
.top-nav a:hover,
.top-nav a.active { color: var(--accent-deep); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.btn-dark {
  color: #fff;
  background: linear-gradient(180deg, #3f3f42 0%, #1d1d1f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(29, 29, 31, 0.22);
}
.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--border);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-dark-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -70px;
  padding-top: 70px;
  background: linear-gradient(160deg, #fcfbf8 0%, #f5f3ed 55%, #efede5 100%);
  border-bottom: 1px solid var(--border);
}
.grid-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(124, 58, 237, 0.16), transparent 32rem),
    repeating-linear-gradient(0deg, rgba(70, 55, 110, 0.055) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(70, 55, 110, 0.055) 0 1px, transparent 1px 30px);
  mask-image: linear-gradient(to bottom, black 72%, transparent);
}
.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 32px 96px;
  display: grid;
  grid-template-columns: 1fr minmax(480px, 1fr);
  gap: 56px;
  align-items: center;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker span {
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.hero h1,
.enterprise-hero h1,
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 22px 0 0;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.lede,
.enterprise-hero p {
  max-width: 530px;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
  margin: 24px 0 0;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-line {
  color: var(--faint);
  font-size: 13px;
  margin-top: 16px;
}

.hero-demo {
  min-height: 500px;
  position: relative;
}
.float-card,
.answer-panel,
.hud-toolbar {
  box-shadow: var(--shadow);
}
.code-card {
  position: absolute;
  left: 0;
  top: 120px;
  width: 300px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-1.2deg);
  padding: 18px;
}
.code-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 12px;
}
.code-card pre {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.hud-toolbar {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--border-2);
  border-radius: 18px;
  background: var(--glass);
  color: var(--glass-text);
  backdrop-filter: blur(18px);
}
.h-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-family: var(--font-display);
  font-weight: 800;
}
.capture-pill,
.timer,
.hud-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--glass-text);
  font-size: 12.5px;
  font-weight: 750;
  padding: 0 11px;
}
.hud-action { cursor: default; }
.hud-action.active { background: linear-gradient(180deg, #3f3f42, #1d1d1f); }
.hud-action kbd,
.timer kbd,
.composer kbd {
  border: 1px solid var(--border-2);
  border-radius: 5px;
  padding: 1px 4px;
  color: var(--glass-muted);
  font-size: 10px;
}
.capture-pill b,
.timer b {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}
.icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1.8px solid currentColor;
}
.icon.monitor { border-radius: 2px; }
.icon.mic { width: 8px; height: 14px; border-radius: 8px; }
.answer-panel {
  position: absolute;
  right: 0;
  top: 86px;
  z-index: 3;
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid var(--border-2);
  border-radius: 22px;
  background: var(--glass);
  color: var(--glass-text);
  backdrop-filter: blur(20px);
}
.answer-top,
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-2);
  color: var(--glass-muted);
  font-size: 12px;
}
.pager,
.copy-icon {
  border: 0;
  background: transparent;
  color: var(--glass-muted);
  cursor: pointer;
}
.saw-pill {
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 4px 9px;
}
.copy-icon { margin-left: auto; font-size: 18px; }
.demo-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 16px 0;
}
.demo-tabs button {
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: transparent;
  color: var(--glass-muted);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.demo-tabs button.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--glass-text);
}
.qa-block {
  min-height: 248px;
  padding: 16px;
}
.mini-label {
  display: block;
  margin: 10px 0 5px;
  color: #b591ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.question,
.answer-copy p {
  color: var(--glass-text);
  line-height: 1.55;
}
.answer-copy ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.answer-copy li {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  color: var(--glass-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.answer-copy li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  margin-top: 8px;
  border-radius: 999px;
  background: #b591ff;
}
.typing {
  display: flex;
  gap: 7px;
  padding: 8px 0;
}
.typing i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--glass-muted);
  animation: pulse 1s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
.composer {
  border-bottom: 0;
  border-top: 1px solid var(--border-2);
}
.composer input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--glass-text);
}
.composer button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.platform-row span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.platform-row b {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px 0;
}
.section.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.section.three .kicker {
  grid-column: 1 / -1;
  margin: 0;
}
.section.three article {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.section.three strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
}
.section h2,
.section-title,
.enterprise-band h2,
.enterprise-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.032em;
  margin: 18px 0 0;
}
.section p,
.section article p,
.enterprise-band p,
.enterprise-contact p,
.section-copy {
  color: var(--muted);
  line-height: 1.6;
}
.use-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.use-grid article,
.feature-grid article,
.price-card,
.enterprise-band,
.enterprise-contact article,
.admin-window {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 55px rgba(29, 29, 31, 0.06);
}
.use-grid article,
.feature-grid article {
  padding: 28px;
}
.use-grid h3,
.feature-grid h3,
.price-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.015em;
}

.price-card {
  padding: 28px;
  position: relative;
}
.price-card > span {
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
}
.price-card.popular {
  background: var(--ink);
  color: #fff;
  transform: translateY(-8px);
}
.price {
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
}
.price s {
  color: var(--faint);
  font-size: 20px;
  font-weight: 500;
}
.price small {
  color: var(--muted);
  font: 500 15px/1 var(--font-display);
}
.price-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.price-card li {
  margin-top: 10px;
  color: inherit;
}
.price-card li::before {
  content: "—";
  color: var(--accent);
  margin-right: 8px;
}
.credit-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.credit-strip span { color: var(--muted); flex: 1; }
.credit-strip a { color: var(--accent-deep); font-weight: 800; }

.enterprise-band {
  max-width: 1168px;
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 42px;
}
.metric-stack {
  display: grid;
  gap: 10px;
  align-self: center;
}
.metric-stack span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--page);
}
.metric-stack b { color: var(--muted); }
.metric-stack strong { font-family: var(--font-display); font-size: 20px; }

.cta-band {
  margin-top: 96px;
  padding: 88px 32px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(640px 300px at 50% 110%, rgba(124, 58, 237, 0.38), transparent 72%),
    var(--ink);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 18px; }
.cta-band .cta-row { justify-content: center; }

.footer {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 30px 32px 46px;
  color: var(--muted);
  font-size: 14px;
}
.footer a { text-decoration: none; }

.promo {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  width: min(400px, calc(100vw - 32px));
  padding: 26px;
  border: 3px solid var(--accent);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}
.promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}
.promo > span {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}
.promo h2 {
  font-family: var(--font-display);
  margin: 16px 0 4px;
}
.promo-price b {
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 44px;
}
.promo-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececea;
}
.promo-meter i {
  display: block;
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.promo .btn { width: 100%; margin-top: 16px; }
.promo-no {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
}

.enterprise-hero {
  background: linear-gradient(160deg, #fcfbf8 0%, #f5f3ed 55%, #efede5 100%);
  border-bottom: 1px solid var(--border);
}
.enterprise-hero > div {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 32px 64px;
}
.enterprise-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 72px);
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.hero-checks li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}
.admin-section .section-copy {
  max-width: 600px;
}
.admin-window {
  overflow: hidden;
  margin-top: 22px;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--wash);
  color: var(--faint);
  font-size: 12px;
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5f57;
}
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #b591ff; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
}
.stat-row article {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.stat-row span,
.stat-row small {
  display: block;
  color: var(--faint);
  font-size: 12px;
}
.stat-row b {
  display: block;
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 28px;
}
.member-table {
  margin: 0 16px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.member-table > div {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr 0.7fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.member-table .member-head {
  border-top: 0;
  background: var(--wash);
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.member-table em {
  font-style: normal;
  color: var(--accent-deep);
  font-weight: 750;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.bars {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 24px;
}
.bars i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: #d8c7ff;
}
.bars i:last-child {
  background: var(--accent);
}
.policy-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.policy-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.policy-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.enterprise-contact {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.enterprise-contact article {
  padding: 30px;
}
.custom-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
}
.custom-price small {
  display: block;
  color: var(--faint);
  font-size: 14px;
}
.enterprise-contact form {
  display: grid;
  gap: 12px;
}
.enterprise-contact input {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
}

@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero-inner,
  .section.three,
  .use-grid,
  .feature-grid,
  .pricing-grid,
  .enterprise-band,
  .admin-grid,
  .enterprise-contact {
    grid-template-columns: 1fr;
  }
  .hero-demo { min-height: 560px; }
  .answer-panel { left: 0; margin: auto; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-shell {
    left: 10px;
    right: 10px;
    margin: 10px;
  }
  .nav-link { display: none; }
  .hero-inner,
  .section,
  .enterprise-hero > div,
  .enterprise-contact {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hud-toolbar {
    flex-wrap: wrap;
    position: relative;
    left: auto;
    right: auto;
  }
  .code-card { display: none; }
  .answer-panel {
    position: relative;
    top: 18px;
  }
  .hero-demo { min-height: auto; }
  .stat-row,
  .member-table > div {
    grid-template-columns: 1fr;
  }
  .promo {
    right: 16px;
    bottom: 16px;
  }
}
