/* finansy.kz — одна страница, без шрифтов и скриптов: белый фон, один акцентный цвет */
:root {
  --accent: #0b2a5b;
  --ink: #141b26;
  --muted: #4d5869;
  --line: #e2e7ef;
  --bg: #ffffff;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* шапка */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.brand-name { font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }

/* первый экран */
main { flex: 1; }
.hero { padding: 72px 0 48px; max-width: 760px; }
.hero h1 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lead { margin: 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; }

/* разделы */
.cards {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--bg);
}
.card h2 { margin: 0 0 8px; color: var(--accent); font-size: 19px; line-height: 1.3; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* подвал */
.foot { border-top: 1px solid var(--line); }
.foot p { margin: 0; padding: 24px 0 28px; color: var(--muted); font-size: 14px; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top .wrap { height: 60px; }
  .hero { padding: 40px 0 32px; }
  .cards { gap: 12px; margin-bottom: 48px; }
  .card { padding: 20px; }
}
