.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-header {
  display: flex;
  flex-direction: column;
}

.banner-header {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  background: linear-gradient(180deg, #1d4f91 0%, #173f75 100%);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(17, 45, 89, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
}


.brand-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-copy h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand-sub-text {
  display: inline-block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 12;
}

.header-actions .primary-btn,
.banner-action-row .primary-btn,
.shortcut-card {
  position: relative;
  z-index: 13;
  pointer-events: auto;
}

.outline-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-link-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.header-link-btn::after {
  content: ">";
  margin-left: 6px;
}

.header-top-row .primary-btn {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-deep);
}

.header-link-btn:hover,
.header-top-row .primary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn.small {
  min-width: 96px;
  line-height: 1;
}

.header-top-row .primary-btn,
.banner-action-row .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  background: #f7f9fc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--line);
}

.main-nav a {
  position: relative;
  padding: 14px 18px;
  color: #31435d;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.main-nav a:hover {
  color: #31527b;
  background: #eef4fb;
}

.main-nav a:hover::after {
  background: var(--primary);
}
