/* Yleiset tiedot section – shared styles (matches site design) */
:root {
  --bg: #f8f9fb; --bg-elevated: #ffffff; --bg-secondary: #eef0f4; --bg-tertiary: #e4e7ec;
  --text: #111827; --text-secondary: #4b5563; --text-muted: #6b7280;
  --border: #e5e7eb; --border-subtle: #f3f4f6;
  --accent: #2563eb; --accent-light: #3b82f6; --accent-soft: #dbeafe; --accent-ghost: #eff6ff;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
  --font-sans: 'Outfit', system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg: #0a0e1a; --bg-elevated: #111827; --bg-secondary: #1f2937; --bg-tertiary: #374151;
  --text: #f3f4f6; --text-secondary: #9ca3af; --text-muted: #6b7280;
  --border: #1f2937; --border-subtle: #374151;
  --accent: #60a5fa; --accent-light: #93c5fd; --accent-ghost: rgba(96, 165, 250, 0.08);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background 0.3s ease, color 0.3s ease; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: var(--bg-elevated); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background 0.3s ease, border-color 0.3s ease; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.logo-subtitle { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle { background: none; border: 1.5px solid var(--border); width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); transition: all 0.2s ease; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-ghost); }
.lang-switcher { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s ease; }
.lang-btn { background: none; border: none; padding: 0 11px; height: 40px; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; color: var(--text-muted); transition: all 0.2s ease; }
.lang-btn + .lang-btn { border-left: 1.5px solid var(--border); }
.lang-btn:hover { color: var(--accent); background: var(--accent-ghost); }
.lang-btn.active { background: var(--accent); color: #fff; }
.top-nav { position: sticky; top: 64px; z-index: 99; background: var(--bg-elevated); border-bottom: 1px solid var(--border); transition: background 0.3s ease, border-color 0.3s ease; }
.top-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.top-nav-link { padding: 10px 14px; color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; white-space: nowrap; }
.top-nav-link:hover { color: var(--accent); text-decoration: none; }
.top-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
main { max-width: 880px; margin: 0 auto; padding: 40px 24px 72px; }
.legal-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 40px 44px; box-shadow: var(--shadow); }
article h1 { font-size: 1.85rem; font-weight: 700; margin-bottom: 12px; }
.legal-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 26px; }
article h2 { font-size: 1.3rem; font-weight: 600; margin: 34px 0 12px; color: var(--text); }
article h3 { font-size: 1.08rem; font-weight: 600; margin: 26px 0 10px; color: var(--text); }
article p { margin-bottom: 14px; color: var(--text-secondary); }
article ul, article ol { margin: 0 0 16px 22px; color: var(--text-secondary); }
article li { margin-bottom: 8px; }
article li::marker { color: var(--accent); }
.related { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--border); }
.related h2 { font-size: 1rem; font-weight: 600; margin: 0 0 14px; color: var(--text); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.related li { margin: 0; }
.related a { display: block; padding: 11px 14px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-secondary); font-size: 0.88rem; }
.related a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 30px; }
.article-card { display: block; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.article-card:hover { border-color: var(--accent); text-decoration: none; }
.article-card h3 { margin: 0 0 8px; color: var(--text); font-size: 1.02rem; }
.article-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
.article-card .read-more { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 500; color: var(--accent); }
footer { border-top: 1px solid var(--border); background: var(--bg-elevated); padding: 20px 24px; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 640px) {
  .header-inner { height: 56px; padding: 0 16px; }
  .top-nav { top: 56px; }
  .logo { font-size: 1.1rem; }
  .legal-card { padding: 24px 20px; }
  article h1 { font-size: 1.5rem; }
}
