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

:root {
  --primary:      #1a3caa;
  --primary-dark: #132d82;
  --text:         #111827;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --bg:           #f5f5f5;
  --card-bg:      #ffffff;
  --radius:       10px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  padding: 14px 32px;
  height: 89px;
  border-bottom: 1px solid var(--border);
}

.site-header a.logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.site-header img.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.site-header .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.01em;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 48px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  max-width: 560px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
}

/* ── Search bar ──────────────────────────────────────────────────────────────── */
.search-box {
  margin-top: 36px;
  width: 100%;
  max-width: 560px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0 20px;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.search-input-wrap svg {
  flex-shrink: 0;
  color: var(--muted);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 14px 0;
  background: transparent;
  color: var(--text);
}

.search-input-wrap input::placeholder { color: #9ca3af; }

.search-btn {
  margin-top: 16px;
  display: block;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding: 13px 0;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .15s;
}

.search-btn:hover { background: var(--primary-dark); }

/* ── Features strip ──────────────────────────────────────────────────────────── */
.features {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 48px 20px 64px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: #e8eeff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg { color: var(--primary); }

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: var(--primary); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .features { gap: 32px; }
  .site-header { padding: 12px 20px; }
}
