:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04), 0 1px 3px rgb(15 23 42 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.06), 0 10px 15px -3px rgb(15 23 42 / 0.08);
  --container: 1120px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
  font-family: inherit;
  text-decoration: none;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo img { width: 28px; height: 28px; }
.logo:hover { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  color: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"] {
  position: relative;
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--brand);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav__list, .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav--open .nav__list,
  .nav--open .lang-switch {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
  }
  .nav--open .lang-switch { flex-direction: row; align-self: flex-start; }
}

.hero {
  position: relative;
  padding: 88px 0 64px;
  background:
    radial-gradient(60rem 30rem at 80% -10%, rgb(37 99 235 / 0.10), transparent 60%),
    radial-gradient(40rem 24rem at 0% 0%, rgb(37 99 235 / 0.06), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  max-width: 820px;
}
.hero__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.hero__title {
  margin-bottom: 18px;
}
.hero__sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

section { padding: 72px 0; }
section.section--soft { background: var(--bg-soft); }

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgb(37 99 235 / 0.25);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 22px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.trust__item img { width: 56px; height: auto; }
.trust__item strong { color: var(--ink); }

.newsletter {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter__form {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.field {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}
.field--full { width: 100%; display: block; }
textarea.field { min-height: 140px; resize: vertical; font-family: inherit; }

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 540px) {
  .newsletter__form { flex-direction: column; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-grid label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 0 6px;
}
.contact-grid label .req { color: var(--brand); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .contact-grid .field-row { grid-template-columns: 1fr; }
}

.post-list {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover {
  border-color: rgb(37 99 235 / 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.post-card__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.post-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.post-card p { color: var(--muted); margin: 0; }

.post {
  max-width: 720px;
  margin: 0 auto;
}
.post__meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.post__body {
  font-size: 1.05rem;
}
.post__body ul {
  padding-left: 1.25em;
}
.post__body li { margin-bottom: 8px; }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

.page-head {
  padding: 64px 0 32px;
  text-align: center;
}
.page-head p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.site-footer {
  padding: 48px 0 36px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer img { width: 180px; }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
