:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --ink: #102038;
  --muted: #4c5f7c;
  --line: #d6dfee;
  --accent: #0f4c81;
  --accent-strong: #0b355a;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 5% 10%, #dbe8f8 0%, rgba(219, 232, 248, 0) 35%),
              radial-gradient(circle at 95% 15%, #e8eef8 0%, rgba(232, 238, 248, 0) 35%),
              linear-gradient(180deg, #f7faff 0%, #f1f5fc 100%),
              var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.35;
}

.orb-a {
  top: -120px;
  left: -80px;
  background: #a9c2e5;
}

.orb-b {
  right: -120px;
  bottom: -110px;
  background: #c7d4ea;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background-color: rgba(243, 246, 251, 0.86);
  border-bottom: 1px solid rgba(211, 219, 232, 0.72);
  padding: 0.45rem 0;
}

.site-header .container {
  width: min(1000px, 92%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 76, 129, 0.25), transparent);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 76px;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 27, 45, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
  text-decoration: none;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.brand-logo {
  width: 210px;
  height: 84px;
  display: block;
  object-fit: contain;
  transform: scale(1.22);
  transform-origin: left center;
  border-radius: 0;
  box-shadow: none;
}

.main-nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: #f4f8ff;
  border: 1px solid #d7e2f1;
  justify-self: center;
}

.main-nav a {
  text-decoration: none;
  color: #1a3b63;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  background: #e1ebf9;
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: #f4f8ff;
  border: 1px solid #d7e2f1;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 27, 45, 0.12);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.btn-ghost {
  border-color: transparent;
  color: #1a3b63;
  background: transparent;
}

.btn.primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}

.nav-actions .btn {
  padding: 0.45rem 0.88rem;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: clamp(2rem, 4vw, 3.7rem) 0 clamp(1.25rem, 2vw, 2.1rem);
  align-items: stretch;
  justify-items: center;
}

.hero-copy {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d7e2f1;
  border-radius: 20px;
  padding: 1.55rem;
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.09);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f74af, #0f4c81);
}

.eyebrow {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #315f97;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Fraunces", Georgia, serif;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.2rem 0 2.2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  border: 1px solid #d7e1f0;
  border-radius: var(--radius);
  padding: 1.2rem;
  min-height: 220px;
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  margin-top: auto;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 27, 45, 0.13);
  border-color: #b8cbe6;
}

.article,
.trend {
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.8rem, 3vw, 2.4rem);
}

.article-box,
.trend-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%;
  max-width: none;
  padding: 1.55rem;
  margin-inline: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #cfd9e8;
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.4), rgba(246, 250, 255, 0.85));
}

.footer-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  text-align: center;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
  line-height: 1.25;
}

@media (max-width: 960px) {
  .main-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    border-radius: 14px;
  }

  .nav-wrap {
    display: flex;
    border-radius: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .hero {
    padding-top: 2rem;
  }
}

@media (max-width: 540px) {
  .brand {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }

  .brand-logo {
    width: 176px;
    height: 70px;
    transform-origin: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .grid {
    gap: 0.8rem;
  }

  .hero,
  .article,
  .trend {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy {
    padding: 1.1rem;
  }
}
