/* Simplr mockup — shared theme variables + base */

:root,
[data-theme="light"] {
  --bg: #F4F7F2;
  --bg-alt: #E8EFE6;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-dark-band: #0E1F18;
  --text: #0E1F18;
  --text-muted: #5A6B62;
  --accent: #6B8F71;
  --accent-bright: #8FA86A;
  --accent-light: #E4EDE2;
  --accent-hover: #557560;
  --border: #D5DFD6;
  --shadow-sm: 0 1px 3px rgba(14, 31, 24, 0.06);
  --shadow-md: 0 4px 24px rgba(14, 31, 24, 0.08);
  --shadow-lg: 0 12px 48px rgba(14, 31, 24, 0.1);
  --header-bg: rgba(244, 247, 242, 0.92);
  --visual-bg: #FFFFFF;
  --visual-sidebar: #E8EFE6;
  --map-bg: #E4EDE2;
  --map-grid: rgba(14, 31, 24, 0.06);
  --purple-card: #0E1F18;
  --logo-height: 72px;
  --logo-height-nav: 48px;
  --header-height: 72px;
}

[data-theme="dark"] {
  --bg: #0A0F1A;
  --bg-alt: #111827;
  --bg-card: #152238;
  --bg-elevated: #1a2744;
  --bg-dark-band: #0A0F1A;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --accent: #8FA86A;
  --accent-bright: #A3B87C;
  --accent-light: rgba(143, 168, 106, 0.14);
  --accent-hover: #7A9458;
  --border: rgba(148, 163, 184, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(10, 15, 26, 0.92);
  --visual-bg: #152238;
  --visual-sidebar: #111827;
  --map-bg: #0d1525;
  --map-grid: rgba(148, 163, 184, 0.06);
  --purple-card: #1a2744;
  --logo-height: 72px;
  --logo-height-nav: 48px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height, 72px) + 16px); }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header { max-width: 720px; margin-bottom: 48px; }

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p { font-size: 1.125rem; color: var(--text-muted); }

.accent { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-theme="dark"] .btn-primary { color: #0A0F1A; }

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding: 10px 14px;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-alt);
  transform: none;
  box-shadow: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

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

.fade-in--instant,
.fade-in--instant.is-visible {
  opacity: 1;
  transform: none;
}

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

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover { transform: none; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

.link-arrow::after { content: '→'; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.theme-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.theme-switch a {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-muted);
}

.theme-switch a.active {
  background: var(--bg-card);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
