:root {
    --bg: #ffffff;
    --card: #ffffff;
    --text: #1a2332;
    --muted: #6b7280;
    --brand: #667eea;
    --brand-accent: #0ea5e9;
    --brand-secondary: #8b9eff;
    --border: #e5e7eb;
    --shadow: 0 12px 30px rgba(0,0,0,0.06);
    --radius: 14px;
    --space: 16px;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(247,248,251,0.9);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
}

.logo {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand);
    flex: 0 0 auto;
}

.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navigation ul {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation ul li:last-child {
    position: absolute;
    right: 28px;
}

.navigation a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease;
}

.navigation a:hover { color: var(--brand); background: rgba(79,70,229,0.08); }
.navigation a.active { color: var(--brand); background: rgba(79,70,229,0.12); }
.navigation a.lang { font-weight: 600; }

main { max-width: 1100px; padding: 60px 24px 80px; margin: 0 auto; }

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.hero-text h1 {
    margin: 10px 0 12px;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--brand);
    font-weight: 700;
}

.lede {
    color: var(--muted);
    max-width: 48ch;
    margin-bottom: 18px;
}

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-accent));
    color: #fff;
    box-shadow: var(--shadow);
}

.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(102, 126, 234, 0.28); }

.btn.ghost {
    border-color: var(--border);
    color: var(--text);
    background: rgba(255,255,255,0.9);
}

.btn.ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(79,70,229,0.06); }

.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.hero-card h3 { margin-top: 0; margin-bottom: 12px; }

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
}

.hero-card li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}
.hero-card li:last-child { border-bottom: none; }

.pillars {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pillar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.pillar h3 { margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--muted); }

.footer {
    margin-top: 60px;
    padding: 28px 24px 40px;
    border-top: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.footer nav { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.footer a:hover { color: var(--brand); }

/* Content pages (legal, about, contact, etc.) */
main h1 {
  font-size: 36px;
  margin-bottom: 8px;
  line-height: 1.2;
}

main h2 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.3;
}

main h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 10px;
  line-height: 1.4;
}

main p {
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 75ch;
}

main ul, main ol {
  margin: 12px 0 20px 24px;
  line-height: 1.7;
}

main li {
  margin-bottom: 8px;
}

main a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

main a:hover {
  color: var(--brand-accent);
}

main em {
  color: var(--muted);
  font-size: 0.9em;
}

/* Page headers */
.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.page-header .intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* Content sections */
.content-section {
  margin-bottom: 48px;
}

.content-section h2 {
  margin-top: 0;
}

/* Value cards */
.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin-top: 0;
  color: var(--brand);
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Contact methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--text);
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-link:hover {
  color: var(--brand-accent);
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .header { position: sticky; }
  main h1 { font-size: 28px; }
  main h2 { font-size: 22px; }
  main h3 { font-size: 17px; }
}