:root {
  --bg: #f7f7fb;
  --surface: rgba(255,255,255,.86);
  --surface-strong: #ffffff;
  --text: #15172a;
  --muted: #686c85;
  --primary: #676dff;
  --primary-dark: #343aa7;
  --border: rgba(28,31,70,.10);
  --shadow: 0 24px 70px rgba(44,49,124,.14);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(103,109,255,.14), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(55,63,180,.09), transparent 32%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(247,247,251,.78);
  border-bottom: 1px solid var(--border);
}

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

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.18rem; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: .96rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 84px 0 54px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(103,109,255,.10);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .86rem;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin: 22px 0 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 18px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.33rem); max-width: 700px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 750;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); text-decoration: none; }
.button.primary { color: white; background: linear-gradient(135deg, #7277ff, #454bc9); box-shadow: 0 14px 30px rgba(81,87,214,.28); border: none; }
.button.secondary { background: rgba(255,255,255,.72); color: var(--text); }

.hero-card {
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(242,243,255,.8));
  border: 1px solid rgba(103,109,255,.15);
  border-radius: 36px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-card img { display: block; width: 100%; border-radius: 26px; }

.section { padding: 72px 0; }
.section.alt { background: rgba(255,255,255,.52); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { max-width: 720px; margin-bottom: 34px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 45px rgba(30,35,100,.07);
}
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(103,109,255,.12); color: var(--primary-dark); font-size: 1.25rem; margin-bottom: 18px; }

.content-shell { max-width: 860px; margin: 0 auto; padding: 74px 0 90px; }
.page-title { margin-bottom: 34px; }
.page-title h1 { font-size: clamp(2.45rem, 6vw, 4.4rem); margin-bottom: 16px; }
.article {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.article h2 { font-size: 1.65rem; margin-top: 38px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #454961; }
.article ul { padding-left: 1.2rem; }
.note { padding: 18px 20px; border-radius: 18px; background: rgba(103,109,255,.09); border: 1px solid rgba(103,109,255,.14); color: #3f4379; }
.placeholder { background: #fff4d9; color: #735f23; border: 1px solid #f1d383; border-radius: 12px; padding: 2px 7px; font-weight: 700; }

.contact-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 26px; padding: 22px; background: rgba(103,109,255,.08); border-radius: 22px; }

.footer { padding: 42px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer small { display: block; margin-top: 10px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-card { max-width: 560px; margin: 0 auto; transform: none; }
  .grid { grid-template-columns: 1fr; }
  .contact-box, .footer-row { grid-template-columns: 1fr; display: grid; }
}
