:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fa;
  --ink: #10222b;
  --ink-soft: #4a5b63;
  --muted: #718089;
  --brand: #0f7a86;
  --brand-dark: #0b5a63;
  --brand-tint: #e3f2f3;
  --line: #e2e9ec;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 720px; }

a { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  margin-right: auto;
}
.brand-mark { display: block; }
.brand-name { font-size: 16px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--brand-dark); }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.lang-toggle button {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  padding: 4px 2px;
}
.lang-toggle button.is-active { color: var(--brand-dark); }

/* Hero */
.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(1200px 480px at 70% -10%, var(--brand-tint), transparent 60%),
    var(--bg);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 20px;
  max-width: 15ch;
}
.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 28px;
}
.section p { color: var(--ink-soft); font-size: 17px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card-muted { background: transparent; border-style: dashed; }
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card-head h3 { margin: 0; font-size: 21px; }
.card p { margin: 0; }
.badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--brand);
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-soft { background: var(--brand-tint); color: var(--brand-dark); }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.pillar h3 { font-size: 19px; margin: 0 0 8px; }
.pillar p { margin: 0; font-size: 16px; }

/* Contact */
.contact-email { font-size: 20px; font-weight: 600; margin: 8px 0 4px; }
.contact-email a { color: var(--brand-dark); text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }
.muted { color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.copyright { margin: 0; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--brand-dark); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal a.back { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; }

@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
}
