/* Landing page styles — consumes brand tokens from /brand-tokens.css */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent-primary); color: var(--text-on-accent);
  padding: 8px 16px; z-index: 100; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Navigation ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 28, 46, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.125rem; font-weight: 700; color: var(--accent-primary);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  padding: 8px 16px; border-radius: var(--radius-item);
  font-size: 0.875rem; font-weight: 500; transition: all 0.15s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--accent-soft); }
.nav-cta { margin-left: 8px; padding: 8px 20px !important; }

/* Language Dropdown */
.language-dropdown {
  position: relative;
  margin-left: 8px;
}
.language-toggle {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-topbar); border: 1px solid var(--divider);
  border-radius: var(--radius-item); padding: 8px 16px;
  color: var(--text-secondary); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.language-toggle:hover {
  color: var(--text-primary); background: var(--accent-soft);
}
.language-toggle svg {
  transition: transform 0.2s;
}
.language-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.language-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-primary); border: 1px solid var(--divider);
  border-radius: var(--radius-item); min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  max-height: 400px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.language-menu[aria-hidden="false"] {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.language-menu li {
  list-style: none;
}
.language-menu a {
  display: block; padding: 10px 16px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; transition: all 0.15s;
  border-bottom: 1px solid var(--divider);
}
.language-menu a:last-child {
  border-bottom: none;
}
.language-menu a:hover {
  color: var(--text-primary); background: var(--accent-soft);
}
.language-menu a.current {
  color: var(--accent-primary); font-weight: 600;
  background: var(--accent-soft);
}

.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-item);
  border: 1px solid var(--divider); background: var(--bg-topbar);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.theme-toggle:hover { background: var(--accent-hover-fill); }
.theme-toggle svg { width: 20px; height: 20px; color: var(--text-accent); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 140px 32px 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, var(--accent-faint) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1300px; }

.hero-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-toggle);
  background: var(--accent-soft); color: var(--accent-primary);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.accent-text { color: var(--accent-primary); }

.hero-subtitle {
  font-size: 1.25rem; color: var(--text-muted); max-width: 560px;
  margin-bottom: 40px; line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-button);
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent-primary); color: var(--text-on-accent);
  box-shadow: 0 4px 14px var(--accent-primary-glow-strong);
}
.btn-primary:hover { background: var(--accent-secondary); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-primary-glow-strong); }
.btn-outline {
  background: transparent; color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}
.btn-outline:hover { background: var(--accent-soft); }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { font-size: 0.875rem; color: var(--text-muted); }
.trust-item strong { color: var(--text-primary); }

.hero-visual { position: relative; }
.device-frame {
  width: 100%; max-width: 520px; margin: 0 auto;
  background: var(--bg-card); border-radius: 20px;
  border: 1px solid var(--divider); box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
}
.device-screen { background: var(--bg-primary); }
.screen-header { height: 36px; background: var(--bg-topbar); border-bottom: 1px solid var(--divider); display: flex; align-items: center; padding: 0 12px; }
.screen-dots { display: flex; gap: 6px; }
.screen-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--divider); }
.screen-body { display: flex; height: 420px; }
.demo-sidebar { width: 200px; background: var(--bg-topbar); border-right: 1px solid var(--divider); padding: 16px 0; }
.demo-nav-item { padding: 10px 16px; font-size: 0.875rem; color: var(--text-muted); cursor: pointer; transition: all 0.15s; }
.demo-nav-item.active { background: var(--accent-soft); color: var(--accent-primary); border-left: 3px solid var(--accent-primary); }
.demo-main { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.demo-card { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 20px; }
.demo-card-title { font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.demo-card-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ── Pocket Alternative ───────────────────────────────────────────── */
.pocket { padding: 100px 0; }
.pocket-cta { text-align: center; margin-top: 48px; }

/* ── Section Header ──────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.section-header p { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.section-label { display: inline-block; padding: 4px 12px; border-radius: var(--radius-toggle); background: var(--accent-soft); color: var(--accent-primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 16px; }

/* ── Features ────────────────────────────────────────────────────── */
.features { padding: 120px 0; background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 40px; transition: all 0.2s; }
.feature-card:hover { border-color: var(--accent-glow); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent-primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 16px; line-height: 1.4; }
.feature-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }

/* ── AI Section ──────────────────────────────────────────────────── */
.ai-section { padding: 120px 0; }
.ai-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ai-text h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.ai-text > p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 48px; line-height: 1.7; }

.ai-providers { margin-bottom: 40px; }
.ai-providers h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-secondary); }
.provider-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.provider { padding: 10px 16px; border-radius: var(--radius-item); font-size: 0.8125rem; font-weight: 500; border: 1px solid var(--divider); background: var(--bg-card); color: var(--text-secondary); transition: all 0.15s; }
.provider:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.provider-badge { display: inline-block; font-size: 0.625rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-right: 8px; text-transform: uppercase; }
.provider.local .provider-badge { background: var(--success-soft); color: var(--color-success-text); }
.provider.cloud .provider-badge { background: var(--accent-soft); color: var(--accent-primary); }

.ai-modes h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-secondary); }
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode-card { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 20px; }
.mode-card h5 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.mode-card p { font-size: 0.8125rem; color: var(--text-muted); }

.ai-visual { position: sticky; top: 100px; }
.chat-demo { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-topbar); border-bottom: 1px solid var(--divider); }
.chat-dots { display: flex; gap: 6px; }
.chat-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--divider); }
.chat-title { font-weight: 600; flex: 1; }
.chat-badge { font-size: 0.625rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-toggle); background: var(--success-soft); color: var(--color-success-text); }
.chat-messages { padding: 16px; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.875rem; line-height: 1.5; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg.user { align-self: flex-end; background: var(--accent-primary); color: var(--text-on-accent); border-bottom-right-radius: 4px; }
.msg.assistant { align-self: flex-start; background: var(--bg-topbar); color: var(--text-primary); border-bottom-left-radius: 4px; border: 1px solid var(--divider); }
.chat-input { display: flex; gap: 8px; padding: 16px; border-top: 1px solid var(--divider); background: var(--bg-topbar); }
.chat-input input { flex: 1; padding: 12px 16px; border: 1px solid var(--divider); border-radius: var(--radius-input); background: var(--input-bg); color: var(--text-primary); font-size: 0.875rem; }
.chat-input button { width: 44px; height: 44px; border-radius: var(--radius-button); background: var(--accent-primary); color: var(--text-on-accent); border: none; cursor: pointer; font-size: 1.25rem; }

/* ── Privacy ─────────────────────────────────────────────────────── */
.privacy { padding: 120px 0; background: var(--bg-secondary); }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.privacy-card { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 40px; text-align: center; transition: all 0.2s; }
.privacy-card:hover { border-color: var(--accent-glow); }
.privacy-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; background: var(--accent-soft); border-radius: 14px; color: var(--accent-primary); }
.privacy-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 16px; line-height: 1.4; }
.privacy-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing { padding: 120px 0; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; color: var(--text-secondary); font-weight: 500; }
.toggle { position: relative; width: 56px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--divider); border-radius: 28px; transition: 0.3s; cursor: pointer; }
.toggle-slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 4px; bottom: 4px; background: white; border-radius: 50%; transition: 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.toggle input:checked + .toggle-slider { background: var(--accent-primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(28px); }
.annual-badge { font-size: 0.75rem; font-weight: 700; color: var(--color-success-text); background: var(--success-soft); padding: 2px 8px; border-radius: var(--radius-toggle); }
.save-badge { margin-left: 6px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.pricing-cards.three-col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .pricing-cards.three-col { grid-template-columns: 1fr; } }
.price-card { background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-color: var(--accent-primary); box-shadow: 0 0 0 1px var(--accent-primary), 0 20px 60px rgba(0,174,239,0.12); }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-primary); color: var(--text-primary); padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.price-card .badge.badge-early { background: #0ea5e9; top: -28px; }
.price { display: flex; gap: 8px; align-items: baseline; justify-content: center; flex-wrap: wrap; font-size: 2.25rem; font-weight: 800; }
.price .price-now { color: var(--text-primary); }
.price .price-was { color: var(--text-muted); text-decoration: line-through; font-size: 1.25rem; font-weight: 600; }
.price-sub { text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.pricing-legal { max-width: 860px; margin: 28px auto 0; text-align: center; font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.sla-note { margin-top: 12px; text-align: center; font-size: 0.78rem; color: var(--text-muted); }
.pricing-card { position: relative; background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; transition: all 0.2s; }
.pricing-card:hover { border-color: var(--accent-glow); }
.pricing-card.pro { border-color: var(--accent-primary); box-shadow: 0 0 0 1px var(--accent-primary), 0 20px 60px rgba(0,174,239,0.15); }
.pro-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-primary); color: var(--text-on-accent); padding: 4px 16px; border-radius: var(--radius-toggle); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pricing-card header { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--divider); }
.pricing-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price .currency { font-size: 1.5rem; font-weight: 600; color: var(--text-muted); }
.price .amount { font-size: 4rem; font-weight: 700; line-height: 1; color: var(--text-primary); }
.price .period { font-size: 1rem; color: var(--text-muted); margin-bottom: 4px; }
.pricing-card header > p { color: var(--text-muted); font-size: 0.9375rem; }

.features-list { list-style: none; flex: 1; margin-bottom: 24px; }
.features-list li { padding: 10px 0; font-size: 0.875rem; color: var(--text-secondary); border-bottom: 1px solid var(--divider); display: flex; align-items: flex-start; gap: 8px; }
.features-list li:last-child { border-bottom: none; }

.btn-block { width: 100%; }

.pricing-faq { margin-top: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.pricing-faq h3 { text-align: center; font-size: 1.5rem; margin-bottom: 32px; }
.faq-list { display: grid; gap: 20px; }
.faq-list dt { font-weight: 600; color: var(--text-primary); }
.faq-list dd { color: var(--text-muted); margin: 8px 0 0; line-height: 1.6; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta { padding: 120px 0; background: var(--bg-secondary); text-align: center; }
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.cta-content > p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 20px; }
.cta-note { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { padding: 80px 0 40px; background: var(--bg-card); border-top: 1px solid var(--divider); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 48px; margin-bottom: 64px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; color: var(--accent-primary); text-decoration: none; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); max-width: 280px; font-size: 0.9375rem; line-height: 1.6; }
.footer-links h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 20px; color: var(--text-secondary); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; padding: 4px 0; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom { padding-top: 40px; border-top: 1px solid var(--divider); text-align: center; color: var(--text-muted); font-size: 0.8125rem; }
.footer-legal { margin-top: 12px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-primary); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .privacy-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-content { grid-template-columns: 1fr; }
  .ai-visual { position: static; max-width: 500px; margin: 40px auto 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .features-grid, .privacy-grid, .pricing-grid { grid-template-columns: 1fr; }
  .mode-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { grid-column: auto; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 20px 80px; }
  .section-header { margin-bottom: 48px; }
  .features, .ai-section, .privacy, .pricing, .cta { padding: 80px 0; }
  .pricing-toggle { flex-wrap: wrap; }
  .container { padding: 0 20px; }
}

/* ── Raindrop comparison (rc) ────────────────────────────────────── */
.raindrop-section { padding: 100px 0; background: var(--bg-secondary); }
.rc-table { max-width: 880px; margin: 0 auto 40px; background: var(--bg-card); border: 1px solid var(--divider); border-radius: var(--radius-card); overflow: hidden; }
.rc-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; }
.rc-row + .rc-row { border-top: 1px solid var(--divider); }
.rc-head { background: var(--accent-soft); }
.rc-head > div { font-weight: 700; color: var(--accent-primary); font-size: 0.95rem; }
.rc-row > div { padding: 16px 20px; font-size: 0.9375rem; line-height: 1.5; }
.rc-topic { font-weight: 600; color: var(--text-muted); }
.rc-us { color: var(--text-primary); }
.rc-them { color: var(--text-muted); }
.rc-close { max-width: 720px; margin: 0 auto 32px; text-align: center; color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

@media (max-width: 768px) {
  .rc-head { display: none; }
  .rc-row { grid-template-columns: 1fr 1fr; }
  .rc-row > .rc-topic { grid-column: 1 / -1; padding-bottom: 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
  .rc-row > div { padding: 12px 16px; }
  .rc-us::before { content: "✓ "; color: var(--color-success-text); }
  .rc-them::before { content: "— "; }
}
/* ── Product demo (tour GIF) ─────────────────────────────────────── */
.demo-tour { padding: 88px 0; background: var(--bg-secondary); }
.demo-tour-header { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.demo-tour-tag {
  display: inline-block; padding: 4px 12px; margin-bottom: 16px;
  border-radius: var(--radius-toggle); background: var(--accent-soft);
  color: var(--accent-primary); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.demo-tour-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.demo-tour-subtitle { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; }
.demo-tour-figure {
  max-width: 880px; margin: 0 auto; padding: 16px;
  border: 1px solid var(--divider); border-radius: var(--radius-card);
  background: var(--bg-card); box-shadow: 0 24px 60px rgba(15, 28, 46, 0.16);
}
.demo-tour-media { display: block; width: 100%; height: auto; border-radius: var(--radius-input); background: var(--bg-primary); }
.demo-tour-caption { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--text-muted); }
.demo-tour-steps {
  counter-reset: demo-step; list-style: none;
  max-width: 1040px; margin: 40px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.demo-tour-step {
  position: relative; padding: 18px 18px 18px 48px;
  border: 1px solid var(--divider); border-radius: var(--radius-item);
  background: var(--bg-card);
}
.demo-tour-step::before {
  counter-increment: demo-step; content: counter(demo-step);
  position: absolute; left: 16px; top: 18px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-primary);
  font-size: 0.6875rem; font-weight: 700;
}
.demo-tour-step-title { display: block; margin-bottom: 6px; font-size: 0.9375rem; color: var(--text-primary); }
.demo-tour-step-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.demo-tour-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

@media (max-width: 1024px) {
  .demo-tour-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .demo-tour { padding: 56px 0; }
  .demo-tour-figure { padding: 10px; }
  .demo-tour-steps { grid-template-columns: 1fr; }
}
