:root {
  color-scheme: light dark;
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-soft: #fafaf7;
  --text: #1c1a23;
  --muted: #6a6470;
  --border: rgba(28, 26, 35, .12);
  --primary: #5b3ad6;
  --primary-strong: #3b1faa;
  --accent: #c9549c;
  --shadow-sm: 0 1px 2px rgba(28, 26, 35, .05);
  --shadow-md: 0 8px 24px rgba(28, 26, 35, .08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: min(100%, 960px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131c;
    --surface: #1d1a26;
    --surface-soft: #25222e;
    --text: #f3efe6;
    --muted: #9892a0;
    --border: rgba(243, 239, 230, .12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 92% -2%, rgba(201, 84, 156, .06), transparent 36rem),
    radial-gradient(circle at -6% 14%, rgba(91, 58, 214, .08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .005em;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, white);
  outline-offset: 3px;
  border-radius: 8px;
}

.container { width: var(--container); margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--primary); font-weight: 700; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.muted { color: var(--muted); font-size: 13px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-top: calc(12px + env(safe-area-inset-top));
  padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(150deg, var(--primary), var(--accent)); box-shadow: 0 4px 14px rgba(91, 58, 214, .28); }
.brand-mark svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 17px; }
.site-nav { display: none; gap: 22px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
.site-nav a:hover { color: var(--primary); }
@media (min-width: 720px) { .site-nav { display: inline-flex; } }

.hero { padding: calc(40px + env(safe-area-inset-top)) 0 56px; }
.hero h1 { font-size: clamp(30px, 6.5vw, 52px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; max-width: 18ch; }
.hero-lede { margin-top: 18px; font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 52ch; line-height: 1.55; }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border-radius: var(--radius-md); font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.cta:hover { box-shadow: var(--shadow-md); }
.cta:active { transform: scale(.98); }
.cta-primary { color: white; background: linear-gradient(135deg, var(--primary), var(--primary-strong)); box-shadow: 0 6px 18px rgba(91, 58, 214, .24); }
.cta-secondary { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--muted); }

.section { padding: 56px 0; }
.section-alt { background: color-mix(in srgb, var(--surface-soft) 60%, transparent); }
.section h2 { font-size: clamp(24px, 4.5vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; max-width: 22ch; }
.section-lede { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 56ch; }

.capability-list { margin-top: 32px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 920px) { .capability-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.capability-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); }
.capability-list h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; }
.capability-list p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.workflow-list { margin-top: 32px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .workflow-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.workflow-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: relative; }
.workflow-list h3 { font-size: 17px; margin: 14px 0 6px; letter-spacing: -.01em; }
.workflow-list p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.step-number { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-weight: 800; font-size: 14px; }

.assistant-grid { margin-top: 32px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .assistant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 920px) { .assistant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.assistant-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.assistant-grid h3 { font-size: 16px; margin-bottom: 6px; }
.assistant-grid p { color: var(--muted); font-size: 13px; line-height: 1.5; }

.safety-list { margin-top: 24px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .safety-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.safety-list li { padding-left: 14px; border-left: 3px solid color-mix(in srgb, var(--primary) 38%, transparent); }
.safety-list h3 { font-size: 16px; margin-bottom: 6px; }
.safety-list p { color: var(--muted); font-size: 14px; line-height: 1.55; }

details { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-top: 12px; }
details:first-of-type { margin-top: 28px; }
details summary { padding: 18px 20px; font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { border-bottom: 1px solid var(--border); }
details p { padding: 16px 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.cta-section { padding: 64px 0 72px; text-align: center; }
.cta-section h2 { margin: 0 auto; max-width: 24ch; }
.cta-section p { margin-top: 14px; color: var(--muted); max-width: 44ch; margin-left: auto; margin-right: auto; }
.cta-section .cta-group { justify-content: center; margin-top: 28px; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer p { font-size: 13px; color: var(--muted); }
.site-footer code { background: var(--surface-soft); padding: 2px 6px; border-radius: 6px; font-size: 12px; }

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