/* Basic Reset and Typography */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Inter, Arial, sans-serif; line-height: 1.6; color: #1f2937; background: #ffffff; }
a { color: #0ea5e9; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.hero { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); padding-top: 32px; }
.hero .subtitle { font-size: 1.125rem; color: #334155; margin: 8px 0 16px; }
.hero .hero-media { margin-top: 20px; }

/* Header & Footer */
.site-header { border-bottom: 1px solid #e5e7eb; background: #ffffff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.brand img { display: block; }
.nav { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; }
.nav a { color: #334155; font-weight: 500; }
.nav a:hover { color: #0ea5e9; }

.site-footer { border-top: 1px solid #e5e7eb; background: #f9fafb; padding: 24px 0; margin-top: 24px; }
.site-footer p { margin: 0 0 12px; color: #475569; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 8px; font-weight: 600; border: 2px solid transparent; transition: all 0.15s ease; }
.btn-primary { background: #0ea5e9; color: white; }
.btn-primary:hover { background: #0284c7; }
.btn-outline { background: transparent; color: #0ea5e9; border-color: #0ea5e9; }
.btn-outline:hover { color: white; background: #0ea5e9; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Grid */
.grid.two { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
}

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }
.table thead { background: #f1f5f9; }
.micro { color: #64748b; font-size: 0.875rem; margin-top: 12px; }

/* Accessibility helpers */
:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }

/* Language switcher (floating for consistency across pages) */
.lang-floating { position: fixed; top: 10px; right: 16px; z-index: 9999; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 14px rgba(2, 8, 20, 0.06); padding: 6px 8px; display: flex; align-items: center; gap: 8px; }
.lang-floating select { border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 10px; font-weight: 500; color: #334155; background: #ffffff; }
.lang-floating select:hover { border-color: #94a3b8; }
.lang-floating .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@media (max-width: 480px) {
  .lang-floating { top: 8px; right: 8px; padding: 4px 6px; }
  .lang-floating select { padding: 4px 8px; font-size: 0.9rem; }
}