:root{
  --bg: #f4f7ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #52607a;
  --border: rgba(15, 23, 42, .10);
  --accent: #2563eb;
  --accent2: #60a5fa;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(37, 99, 235, .18), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(96, 165, 250, .20), transparent 55%),
    var(--bg);
  color: var(--text);

  /* прижать футер к низу */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.wrap{ max-width: 1020px; margin: 0 auto; padding: 0 16px; }

.top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding: 20px 0;
}

.brand h1 { font-size: 18px; margin:0 0 6px; letter-spacing: .2px; }
.brand p { margin:0; color: var(--muted); font-size: 13px; line-height: 1.35; }

nav a{
  display:inline-block;
  padding: 8px 10px;
  margin-left: 6px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
nav a:hover{
  background: rgba(37, 99, 235, .06);
  border-color: rgba(37, 99, 235, .25);
}

main{
  padding: 22px 0 44px;
  flex: 1;
}

.hero{
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(96, 165, 250, .12));
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 35px rgba(37, 99, 235, .10);
  margin-bottom: 16px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}
@media(min-width: 860px){
  .hero-grid{ grid-template-columns: 1.2fr .8fr; }
}

.hero h2{ margin:0 0 8px; font-size: 16px; }
.hero p{ margin:0; color: var(--muted); line-height: 1.6; font-size: 13px; }

.pill-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px; }
.pill{
  font-size: 12px;
  color: #0b3a8a;
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .18);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media(min-width: 860px){
  .grid{ grid-template-columns: 1fr 1fr; }
  .span-2{ grid-column: 1 / -1; }
}

section.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

section.card h3{
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: .2px;
}

ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}
li{ margin: 6px 0; }

.muted{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact{
  margin-top: 10px;
  display:grid;
  gap: 10px;
}

.row{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(244, 247, 255, .55);
}

.row .label{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
a:hover{ text-decoration: underline; }

footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  font-size: 12px;
  margin-top: auto; /* прижать к низу */
}

.lang-switch{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top: 6px;
}

.lang-switch a{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.55);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.lang-switch a:hover{
  border-color: rgba(37, 99, 235, .25);
}

.lang-switch .active{
  border-color: rgba(37, 99, 235, .35);
  background: rgba(37, 99, 235, .08);
  color: var(--accent);
}

.badge-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 10px;
}

.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .20);
  background: rgba(255,255,255,.65);
  color: #0b3a8a;
  font-weight: 700;
}

.steps{
  display:grid;
  gap:10px;
  margin-top: 10px;
}

.step{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(244, 247, 255, .7);
}

.step-title{
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--text);
}

.step-desc{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.callout{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px dashed rgba(37, 99, 235, .35);
  background: rgba(255, 255, 255, .6);
}

.callout-title{
  font-weight: 900;
  margin: 0 0 8px;
  font-size: 13px;
}

.callout p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.quick-grid{
  display:grid;
  gap:10px;
}

