@font-face { font-family: Onest; src: url(/onest.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }
:root { --paper: #fff; --ink: #111; --ink2: #5f5f5f; --wash: #efefef; --accent: #1f45ff; --e: cubic-bezier(.16,1,.3,1); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: Onest, system-ui, sans-serif; hyphens: manual; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.mark { font-weight: 850; font-size: 26px; letter-spacing: -.04em; text-decoration: none; }
.mark i { font-style: normal; color: var(--accent); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 100px;
  background: var(--ink); color: #fff; font: 650 16px/1 Onest, sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s var(--e), background-color .15s; }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: var(--wash); color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 32px 0 80px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .92; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 850; }
.hero p { font-size: 19px; line-height: 1.55; color: var(--ink2); margin: 0 0 30px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* Кладка из живых новостей — сам продукт вместо иллюстрации. */
.board { columns: 2; column-gap: 10px; height: 640px; overflow: hidden; border-radius: 28px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pin { break-inside: avoid; margin: 0 0 16px; opacity: 0; transform: translateY(14px);
  animation: in .6s var(--e) forwards; }
.pin img { width: 100%; display: block; border-radius: 16px; background: var(--wash); }
.pin b { display: block; font-size: 14px; line-height: 1.28; margin: 8px 4px 2px; font-weight: 650; }
.pin small { display: block; font-size: 12px; color: var(--ink2); margin: 0 4px; }
@keyframes in { to { opacity: 1; transform: none; } }
footer { border-top: 1px solid var(--wash); padding: 26px 0 40px; color: var(--ink2); font-size: 14px; display: flex; gap: 20px; flex-wrap: wrap; }
.card { max-width: 480px; margin: 12vh auto 0; padding: 0 4px; }
.card h1 { font-size: 40px; letter-spacing: -.035em; line-height: 1; margin: 0 0 14px; }
.card p { font-size: 17px; line-height: 1.55; color: var(--ink2); }
.field { display: flex; gap: 8px; margin: 18px 0 8px; }
.field input { flex: 1; min-height: 52px; border-radius: 100px; border: 0; background: var(--wash); padding: 0 20px; font: 500 16px Onest, sans-serif; }
.msg { min-height: 24px; color: #c0263b; font-size: 15px; }
.legal { max-width: 760px; padding-bottom: 60px; }
.legal h1 { font-size: 44px; letter-spacing: -.035em; }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: #333; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .board { height: 520px; }
  header.top .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pin { animation: none; opacity: 1; transform: none; } }
