:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #163d7a;
  --primary-light: #2a5fb8;
  --accent: #d9e7ff;
  --border: #e5e7eb;
  --shadow: 0 16px 40px rgba(22, 61, 122, 0.08);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.logo strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo small {
  color: var(--muted);
  font-size: 0.82rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
  background: var(--accent);
  color: var(--primary);
}

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(42, 95, 184, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff, #f4f7fb);
}

.small-hero {
  padding: 80px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
}

.btn-secondary:hover {
  background: #f9fbff;
}

.hero-card,
.card,
.journal-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card h3 {
  font-size: 1.5rem;
  margin: 12px 0 12px;
}

.hero-card p {
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 7px 12px;
  background: #eef4ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.reg-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbe8ff;
}

.reg-box span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.reg-box strong {
  color: var(--primary);
  font-size: 1.15rem;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
}

.section-title {
  margin-bottom: 34px;
}

.section-title span {
  display: inline-block;
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section-title h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 28px;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary-light);
  font-size: 1.2rem;
}

.soft {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.journal-box {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.journal-text {
  color: var(--muted);
  margin-bottom: 10px;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.contact-card,
.contact-side {
  padding: 32px;
}

.subtitle {
  color: var(--muted);
  margin: 6px 0 24px;
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item strong a {
  color: var(--primary);
}

.info-box {
  margin: 20px 0;
  padding: 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbe8ff;
}

.info-box span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.9);
  padding: 34px 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
}

.site-footer h4 {
  margin-bottom: 10px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards.three,
  .cards.two,
  .contact-layout,
  .footer-grid,
  .journal-box {
    grid-template-columns: 1fr;
  }

  .journal-box {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }
}