:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #edf2f8;
  --text: #172033;
  --muted: #4d5a6b;
  --border: #d5deea;
  --primary: #1c335a;
  --primary-hover: #102849;
  --accent: #e96f1f;
  --shadow: 0 10px 30px rgba(18, 36, 63, 0.08);
}
* { box-sizing: border-box; }
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}
a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 251, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.site-header nav { min-width: 0; }
.site-header nav ul,
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.nav-list li { margin: 0; padding: 0; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav-list a:hover { color: var(--primary); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 56px);
  padding-block: 64px 52px;
  align-items: center;
}
.hero-copy,
.hero-media {
  min-width: 0;
}
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; }
.hero-subtitle { margin: 18px 0 0; max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn-secondary:hover { border-color: #afbdd3; box-shadow: var(--shadow); }
.site-header .btn { flex: 0 0 auto; }
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(150deg, #0f1d34, #091221);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(10, 19, 33, 0.25);
}
.hero-media img {
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
}
.section { padding-block: 34px 58px; }
h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.tool-grid, .trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card, .trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px; box-shadow: var(--shadow); }
.card { display: flex; flex-direction: column; align-items: flex-start; }
.card h3, .trust-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p, .trust-card p { margin: 0; color: var(--muted); }
.card ul { margin: 14px 0 18px; padding-left: 20px; color: #243247; }
.card .btn { margin-top: auto; }
.preview-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.72;
}
.preview-link:hover {
  color: var(--primary);
  opacity: 1;
}
.section-soft { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-text { max-width: 78ch; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0 36px; background: #f8fbff; }
.footer-grid { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.footer-grid p { margin: 0; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .nav-list { gap: 12px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-media { max-width: 620px; justify-self: center; }
  .tool-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .header-inner { align-items: flex-start; }
  .site-header nav { order: 3; width: 100%; }
  .nav-list { width: 100%; justify-content: flex-start; }
  .hero { padding-block: 34px 42px; }
  .hero-actions,
  .hero-actions .btn,
  .card .btn {
    width: 100%;
  }
}
