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

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI",
    system-ui, sans-serif;
  background: #f5f7fb;
  color: #1f2933;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.c-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.c-topbar {
  background: #0f4fb8;
  color: #ffffff;
  font-size: 0.82rem;
}

.c-topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.c-topbar__item {
  opacity: 0.9;
}

.c-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e4ea;
}

.c-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.c-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.c-logo__mark {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f4fb8;
  letter-spacing: 0.08em;
}

.c-logo__caption {
  font-size: 0.78rem;
  color: #6b727c;
}

.c-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.c-nav__link {
  position: relative;
  text-decoration: none;
  padding: 6px 0;
  color: #3e4c59;
}

.c-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #0f4fb8;
  border-radius: 999px;
  transition: width 0.18s ease;
}

.c-nav__link:hover {
  color: #0f4fb8;
}

.c-nav__link:hover::after,
.c-nav__link--active::after {
  width: 100%;
}

.c-main {
  flex: 1 0 auto;
}

.c-hero {
  background: #ffffff;
}

.c-hero__visual {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
}

.c-hero__img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.c-hero__overlay {
  position: absolute;
  left: 7%;
  bottom: 12%;
  padding: 14px 18px;
  background: rgba(15, 19, 32, 0.72);
  color: #ffffff;
  border-radius: 4px;
}

.c-hero__title {
  margin: 0 0 4px;
  font-size: 1.4rem;
}

.c-hero__subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.c-hero__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: #616e7c;
}

.c-hero__kicker {
  color: #0f4fb8;
  font-weight: 600;
}

.c-section {
  padding: 28px 0 34px;
}

.c-section--white {
  background: #ffffff;
}

.c-section--muted {
  background: #f5f7fb;
}

.c-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.c-section__head {
  text-align: center;
  margin-bottom: 18px;
}

.c-section__title {
  margin: 0 0 4px;
  font-size: 1.3rem;
  color: #102a43;
}

.c-section__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6b727c;
}

.c-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.c-card {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e1e4ea;
  padding: 12px 12px 14px;
}

.c-card__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #102a43;
}

.c-card__title a {
  text-decoration: none;
  color: inherit;
}

.c-card__title a:hover {
  color: #0f4fb8;
}

.c-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #616e7c;
  line-height: 1.8;
}

.c-footer {
  background: #ffffff;
  border-top: 1px solid #e1e4ea;
}

.c-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  font-size: 0.8rem;
  color: #7b8794;
}

.c-footer__line + .c-footer__line {
  margin-top: 4px;
}

/* sub pages */

.c-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.c-page-main {
  flex: 1 0 auto;
}

.c-page-hero {
  background: #ffffff;
  border-bottom: 1px solid #e1e4ea;
  padding: 24px 0 18px;
}

.c-page-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.c-page-hero__title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: #102a43;
}

.c-page-hero__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #6b727c;
  max-width: 760px;
  line-height: 1.8;
}

.c-page-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 34px;
}

.c-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.c-article {
  max-width: 820px;
}

.c-article__img {
  border-radius: 4px;
  border: 1px solid #e1e4ea;
  margin-bottom: 12px;
}

.c-article__p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: #425466;
  line-height: 1.9;
}

.c-article__p strong {
  color: #0f4fb8;
}

.c-back-home {
  margin-top: 16px;
  font-size: 0.82rem;
}

.c-back-home a {
  color: #0f4fb8;
  text-decoration: none;
}

.c-back-home a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .c-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .c-nav {
    justify-content: center;
  }

  .c-hero__overlay {
    left: 6%;
    right: 6%;
  }

  .c-grid,
  .c-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .c-topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .c-hero__img {
    max-height: 260px;
  }

  .c-hero__overlay {
    bottom: 6%;
    padding: 10px 12px;
  }

  .c-section__inner,
  .c-page-hero__inner,
  .c-page-body {
    padding-inline: 12px;
  }

  .c-grid,
  .c-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

