:root {
  --bg: #f4f7fd;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --ink: #17213d;
  --muted: #617094;
  --line: #dbe4f5;
  --primary: #2e67ff;
  --primary-dark: #234cd2;
  --shadow-soft: 0 12px 32px rgba(20, 40, 95, 0.1);
  --shadow-strong: 0 24px 65px rgba(20, 40, 95, 0.18);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: 4.8rem;
}

.bg-shape {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.bg-shape--left {
  width: 360px;
  height: 360px;
  top: -100px;
  left: -120px;
  background: #83a1ff;
}

.bg-shape--right {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 80px;
  background: #9dc4ff;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  padding-top: 1rem;
}

.topbar__inner {
  width: min(1068px, calc(100vw - 34px));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d5e0f3;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: min-height 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-compact .topbar__inner {
  min-height: 66px;
  box-shadow: 0 10px 28px rgba(20, 40, 95, 0.16);
}

.logo {
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  color: #1b2b57;
}

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

.menu {
  display: flex;
  gap: 1.05rem;
}

.menu a {
  color: #314469;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.82rem 1.22rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--small {
  padding: 0.55rem 0.95rem;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.btn--primary {
  background: linear-gradient(130deg, var(--primary), #4f84ff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(46, 103, 255, 0.3);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  margin-top: 2.2rem;
  padding: 4.6rem 3rem 3.2rem;
  border: 1px solid #d9e4f8;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f6ff 0%, #f8faff 100%);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 93, 177, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 93, 177, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 70% 25%, black 35%, transparent 88%);
  z-index: 0;
}

.hero__left,
.hero__right {
  position: relative;
  z-index: 1;
}

.hero__left {
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #4f66a0;
}

h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
  line-height: 1.05;
  color: #1a2341;
  letter-spacing: -0.02em;
}

.hero__text {
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.74;
}

.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-card {
  display: block;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dce6f6;
  border-radius: 20px;
  padding: 1.45rem 1.25rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.hero-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-card p {
  margin: 0.64rem 0 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.hero-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.feature-card {
  padding: 0.8rem;
}

.feature-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.feature-card span {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--primary);
  font-weight: 700;
}

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

.article-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dbe5f5;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.article-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.article-card span {
  display: inline-flex;
  margin: 1rem 1rem 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0.45rem 1rem 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.article-card p {
  margin: 0.65rem 1rem 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-head {
  max-width: 620px;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  line-height: 1.15;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid #dbe5f5;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.inline-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

.thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dbe5f5;
  height: 250px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.thumb span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.thumb:hover img {
  transform: scale(1.04);
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d9e4f8;
  border-radius: 20px;
  background: #f2f6ff;
  padding: 1.2rem 1.25rem;
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.cta-strip p {
  margin: 0.52rem 0 0;
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 1rem;
  color: #6c7b9f;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--primary-dark);
  text-decoration: none;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid #d9e4f8;
  border-radius: 24px;
  background: #f4f8ff;
  padding: 1.4rem;
}

.page-hero img {
  display: block;
  width: 100%;
  border-radius: 16px;
  height: 300px;
  object-fit: cover;
}

.story {
  max-width: 820px;
  margin-top: 2.2rem;
  padding: 1.6rem;
  border: 1px solid #dbe5f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.story p {
  margin: 0;
  color: #46567c;
  font-size: 1.04rem;
  line-height: 1.85;
}

.story p + p {
  margin-top: 1rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.split-feature h2,
.long-read h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.split-feature p,
.long-read p {
  color: #46567c;
  line-height: 1.82;
}

.quote-box {
  border-radius: 20px;
  border: 1px solid #dbe5f5;
  background: linear-gradient(145deg, #ffffff, #edf4ff);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.quote-box strong {
  display: block;
  color: #1c377d;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.long-read {
  border: 1px solid #dbe5f5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem;
}

.long-read p {
  max-width: 920px;
}

.long-read p + p {
  margin-top: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.7rem;
  align-items: center;
}

.about__media {
  min-height: 440px;
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(56, 97, 225, 0.18), rgba(37, 54, 127, 0.12)),
    url("./assets/newsroom.png") center / cover;
  border: 1px solid #cedbf5;
  box-shadow: var(--shadow-soft);
}

.about__content h2 {
  margin: 0.28rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.about__content p {
  color: var(--muted);
  line-height: 1.72;
}

.about__content .btn {
  margin-top: 1.25rem;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  color: #3d4f76;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: linear-gradient(130deg, #3f73ff, #6da1ff);
}

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

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.05rem;
  box-shadow: var(--shadow-soft);
}

.metric span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #1c377d;
}

.metric p {
  margin: 0.54rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  margin-top: 1.5rem;
  border-top: 1px solid #d7e2f3;
  background: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  color: #66738f;
}

.footer__brand p {
  margin: 0.55rem 0 0;
  max-width: 420px;
  color: var(--muted);
}

.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.footer__cta a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer__cta span {
  color: #7181a3;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .about,
  .metrics,
  .image-grid,
  .news-grid,
  .page-hero,
  .split-feature,
  .content-grid,
  .service-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .hero,
  .about,
  .metrics,
  .image-grid,
  .news-grid,
  .page-hero,
  .split-feature,
  .content-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 3.2rem 1.25rem 2.2rem;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__cta {
    align-items: flex-start;
  }
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 940px) {
  .menu,
  .btn--small {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
}
