:root {
  --bg: #0d0b14;
  --bg-soft: #15111f;
  --card: #1b1529;
  --border: #32284a;
  --text: #f5f2fb;
  --muted: #b8afc9;
  --accent: #c026d3;
  --accent-2: #7c3aed;
  --accent-soft: rgb(192 38 211 / 14%);
  --danger: #fb7185;
  --radius: 18px;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgb(124 58 237 / 28%), transparent 42rem),
    radial-gradient(circle at 90% 0%, rgb(192 38 211 / 20%), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #e879f9;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f5d0fe;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-2);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(13 11 20 / 82%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(50 40 74 / 70%);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand span {
  background: linear-gradient(100deg, #f0abfc, #a78bfa 60%, #7c3aed);
  background-clip: text;
  color: transparent;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  padding: 4rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #f0abfc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

h1 .grad {
  background: linear-gradient(100deg, #f0abfc, #c084fc 45%, #818cf8);
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.8rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  filter: brightness(1.08);
}

.button.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button.secondary:hover {
  border-color: #6d5a94;
}

.download-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(100%, 340px);
  border-radius: 28%;
  box-shadow: 0 30px 80px rgb(124 58 237 / 35%);
}

.chat-demo {
  width: 100%;
  max-width: 340px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgb(27 21 41 / 90%);
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
}

.chat-demo .meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.35rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.bubble {
  margin-top: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: #241a38;
  font-size: 0.95rem;
}

.bubble.out {
  margin-left: 2.4rem;
  background: linear-gradient(100deg, rgb(124 58 237 / 55%), rgb(192 38 211 / 55%));
}

.bubble small {
  display: block;
  margin-top: 0.3rem;
  color: rgb(255 255 255 / 66%);
  font-size: 0.75rem;
}

.section {
  margin-top: 4.5rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(27 21 41 / 95%), rgb(21 17 31 / 95%));
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.9rem;
  border-radius: 11px;
  background: var(--accent-soft);
  color: #f0abfc;
  font-size: 1.1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(27 21 41 / 75%);
  font-size: 0.95rem;
}

.chips li span {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 0.65rem 0.8rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: rgb(27 21 41 / 70%);
  color: var(--muted);
  font-size: 0.95rem;
}

.note strong {
  color: var(--text);
}

/* Legal pages ------------------------------------------------------------ */

.legal {
  width: min(100% - 2.5rem, 780px);
  margin-inline: auto;
}

.legal > .eyebrow {
  margin-bottom: 1.2rem;
}

.legal h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.legal .updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 2.6rem 0 0.7rem;
  font-size: 1.35rem;
}

.legal h3 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: #ddd6e9;
}

.legal ul,
.legal ol {
  padding-left: 1.3rem;
}

.legal li {
  margin: 0.4rem 0;
}

.legal strong {
  color: var(--text);
}

.callout {
  margin: 1.8rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid #4c3a6d;
  border-radius: 12px;
  background: rgb(124 58 237 / 14%);
}

.callout p {
  margin: 0;
}

.callout.danger {
  border-color: #7f3448;
  background: rgb(251 113 133 / 9%);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  margin: 1rem 0;
  padding: 0.95rem 1rem 0.95rem 3.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgb(27 21 41 / 75%);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #f0abfc;
  font-weight: 800;
  font-size: 0.85rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgb(124 58 237 / 15%);
  color: var(--text);
}

td {
  color: #ddd6e9;
}

.faq details {
  margin: 0.7rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgb(27 21 41 / 70%);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.7rem 0 0;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-left: auto;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

@media (width <= 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art {
    order: -1;
    justify-items: start;
  }

  .hero-art img {
    width: 180px;
  }

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

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

  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

@media (width <= 520px) {
  body {
    font-size: 16px;
  }

  main {
    padding-top: 2.5rem;
  }

  .site-footer .wrap {
    display: block;
  }

  .footer-links {
    margin: 0.8rem 0 0;
  }

  .shots {
    gap: 0.7rem;
  }
}

.license-text {
  overflow-x: auto;
  margin: 1.2rem 0 2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
