@import url('/fonts/fonts.css');

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --ink: #101322;
  --ink-2: #3f4558;
  --muted: #5d6478;
  --line: #e5e7ee;
  --line-strong: #d3d7e4;
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --brand-soft: #eef2ff;
  --brand-border: #c7d2fe;
  --spark: #fde047;
  --spark-ink: #713f12;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --shadow-sm: 0 1px 2px rgba(16, 19, 34, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(16, 19, 34, 0.12), 0 2px 6px rgba(16, 19, 34, 0.04);
  --shadow-lg: 0 24px 56px -18px rgba(30, 27, 75, 0.18), 0 4px 14px rgba(16, 19, 34, 0.05);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

code, .mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
  min-height: 44px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.24);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.brand-wordmark span {
  color: var(--brand);
}

.header-spacer {
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  min-height: 40px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(16, 19, 34, 0.045);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.lang-link:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(79, 70, 229, 0.55);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(67, 56, 202, 0.58);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #ffffff;
}

.btn-subtle {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-strong);
}

.btn-subtle:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.burger:hover {
  border-color: var(--brand);
}

.burger-lines {
  width: 18px;
  height: 14px;
  position: relative;
  display: block;
}

.burger-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.15s ease, top 0.2s ease;
}

.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 6px; }
.burger-lines span:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] .burger-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger-lines span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(16, 19, 34, 0.36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 35;
}

.nav-backdrop.open {
  display: block;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 39;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-nav-list a:hover {
  color: var(--brand);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 6px;
  border-top: 1px solid var(--line);
}

.mobile-nav-actions .btn {
  width: 100%;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.mobile-lang-row a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(38px, 6vw, 76px) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(640px 380px at 84% 12%, rgba(79, 70, 229, 0.09), transparent 72%),
    radial-gradient(520px 320px at 14% 8%, rgba(253, 224, 71, 0.14), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 8px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

/* Interactive Agent Preview */
.preview-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: #f8f9fc;
  border-bottom: 1px solid var(--line);
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.preview-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: block;
}

.preview-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 3px 10px;
  border-radius: 99px;
}

.preview-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.preview-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}

.preview-tabs::-webkit-scrollbar {
  display: none;
}

.preview-tab {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  border-radius: 9px;
  padding: 7px 12px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.preview-tab:hover {
  border-color: var(--brand-border);
  color: var(--ink);
}

.preview-tab.active {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
}

.preview-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 332px;
}

.preview-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.preview-panel.active {
  display: flex;
}

.msg-user {
  align-self: flex-end;
  max-width: 90%;
  background: var(--ink);
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13.8px;
  line-height: 1.45;
}

.agent-trace {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #f8f9fc;
  border: 1px solid var(--line);
}

.trace-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.trace-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.agent-reply {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.agent-reply p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-2);
  line-height: 1.5;
}

.agent-reply strong {
  color: var(--ink);
}

.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.file-ext {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--brand);
  color: #ffffff;
}

.file-ext.green { background: #059669; }
.file-ext.amber { background: #d97706; }

.mini-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 76px;
  padding: 10px 12px 6px;
  border-radius: 10px;
  background: #f8f9fc;
  border: 1px solid var(--line);
}

.mini-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}

.mini-bar i {
  display: block;
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6366f1, #4f46e5);
}

.mini-bar.hi i {
  background: linear-gradient(180deg, #facc15, #eab308);
}

.mini-bar span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
}

/* Strip */
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-2);
}

.proof-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 700;
}

.proof-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-icon svg {
  width: 18px;
  height: 18px;
}

/* Sections */
.section {
  padding: clamp(46px, 6vw, 74px) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 42px);
  flex-wrap: wrap;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.14;
  color: var(--ink);
  text-wrap: balance;
}

.section-sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

/* Asymmetric Bento Features */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.feat {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.feat:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feat.wide {
  grid-column: span 6;
}

.feat.full {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 16px 28px;
  align-items: center;
}

.feat-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-aside {
  background: #f8f9fc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feat-aside-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
}

.feat-aside-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.feat-aside-dot.ok {
  background: var(--ok);
}

.feat-aside-dot.spark {
  background: #eab308;
}

.feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg {
  width: 21px;
  height: 21px;
}

.feat-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 4px 9px;
  border-radius: 7px;
}

.feat h3 {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--ink);
}

.feat p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 4px 0 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.01em;
}

.plan-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.plan h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.plan-price {
  margin: 10px 0 4px;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-price small {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.plan-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.plan-list svg {
  width: 17px;
  height: 17px;
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan .btn {
  width: 100%;
}

.pricing-footnote {
  text-align: center;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
}

.pricing-footnote a {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 1px solid var(--brand-border);
  padding-bottom: 1px;
}

.pricing-footnote a:hover {
  border-bottom-color: var(--brand);
}

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #171636 0%, #2b2778 52%, #4c2f96 100%);
  color: #ffffff;
  border-radius: 26px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.22), transparent 68%);
  right: -80px;
  top: -110px;
  pointer-events: none;
}

.cta-banner-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e0e7ff;
  margin-bottom: 14px;
}

.cta-banner-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.cta-banner p {
  margin: 0;
  font-size: 16px;
  color: rgba(238, 242, 255, 0.86);
  max-width: 560px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.btn-invert {
  background: #ffffff;
  color: #171636;
  font-weight: 700;
}

.btn-invert:hover {
  background: var(--spark);
  color: #171636;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 36px 0 40px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col {
  max-width: 340px;
}

.footer-brand-col p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}

.footer-links a {
  color: var(--ink-2);
  font-weight: 500;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 20px;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--brand);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-lead {
    max-width: 640px;
  }

  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feat, .feat.wide {
    grid-column: span 6;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 62px;
  }

  .brand-link {
    font-size: 17.5px;
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 28px 0 38px;
  }

  .hero-eyebrow {
    font-size: 12.5px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(28px, 7.6vw, 36px);
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 15.5px;
    margin-bottom: 22px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .preview-body {
    padding: 14px;
    min-height: 0;
  }

  .msg-user {
    max-width: 100%;
  }

  .proof-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feat, .feat.wide, .feat.full {
    grid-column: span 12;
    padding: 20px;
  }

  .feat.full {
    grid-template-columns: 1fr;
  }

  .preview-tabs {
    padding: 10px 12px;
    gap: 5px;
  }

  .preview-tab {
    padding: 6px 10px;
    font-size: 12.2px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 24px 20px;
  }

  .cta-banner {
    border-radius: 20px;
    padding: 28px 20px;
  }

  .cta-banner-actions {
    flex-direction: column;
  }

  .cta-banner-actions .btn {
    width: 100%;
  }

  .mobile-nav-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
