/* Landing-specific styles. Base styles come from /account/account.css */

.landing-main { max-width: 820px; margin: 0 auto; padding: 0 24px 40px; }

/* Topbar navigation */
.topbar-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.topbar-nav a { color: #5b6b80; text-decoration: none; font-weight: 500; }
.topbar-nav a:hover { color: #173977; }
.topbar-nav .topbar-cta { padding: 8px 14px; border: 1px solid #2153ce; border-radius: 8px; color: #2153ce; }
.topbar-nav .topbar-cta:hover { background: #2153ce; color: #fff; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -1.4px; margin: 0 0 20px; }
.hero .lead { font-size: 17px; line-height: 1.6; color: #5b6b80; max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-hint { margin-top: 20px; }

.primary-btn, .secondary-btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px;
  text-decoration: none; font-weight: 650; font-size: 15px;
}
.primary-btn { background: #2153ce; color: #fff; transition: background .15s; }
.primary-btn:hover { background: #1845b4; }
.secondary-btn { background: #fff; color: #31445f; border: 1px solid #ccd7e5; font-weight: 600; }
.secondary-btn:hover { border-color: #2153ce; color: #2153ce; }

/* Features */
.features { padding: 48px 0 24px; }
.features h2 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 24px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { background: #fff; border: 1px solid #dfe6ee; border-radius: 14px; padding: 22px; }
.feature h3 { font-size: 16px; margin: 0 0 8px; }
.feature p { font-size: 14px; color: #5b6b80; line-height: 1.55; margin: 0; }

/* How */
.how { padding: 32px 0; }
.how h2 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid #e5eaf2; border-radius: 12px; padding: 16px 20px; font-size: 15px; line-height: 1.5; }
.steps li span { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2153ce; color: #fff; font-weight: 700; font-size: 13px; }
.steps li div { flex: 1; }
.steps code { background: #eff3fa; color: #214982; padding: 2px 8px; border-radius: 6px; font-size: 13px; }

/* Download */
.download-section { padding: 32px 0; }
.download-section h2 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 20px; }
.download-card { background: #fff; border: 1px solid #dfe6ee; border-radius: 14px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.download-card h3 { font-size: 18px; margin: 0 0 4px; }
.download-card p { margin: 0; }

/* Contact */
.contact { padding: 32px 0 16px; border-top: 1px solid #e5eaf2; margin-top: 24px; }
.contact h2 { font-size: 22px; letter-spacing: -.4px; margin: 0 0 14px; }
.contact p { font-size: 15px; line-height: 1.6; margin: 6px 0; color: #31445f; }
.contact a { color: #2153ce; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* Footer */
.landing-footer { padding: 24px 0 8px; border-top: 1px solid #e5eaf2; margin-top: 24px; display: flex; justify-content: space-between; gap: 14px; font-size: 12px; color: #6c7c91; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr; }
  .topbar-nav { gap: 12px; font-size: 13px; }
  .topbar-nav a:not(.topbar-cta) { display: none; }
  .download-card { flex-direction: column; align-items: stretch; }
  .landing-footer { flex-direction: column; }
  .landing-main { padding: 0 16px 24px; }
}

/* D5: секция «Безопасность» */
.security{margin:48px 0}
.security-card{padding:20px 24px;border:1px solid #e1e7ef;border-radius:12px;background:#fff}
.security-card p{margin:0;line-height:1.55}
