:root {
  --navy: #0f1626;
  --navy-2: #182238;
  --ink: #1b2a41;
  --text: #33415a;
  --muted: #6b778c;
  --paper: #f7f4ee;
  --card: #ffffff;
  --line: #e6e0d4;
  --sun: #ffc93c;
  --coral: #ff6b4a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* шапка */
.top { background: var(--navy); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .2px; text-decoration: none; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--sun); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; inset: 8px 7px 8px 11px; border-left: 10px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 0; width: 0; height: 0; }
.links { display: flex; gap: 24px; font-size: 14px; }
.links a { color: #c9d2e3; text-decoration: none; }
.links a:hover { color: #fff; }

/* заглавный блок */
.hero {
  background:
    linear-gradient(transparent 0 0),
    radial-gradient(1100px 380px at 85% -10%, rgba(255, 201, 60, .14), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero .wrap { position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -.6px; max-width: 760px; }
.lead { font-size: 18px; color: #c9d2e3; max-width: 640px; margin: 0 0 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-primary { background: var(--sun); color: var(--navy); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn:hover { filter: brightness(1.06); }

/* секции */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--coral); margin: 0 0 8px; }
h2 { font-size: clamp(24px, 3.2vw, 32px); color: var(--ink); margin: 0 0 24px; letter-spacing: -.3px; line-height: 1.2; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.card p { margin: 0; font-size: 15px; }
.num { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; align-items: center; justify-content: center; background: var(--navy); color: var(--sun); font-weight: 800; font-size: 14px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--sun); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.note { background: var(--navy-2); color: #dbe2ef; border-radius: var(--radius); padding: 22px; font-size: 15px; }
.note h3 { color: #fff; margin: 0 0 8px; font-size: 18px; }
.note a { color: var(--sun); }

/* подвал */
footer { background: var(--navy); color: #9aa6bc; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
footer a { color: #c9d2e3; text-decoration: none; margin-left: 18px; }

/* текстовая страница (политика) */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); margin: 0 0 6px; letter-spacing: -.4px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc p, .doc li { font-size: 16px; }
.doc a { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .links { gap: 16px; }
}
@media (max-width: 520px) {
  .links a:not(.keep) { display: none; }
  .hero { padding: 40px 0 52px; }
  section { padding: 44px 0; }
  footer a { margin-left: 0; margin-right: 16px; }
}
