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

:root {
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --border: #dbe3ea;
  --border-strong: #c7d2da;
  --foreground: #0f172a;
  --muted: #64748b;
  --primary: #2f6868;
  --primary-foreground: #ffffff;
  --accent: #0f766e;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 104, 104, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 84%);
  opacity: 0.55;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, .brand, .nav-link, .button, .section-label, .mini-kicker {
  font-family: 'Inter', sans-serif;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: min(1120px, calc(100vw - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 104, 104, 0.18);
  background: linear-gradient(135deg, rgba(47, 104, 104, 0.12), rgba(15, 118, 110, 0.08));
  color: var(--primary);
}
.brand-mark svg {
  width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8;
}
.brand span { letter-spacing: 0.1em; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font-size: 13px; font-weight: 600; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--foreground); background: rgba(15, 23, 42, 0.03); }
.nav-link[aria-current='page'] { border: 1px solid rgba(15, 23, 42, 0.08); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 16px;
  border-radius: 10px; border: 1px solid transparent; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(47, 104, 104, 0.16);
}
.button-primary:hover { background: #295d5d; border-color: #295d5d; }
.button-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--foreground);
}
.button-secondary:hover { border-color: var(--border-strong); background: var(--surface-soft); }
.button-ghost { border-color: var(--border); background: rgba(255, 255, 255, 0.65); color: var(--foreground); }

.menu-button {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 12px;
  background: rgba(255, 255, 255, 0.75); color: var(--foreground);
}
.menu-button span { display: block; width: 18px; height: 1.6px; margin: 5px auto; border-radius: 999px; background: currentColor; }

.section { padding: 72px 0; }
.hero-section { padding: 56px 0 64px; }
.section-tight { padding-top: 42px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.section-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.08); }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(48px, 6.6vw, 84px); line-height: 0.95; max-width: 11ch; margin-top: 14px; }
h2 { font-size: clamp(30px, 4vw, 50px); line-height: 0.98; max-width: 14ch; }
h3 { font-size: 18px; line-height: 1.12; }
.lede, .copy p, .feature-copy p, .panel p, .form-copy p, .form-note, .muted, .audience-card li {
  color: var(--muted);
  line-height: 1.7;
}
.lede { max-width: 64ch; margin: 18px 0 0; font-size: clamp(16px, 1.75vw, 18px); }
.hero-actions, .action-row, .meta-row, .pill-row, .footer-links, .chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin: 26px 0 18px; }
.pill, .chip, .meta-pill {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.72); color: #334155; font-size: 12px; font-weight: 600;
}
.chip { color: var(--muted); }

.hero-grid, .split-grid, .layout-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 22px; align-items: center; }
.stack-grid { display: grid; gap: 16px; }
.surface, .panel, .card, .pricing-card, .form-card, .app-frame, .vision-panel, .audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.surface { overflow: hidden; }
.panel, .card, .pricing-card, .form-card, .audience-card { padding: 22px; }

.hero-aside {
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(47, 104, 104, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.95));
}
.hero-aside .metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}
.metric strong { display: block; margin-bottom: 7px; color: var(--foreground); font-size: 13px; }
.metric p { margin: 0; font-size: 13px; }

.app-frame { overflow: hidden; }
.app-toolbar, .panel-head, .form-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.app-toolbar span, .panel-head span, .form-head span {
  color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.app-toolbar p, .panel-head p, .form-head p { margin: 0; color: var(--muted); font-size: 13px; }
.app-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 560px; }
.app-sidebar { padding: 22px; border-right: 1px solid rgba(15, 23, 42, 0.08); background: rgba(248, 250, 252, 0.8); }
.app-sidebar h3 { margin-bottom: 12px; font-size: 15px; }
.app-sidebar .thread {
  padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.88);
}
.app-sidebar .thread + .thread { margin-top: 10px; }
.thread strong { display: block; margin-bottom: 6px; color: var(--foreground); font-size: 13px; }
.thread p { margin: 0; font-size: 13px; }
.app-main { display: flex; flex-direction: column; min-height: 100%; background: linear-gradient(180deg, #fff, #f8fafc); }
.chat-stream { display: grid; gap: 14px; padding: 22px; }
.bubble { max-width: 80%; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--border); }
.bubble p { margin: 0; }
.bubble.ai { background: rgba(255, 255, 255, 0.92); border-top-left-radius: 6px; }
.bubble.user { margin-left: auto; background: rgba(47, 104, 104, 0.08); border-top-right-radius: 6px; }
.chat-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #8b9bab; margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.chat-input { margin-top: auto; padding: 16px 22px 22px; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.composer {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92);
}
.composer span { font-family: 'IBM Plex Mono', monospace; color: #8ea4b4; font-size: 12px; }
.composer .cursor { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); margin-left: auto; box-shadow: 0 0 0 6px rgba(47, 104, 104, 0.08); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card h3, .pricing-card h3, .audience-card h3 { margin-bottom: 10px; }
.card p, .pricing-card p, .audience-card p { margin: 0; }
.card .mini-kicker, .pricing-card .mini-kicker, .audience-card .mini-kicker {
  display: inline-flex; margin-bottom: 12px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.card.soft { background: rgba(255, 255, 255, 0.88); }

.pricing-section { padding-top: 56px; }
.pricing-shell { max-width: 860px; }
.pricing-intro { text-align: center; display: grid; justify-items: center; }
.pricing-intro h1 { max-width: none; }
.pricing-intro .lede { max-width: 58ch; }
.pricing-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
}
.pricing-offer-card { padding: 28px; margin-top: 34px; }
.pricing-plan-head { display: grid; gap: 10px; padding-bottom: 22px; }
.pricing-plan-head h2 { max-width: none; font-size: clamp(34px, 5vw, 56px); }
.pricing-plan-head p { max-width: 48ch; margin: 0; color: var(--muted); line-height: 1.6; }
.pricing-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.pricing-plan-price strong, .price-currency, .price-period { color: var(--foreground); line-height: 0.95; letter-spacing: -0.06em; }
.pricing-plan-price strong { font-size: clamp(54px, 8vw, 84px); }
.price-currency, .price-period { font-size: clamp(34px, 5vw, 56px); }
.pricing-billing { font-size: 13px; }
.pricing-tax-row td { padding-top: 18px; }
.pricing-tax-row td:first-child { color: var(--muted); font-size: 12px; }
.pricing-comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pricing-comparison-table th, .pricing-comparison-table td { padding: 16px 20px; border-bottom: 1px solid rgba(15, 23, 42, 0.08); text-align: left; vertical-align: middle; }
.pricing-comparison-table th { color: var(--foreground); font-size: 13px; font-weight: 800; }
.pricing-comparison-table th:last-child, .pricing-comparison-table td:last-child { text-align: right; }
.pricing-comparison-table td:first-child { color: var(--muted); line-height: 1.45; }
.pricing-comparison-table td:last-child { color: var(--foreground); font-weight: 700; line-height: 1.45; }
.pricing-comparison-table tr:last-child td { border-bottom: 0; }
.pricing-demo-row { display: flex; justify-content: center; padding-top: 24px; }
.pricing-table-cta { min-width: 180px; }
.pricing-faq-section { padding-top: 24px; }
.pricing-faq-head { display: grid; justify-items: center; text-align: center; margin-bottom: 22px; }
.pricing-faq-head h2 { max-width: none; margin-top: 10px; }
.pricing-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #334155; line-height: 1.55; }
.feature-list li::before { content: '•'; color: var(--accent); font-size: 18px; line-height: 1; }

.vision-panel {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
}
.blockquote {
  margin: 18px 0 0; padding: 18px 18px 18px 20px; border-left: 2px solid rgba(47, 104, 104, 0.38); border-radius: 0 16px 16px 0; background: rgba(47, 104, 104, 0.04); color: #334155;
}
.blockquote p { margin: 0; }
.timeline { display: grid; gap: 12px; margin-top: 18px; }
.timeline-item {
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.86);
}
.timeline-item strong { display: block; margin-bottom: 6px; color: var(--foreground); }

.audience-card { background: rgba(255, 255, 255, 0.92); }
.audience-card ul { margin: 14px 0 0; padding-left: 18px; color: #334155; line-height: 1.6; }
.audience-card li + li { margin-top: 8px; }

.form-layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 22px; align-items: start; }
.form-copy { padding: 18px 4px; }
.form-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
}
label { display: block; margin-bottom: 16px; color: #334155; font-size: 13px; font-weight: 600; }
input, textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92); color: var(--foreground); outline: 0;
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 104, 104, 0.08); }
textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-status { min-height: 20px; margin-top: 14px; font-size: 13px; }
.form-status-success { color: var(--primary); }
.form-status-error { color: #b42318; }
.form-note { margin-top: 12px; font-size: 12px; text-align: center; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-footer { margin-top: auto; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.site-footer-inner { display: grid; gap: 12px; padding: 22px 0 32px; color: var(--muted); font-size: 14px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.footer-links { align-items: center; }
.footer-links a, .footer-link-button { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.footer-links a:hover, .footer-link-button:hover { color: var(--foreground); text-decoration-color: rgba(15, 23, 42, 0.28); }
.footer-link-button { appearance: none; border: 0; padding: 0; background: transparent; cursor: pointer; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; width: 100%; color: var(--muted); font-size: 12px; }
.footer-legal a, .footer-legal .footer-link-button { font-size: 12px; }
.inline-link { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(47, 104, 104, 0.28); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: rgba(47, 104, 104, 0.68); }

.legal-page { padding: 64px 0 84px; }
.legal-shell { max-width: 860px; }
.legal-header { margin-bottom: 32px; }
.legal-header h1 { max-width: 12ch; }
.legal-header .lede { max-width: 70ch; }
.legal-content { display: grid; gap: 26px; }
.legal-content section { padding-bottom: 24px; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.legal-content section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content h2 { max-width: none; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; }
.legal-content h3 { margin-top: 18px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.7; }
.legal-content ul { margin: 14px 0 0; padding-left: 20px; }
.legal-content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(47, 104, 104, 0.28); text-underline-offset: 3px; }
.legal-updated { margin-top: 12px; color: var(--muted); font-size: 14px; }

.cookie-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; color: var(--foreground); }
.cookie-dialog::backdrop { background: rgba(15, 23, 42, 0.36); backdrop-filter: blur(3px); }
.cookie-dialog-panel { display: grid; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.cookie-dialog h2 { max-width: none; font-size: 28px; line-height: 1; }
.cookie-dialog p { margin: 0; color: var(--muted); line-height: 1.6; }
.cookie-choice { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(241, 245, 249, 0.62); }
.cookie-choice input { margin-top: 4px; accent-color: var(--primary); }
.cookie-choice strong { display: block; margin-bottom: 4px; font-size: 14px; }
.cookie-choice span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
.cookie-status { min-height: 18px; color: var(--primary); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.page-section { padding: 56px 0 72px; }
.summary-strip { padding: 18px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: rgba(255, 255, 255, 0.76); }
.summary-strip .grid-3, .summary-strip .grid-2 { margin-top: 0; }
.hint { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8da3b2; }
.stack { display: grid; gap: 14px; }



.home-hero-grid { align-items: center; }
.home-hero h1 { max-width: 11ch; }
.home-product-shot { padding: 18px; }
.home-product-shot .home-agent-demo {
  display: block;
  min-height: 480px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 78% 18%, rgba(47, 104, 104, 0.14), transparent 30%),
    linear-gradient(180deg, #fff, #f8fafc);
  text-align: left;
}
.ai-chat-demo {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 432px;
}
.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 104, 104, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}
.ai-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(47, 104, 104, 0.10);
  animation: aiStatusPulse 3.5s ease-in-out infinite;
}
.ai-chat-header span,
.ai-message span,
.ai-brief-head span,
.ai-event-card span,
.ai-action-card span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ai-chat-header strong {
  display: block;
  margin-top: 4px;
  color: var(--foreground);
  font-size: 15px;
}
.ai-chat-thread {
  position: relative;
  display: grid;
  gap: 12px;
}
.ai-message,
.ai-brief-card,
.ai-event-card,
.ai-action-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}
.ai-message {
  width: min(82%, 340px);
  padding: 13px 15px;
}
.ai-message p {
  margin: 6px 0 0;
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.35;
}
.ai-message-user {
  justify-self: end;
  border-color: rgba(47, 104, 104, 0.18);
  background: rgba(47, 104, 104, 0.08);
  animation: aiUserMessage 14s ease-in-out infinite;
}
.ai-message-ai {
  justify-self: start;
  animation: aiGeneratingMessage 14s ease-in-out infinite;
}
.ai-typing {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}
.ai-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: aiTypingDot 1.3s ease-in-out infinite;
}
.ai-typing i:nth-child(2) { animation-delay: 120ms; }
.ai-typing i:nth-child(3) { animation-delay: 240ms; }
.ai-brief-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  animation: aiBriefReveal 14s ease-in-out infinite;
}
.ai-brief-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.ai-brief-head strong {
  color: var(--foreground);
  font-size: 14px;
}
.ai-brief-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.95);
}
.ai-brief-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.ai-brief-row strong {
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.25;
}
.ai-brief-row-focus {
  border: 1px solid rgba(47, 104, 104, 0.20);
  background: linear-gradient(180deg, rgba(47, 104, 104, 0.10), rgba(255, 255, 255, 0.96));
  animation: aiFocusRow 14s ease-in-out infinite;
}
.ai-event-card,
.ai-action-card {
  padding: 16px;
  border-color: rgba(47, 104, 104, 0.18);
}
.ai-event-card {
  background: rgba(255, 255, 255, 0.96);
  animation: aiEventReveal 14s ease-in-out infinite;
}
.ai-event-card strong,
.ai-action-card strong {
  display: block;
  margin-top: 7px;
  color: var(--foreground);
  font-size: 17px;
  line-height: 1.22;
}
.ai-event-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.ai-action-card {
  background: linear-gradient(180deg, rgba(47, 104, 104, 0.11), rgba(255, 255, 255, 0.96));
  animation: aiActionReveal 14s ease-in-out infinite;
}
.ai-action-progress {
  position: relative;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}
.ai-action-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: var(--primary);
  transform-origin: left;
  animation: aiActionProgress 14s ease-in-out infinite;
}
@keyframes aiStatusPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(47, 104, 104, 0.10); }
  50% { box-shadow: 0 0 0 10px rgba(47, 104, 104, 0.05); }
}
@keyframes aiUserMessage {
  0% { opacity: 0; transform: translateY(12px); }
  9%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes aiGeneratingMessage {
  0%, 8% { opacity: 0; transform: translateY(12px); }
  20%, 32% { opacity: 1; transform: translateY(0); }
  40%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes aiTypingDot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@keyframes aiBriefReveal {
  0%, 28% { opacity: 0; transform: translateY(14px); }
  43%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes aiFocusRow {
  0%, 45%, 100% { transform: scale(1); box-shadow: none; }
  56%, 70% { transform: scale(1.018); box-shadow: 0 0 0 4px rgba(47, 104, 104, 0.10); }
}
@keyframes aiEventReveal {
  0%, 50% { opacity: 0; transform: translateY(14px); }
  65%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes aiActionReveal {
  0%, 66% { opacity: 0; transform: translateY(14px); }
  81%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes aiActionProgress {
  0%, 78% { transform: scaleX(0); }
  94%, 100% { transform: scaleX(1); }
}
.home-complexity-section .split-grid { align-items: center; }
.home-signal-illustration {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,249,0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.signal-node {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(47, 104, 104, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}
.signal-node-primary { width: 112px; height: 112px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(47, 104, 104, 0.12); }
.signal-node:nth-child(2) { left: 11%; top: 18%; }
.signal-node:nth-child(3) { right: 12%; top: 20%; }
.signal-node:nth-child(4) { left: 18%; bottom: 16%; }
.signal-line {
  position: absolute;
  height: 1px;
  width: 45%;
  left: 28%;
  top: 50%;
  background: rgba(47, 104, 104, 0.22);
  transform-origin: center;
}
.signal-line-one { transform: rotate(24deg); }
.signal-line-two { transform: rotate(-28deg); }
.signal-line-three { transform: rotate(88deg); }
.home-signal-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.home-signal-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}
.home-workspace-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: center; }
.home-workspace-preview .recommendation-preview { min-height: 440px; }
.home-flow-preview { align-content: center; }
.home-flow-arrow, .home-step-list span { color: var(--accent); font-size: 24px; font-weight: 800; text-align: center; }
.home-step-list { display: grid; gap: 12px; margin-top: 24px; max-width: 320px; }
.home-step-list strong {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--foreground);
}
.home-card-grid, .home-ecosystem-grid { margin-top: 28px; }
.home-card-grid .card { min-height: 150px; }
.home-ecosystem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-ecosystem-grid .card { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; }
.home-ecosystem-grid .inline-link { margin-top: auto; }
.home-vision {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 42px 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.home-vision h2 { max-width: 16ch; margin-top: 12px; }
.home-vision p { max-width: 62ch; margin: 16px 0 0; color: var(--muted); line-height: 1.7; }
.home-final-section { padding: 104px 0 120px; }
.home-final-cta { display: grid; justify-items: center; gap: 24px; text-align: center; }
.home-final-cta h2 { max-width: 18ch; }

.company-hero-copy { max-width: 820px; }
.company-hero-copy h1 { max-width: 13ch; }
.company-hero-copy .lede { max-width: 58ch; }
.company-copy-stack {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}
.company-copy-stack p { margin: 0; color: var(--muted); line-height: 1.7; }
.company-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 28px;
}
.roadmap-stage {
  min-height: 220px;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.roadmap-stage-active {
  border-color: rgba(47, 104, 104, 0.2);
  background: linear-gradient(180deg, rgba(47, 104, 104, 0.08), rgba(255, 255, 255, 0.96));
}
.roadmap-stage-vision {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(255, 255, 255, 0.96));
}
.roadmap-stage-vision h3 { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.05; }
.roadmap-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.roadmap-list li { color: #334155; line-height: 1.45; }
.checked-list li { display: flex; gap: 10px; align-items: flex-start; }
.checked-list li::before { content: '✓'; color: var(--primary); font-weight: 800; }
.roadmap-arrow { display: grid; place-items: center; color: var(--accent); font-size: 28px; font-weight: 800; }
.company-principles { margin-top: 28px; }
.company-principles .card { min-height: 150px; }
.company-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.company-contact-grid .inline-link { font-size: 18px; font-weight: 700; word-break: break-word; }
.company-closing-cta { display: grid; gap: 14px; }
.company-closing-cta h2 { max-width: 18ch; }
.company-closing-cta p { margin: 0; }

@media (max-width: 1040px) {

  .home-workspace-grid, .home-ecosystem-grid { grid-template-columns: 1fr; }
  .home-product-shot .home-agent-demo { min-height: 440px; }
  .company-roadmap { grid-template-columns: 1fr; }
  .roadmap-stage { min-height: auto; }
  .roadmap-arrow { min-height: 34px; }
  .hero-grid, .split-grid, .layout-grid, .form-layout { grid-template-columns: 1fr; }
  .app-layout { grid-template-columns: 1fr; }
  .app-sidebar { border-right: 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
  h1 { max-width: 12ch; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {

  .home-product-shot .home-agent-demo { min-height: auto; padding: 16px; }
  .ai-chat-demo { min-height: auto; gap: 12px; }
  .ai-chat-thread { gap: 10px; }
  .ai-message { width: 92%; }
  .ai-brief-head { align-items: flex-start; flex-direction: column; }
  .home-signal-illustration { min-height: 280px; }
  .signal-node { width: 62px; height: 62px; }
  .signal-node-primary { width: 92px; height: 92px; }
  .home-workspace-preview .recommendation-preview { min-height: auto; }
  .home-final-section { padding: 80px 0 92px; }
  .company-copy-stack { padding: 22px; }
  .company-contact-grid { grid-template-columns: 1fr; }
  .company-hero-copy h1 { max-width: 12ch; }

  .shell { width: min(1120px, calc(100vw - 20px)); }
  .site-header-inner { gap: 12px; }
  .header-actions { gap: 10px; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: grid; gap: 6px; padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 18px; background: rgba(248, 250, 252, 0.98); backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { justify-content: center; width: 100%; min-height: 44px; }
  .button { min-height: 42px; }
  .hero-actions, .action-row { align-items: stretch; }
  .hero-actions .button, .action-row .button, .hero-actions a, .action-row a { width: 100%; }
  .hero-aside .metric-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-footer-inner { align-items: flex-start; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(42px, 11vw, 64px); }
  h2 { font-size: clamp(28px, 8vw, 42px); }
  .pricing-offer-card { padding: 22px; }
  .pricing-demo-row { justify-content: stretch; }
  .pricing-comparison-table th, .pricing-comparison-table td { padding: 14px 12px; }
  .pricing-table-cta { width: 100%; min-width: 0; }
  .pricing-faq-grid { grid-template-columns: 1fr; }
}


.hero-grid { align-items: start; }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #334155; line-height: 1.55; }
.feature-list li::before { content: '•'; color: var(--accent); font-size: 18px; line-height: 1; }
.feature-list-compact { margin-top: 20px; }
.feature-list-compact li { color: #334155; }
.feature-list-muted li { color: var(--muted); }
.preview-card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.92)); box-shadow: var(--shadow); }
.preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-head span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.preview-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.preview-link { display: block; border-radius: 22px; overflow: hidden; border: 1px solid rgba(15, 23, 42, 0.08); background: #fff; }
.preview-image { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: top center; }
.preview-caption { margin: 14px 2px 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
@media (max-width: 900px) {
  .preview-image { max-height: 440px; }
}


.product-hero-grid { align-items: start; }
.product-hero .lede { max-width: 60ch; }
.narrow-copy { max-width: 760px; }
.narrow-copy h2 { margin-top: 12px; }

.preview-shell {
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.93));
  box-shadow: var(--shadow); overflow: hidden;
}
.preview-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.preview-topbar strong { display: block; color: var(--foreground); font-size: 13px; }
.preview-topbar p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.preview-chrome { display: inline-flex; gap: 7px; }
.preview-chrome span { width: 10px; height: 10px; border-radius: 50%; background: rgba(15, 23, 42, 0.16); }
.preview-chrome span:first-child { background: rgba(15, 118, 110, 0.5); }
.preview-chrome span:last-child { background: rgba(15, 23, 42, 0.10); }

.product-preview { width: 100%; }
.dashboard-preview {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 540px;
}
.dashboard-sidebar {
  padding: 18px; border-right: 1px solid rgba(15, 23, 42, 0.08); background: rgba(248, 250, 252, 0.85);
  display: grid; gap: 12px;
}
.sidebar-card {
  padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92);
}
.sidebar-card.active { box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06); }
.sidebar-card strong { display: block; margin: 8px 0 6px; color: var(--foreground); font-size: 13px; }
.sidebar-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dashboard-main { padding: 18px; display: grid; gap: 14px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-head span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.dashboard-head p { margin: 0; color: var(--muted); font-size: 13px; }
.brief-stack { display: grid; gap: 12px; }
.brief-hero-card {
  padding: 18px; border-radius: 22px; background: linear-gradient(135deg, rgba(47, 104, 104, 0.12), rgba(15, 118, 110, 0.06));
  border: 1px solid rgba(47, 104, 104, 0.16);
}
.brief-hero-card h3 { margin: 10px 0 8px; font-size: 22px; }
.brief-hero-card p { margin: 0; color: var(--muted); }
.brief-item {
  padding: 14px 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.9);
}
.brief-item strong, .inventory-alert strong, .recommendation-card p, .chat-bubble p { display: block; }
.brief-item strong { margin-bottom: 4px; color: var(--foreground); }
.brief-item p { margin: 0; color: var(--muted); }
.alert-critical { border-color: rgba(181, 28, 28, 0.2); background: rgba(181, 28, 28, 0.05); }
.alert-critical strong { color: #9f1d1d; }


.why-section { padding: 18px 0 34px; }
.why-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.why-band .section-label { margin-top: 4px; }
.why-copy h2 { max-width: 18ch; margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.02; }
.why-copy p { max-width: 62ch; margin: 14px 0 0; color: var(--muted); line-height: 1.7; font-size: 16px; }

.feature-section { padding-top: 56px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.feature-grid-reverse .feature-copy { order: 1; }
.feature-grid-reverse .feature-visual { order: 2; }
.feature-copy { max-width: 540px; }
.feature-copy h2 { margin-top: 10px; }
.feature-copy p { color: var(--muted); line-height: 1.7; }
.feature-benefits { margin-top: 18px; }
.feature-benefits li {
  display: inline-flex; align-items: center; width: fit-content; min-height: 34px; padding: 0 12px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border); color: #334155;
}
.feature-benefits li::before { content: '✓'; font-size: 13px; color: var(--primary); }
.feature-visual { width: 100%; }
.feature-preview { width: 100%; }

.daily-brief-preview {
  padding: 18px; display: grid; gap: 14px; min-height: 520px;
  background:
    radial-gradient(circle at top right, rgba(47, 104, 104, 0.14), transparent 30%),
    linear-gradient(180deg, #fff, #f7fafc);
}
.alert-list { display: grid; gap: 10px; }
.alert-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92);
}
.alert-row span { min-width: 78px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.alert-row strong { color: var(--foreground); font-size: 13px; }
.alert-row.critical { border-color: rgba(181, 28, 28, 0.22); background: rgba(181, 28, 28, 0.05); }
.alert-row.critical span { color: #b42318; }

.chat-preview {
  padding: 18px; display: grid; gap: 16px; min-height: 520px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.chat-bubbles { display: grid; gap: 12px; }
.chat-bubble {
  max-width: 88%; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--border);
}
.chat-bubble strong { display: block; margin-bottom: 6px; color: var(--foreground); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.chat-bubble p { margin: 0; color: #334155; line-height: 1.6; }
.chat-bubble.ai { background: rgba(255, 255, 255, 0.96); }
.chat-bubble.user { margin-left: auto; background: rgba(47, 104, 104, 0.08); border-color: rgba(47, 104, 104, 0.12); }
.chat-prompts { display: flex; flex-wrap: wrap; gap: 10px; }
.chat-prompts span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(241, 245, 249, 0.95); border: 1px solid var(--border); color: #475569; font-size: 12px;
}

.inventory-preview {
  padding: 18px; display: grid; gap: 12px; min-height: 520px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.inventory-alert {
  padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.94);
}
.inventory-alert span { display: inline-block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.inventory-alert strong { margin-bottom: 4px; font-size: 15px; color: var(--foreground); }
.inventory-alert p { margin: 0; color: var(--muted); line-height: 1.6; }
.inventory-alert.accent { border-color: rgba(47, 104, 104, 0.18); background: linear-gradient(180deg, rgba(47, 104, 104, 0.09), rgba(255, 255, 255, 0.96)); }
.inventory-alert.muted { opacity: 0.76; }

.recommendation-preview {
  padding: 18px; display: grid; gap: 12px; min-height: 520px;
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 24%), linear-gradient(180deg, #fff, #f7fafc);
}
.recommendation-card {
  padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.95);
}
.recommendation-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
.recommendation-card.highlight { background: linear-gradient(180deg, rgba(47, 104, 104, 0.08), rgba(255, 255, 255, 0.96)); border-color: rgba(47, 104, 104, 0.18); }


.approval-panel {
  padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92)); box-shadow: var(--shadow);
}
.approval-panel h2 { margin-top: 10px; }
.approval-panel p { color: var(--muted); line-height: 1.7; }

.integration-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px;
}
.integration-card {
  padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.9);
}
.integration-card span { display: block; color: var(--foreground); font-weight: 700; }
.integration-card strong { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.integration-card.active { border-color: rgba(47, 104, 104, 0.2); background: linear-gradient(180deg, rgba(47, 104, 104, 0.08), rgba(255, 255, 255, 0.96)); }
.integration-card.active strong { color: var(--primary); }

.cta-panel {
  padding: 30px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.92)); box-shadow: var(--shadow);
}
.cta-panel h2 { margin-top: 8px; }
.cta-panel p { color: var(--muted); line-height: 1.7; }

@media (max-width: 1040px) {
  .feature-grid, .dashboard-preview { grid-template-columns: 1fr; }
  .feature-grid-reverse .feature-copy,
  .feature-grid-reverse .feature-visual { order: initial; }
  .dashboard-sidebar { border-right: 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .dashboard-preview { min-height: auto; }
  .dashboard-sidebar { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 24px; }
  .why-band { grid-template-columns: 1fr; gap: 12px; }
  .why-copy h2 { max-width: none; }
}
