:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #0d1824;
  --muted: #667789;
  --line: #dce6ef;
  --blue: #7ed9ff;
  --blue-strong: #159ee8;
  --navy: #071523;
  --green: #22b486;
  --shadow: 0 20px 54px rgba(18, 45, 70, .10);
  --soft-shadow: 0 12px 32px rgba(18, 45, 70, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }

.wrap {
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
}

.topline {
  padding: 8px 18px;
  color: rgba(255,255,255,.84);
  background: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246,248,251,.92);
  box-shadow: 0 10px 34px rgba(8,31,52,.05);
  backdrop-filter: blur(20px);
}

.nav-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo {
  width: 158px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-links .is-active {
  color: var(--ink);
  background: rgba(126,217,255,.16);
}

.article-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.78);
}

.lang-btn {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  color: var(--navy);
  background: var(--blue);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.btn-light {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
}

.hero {
  padding: clamp(34px, 5vw, 64px) 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(300px, .46fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.eyebrow,
.kicker {
  margin-bottom: 12px;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 620;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-image {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #eaf8ff;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1.18 / .82;
  object-fit: cover;
}

.article {
  padding: 18px 0 84px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.content {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.content h2:first-child { margin-top: 0; }

.content p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
}

.content ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 580;
}

.content li + li { margin-top: 8px; }

.note {
  margin-top: 28px;
  border-radius: 18px;
  padding: 20px;
  background: #eaf8ff;
  color: var(--ink);
  font-weight: 720;
}

.aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.aside-card {
  border-radius: 20px;
  padding: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--soft-shadow);
}

.aside-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.aside-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.related {
  padding: 0 0 88px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.related-card {
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.related-card span {
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.related-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.footer {
  padding: 32px 0 46px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

@media (max-width: 880px) {
  .wrap { width: 100%; padding: 0 16px; }
  .nav-links a:not(.is-active),
  .nav .article-actions > .btn { display: none; }
  .hero-grid,
  .article-grid,
  .related-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .aside { position: static; }
  h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .footer-inner { flex-direction: column; }
}
