:root {
  --m-bg: #0F1117;
  --m-card: #171A23;
  --m-raised: #1B1F2A;
  --m-deep: #12141B;
  --m-text: #E8EAF0;
  --m-muted: #9AA2B4;
  --m-dim: #6F7688;
  --m-line: #262B38;
  --m-line-soft: #1F2430;
  --m-accent: #6C5CE7;
  --m-accent-soft: #8B7CF6;
  --m-accent-deep: #241F3D;
  --m-accent-line: #3A2F66;
  --m-accent-text: #C7BFFB;
  --m-success: #22C55E;
  --m-error: #EF4444;
  --m-warn: #F59E0B;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--m-accent-text);
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--m-accent);
  color: var(--m-text);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p {
  margin: 0 0 12px;
  color: var(--m-muted);
  max-width: 62ch;
}

.section-lead {
  color: var(--m-muted);
  max-width: 58ch;
  margin-bottom: 36px;
}

section {
  padding: 72px 0;
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--m-accent-soft), var(--m-accent));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--m-accent);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--m-text);
  border-color: var(--m-line);
}
.btn-ghost:hover {
  border-color: var(--m-accent-line);
  background: var(--m-raised);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--m-line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--m-text);
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--m-accent);
  box-shadow: 0 0 0 4px var(--m-accent-deep);
}
.header-nav {
  display: none;
  gap: 28px;
}
.header-nav a {
  color: var(--m-muted);
  font-size: 0.92rem;
}
.header-nav a:hover {
  color: var(--m-text);
}
@media (min-width: 860px) {
  .header-nav { display: flex; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.age-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--m-warn);
  border: 1px solid var(--m-line);
  border-radius: 6px;
  padding: 3px 7px;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding-top: 20px;
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--m-dim);
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--m-dim);
}
.breadcrumbs a {
  color: var(--m-dim);
}
.breadcrumbs a:hover {
  color: var(--m-muted);
}
.breadcrumbs li[aria-current="page"] {
  color: var(--m-muted);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
  padding-bottom: 48px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40px 0 auto 0;
  height: 520px;
  background:
    radial-gradient(500px 300px at 15% 10%, var(--m-accent-deep), transparent 70%),
    radial-gradient(420px 260px at 85% 0%, var(--m-accent-deep), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}
.hero-copy h1 {
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--m-muted);
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--m-dim);
  max-width: 48ch;
}

/* Hero visual / chat mockup */
.hero-visual {
  position: relative;
}
.hero-bg-image {
  position: absolute;
  inset: -24px -24px 0 -24px;
  width: calc(100% + 48px);
  border-radius: 24px;
  opacity: 0.5;
  filter: blur(1px);
  z-index: 0;
}
.chat-mock {
  position: relative;
  z-index: 1;
  background: rgba(23, 26, 35, 0.78);
  border: 1px solid var(--m-line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  overflow: hidden;
}
.chat-mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--m-line-soft);
  background: var(--m-deep);
}
.chat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.chat-dot-a { background: var(--m-error); }
.chat-dot-b { background: var(--m-warn); }
.chat-dot-c { background: var(--m-success); }
.chat-mock-title {
  margin-left: 8px;
  font-size: 0.82rem;
  color: var(--m-dim);
  font-weight: 600;
}
.chat-mock-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-msg-user {
  flex-direction: row-reverse;
}
.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.chat-avatar-user {
  background: var(--m-raised);
  color: var(--m-muted);
  border: 1px solid var(--m-line);
}
.chat-avatar-ai {
  background: var(--m-accent-deep);
  color: var(--m-accent-text);
  border: 1px solid var(--m-accent-line);
}
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 230px;
}
.chat-bubble-user {
  background: var(--m-accent);
  color: #fff;
  border-top-right-radius: 4px;
}
.chat-bubble-ai {
  background: var(--m-raised);
  color: var(--m-text);
  border: 1px solid var(--m-line);
  border-top-left-radius: 4px;
}
.chat-mock-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--m-line-soft);
  background: var(--m-deep);
}
.chat-input-placeholder {
  font-size: 0.85rem;
  color: var(--m-dim);
}
.chat-send-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--m-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---------- Facts ---------- */
.facts {
  padding-top: 0;
  padding-bottom: 56px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 760px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
}
.fact-tile {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
}
.fact-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--m-accent-text);
  line-height: 1;
  margin-bottom: 8px;
}
.fact-label {
  font-size: 0.82rem;
  color: var(--m-muted);
}

/* ---------- Scenarios ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .scenario-grid { grid-template-columns: repeat(3, 1fr); }
}
.scenario-card {
  position: relative;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 18px;
  padding: 24px;
  overflow: hidden;
}
.scenario-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.35;
  border-radius: 0 18px 0 100%;
  overflow: hidden;
  z-index: 0;
}
.scenario-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scenario-icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  color: var(--m-accent-soft);
  margin-bottom: 18px;
}
.scenario-card h3 {
  position: relative;
  z-index: 1;
}
.scenario-card p {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
}
.terminal-chip {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  background: var(--m-deep);
  border: 1px solid var(--m-line-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--m-accent-text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--m-success);
  margin-top: 5px;
  flex-shrink: 0;
}

/* ---------- Compare table ---------- */
.table-wrap {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 18px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--m-line-soft);
}
.compare-table thead th {
  color: var(--m-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--m-deep);
}
.compare-table tbody th {
  color: var(--m-text);
  font-weight: 600;
  background: var(--m-raised);
  white-space: nowrap;
}
.compare-table td {
  color: var(--m-muted);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

/* ---------- Limitations ---------- */
.limits-head {
  margin-bottom: 32px;
}
.limits-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 860px) {
  .limits-body { grid-template-columns: 220px 1fr; }
}
.limits-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--m-line);
  aspect-ratio: 1;
}
.limits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.limits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) {
  .limits-grid { grid-template-columns: repeat(2, 1fr); }
}
.limit-tile {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.limit-icon {
  width: 22px;
  height: 22px;
  color: var(--m-warn);
  flex-shrink: 0;
  margin-top: 2px;
}
.limit-tile p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--m-muted);
}
.ai-disclaimer {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--m-accent-deep);
  border: 1px solid var(--m-accent-line);
  border-radius: 12px;
  color: var(--m-accent-text);
  font-size: 0.85rem;
  max-width: none;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-accent-line), transparent);
    z-index: 0;
  }
}
.step {
  position: relative;
  z-index: 1;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--m-raised);
  border: 1px solid var(--m-accent-line);
  color: var(--m-accent-text);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.step p {
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--m-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--m-accent-text);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding-bottom: 18px;
  margin: 0;
  font-size: 0.92rem;
}

/* ---------- CTA ---------- */
.cta {
  padding-bottom: 96px;
}
.cta-card {
  position: relative;
  text-align: center;
  padding: 56px 24px;
  background: var(--m-card);
  border: 1px solid var(--m-accent-line);
  border-radius: 24px;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, var(--m-accent-deep), transparent 70%);
  z-index: 0;
}
.cta-card h2 {
  position: relative;
  z-index: 1;
}
.cta-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
}
.cta-card .btn {
  position: relative;
  z-index: 1;
}
.cta-fine {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--m-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--m-line-soft);
  background: var(--m-deep);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--m-text);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: var(--m-muted);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--m-text);
}
.footer-legal {
  font-size: 0.76rem;
  color: var(--m-dim);
  max-width: 80ch;
  margin: 0;
}
