:root {
  --ink: #132238;
  --muted: #526071;
  --line: #cfd8de;
  --paper: #f4f7f7;
  --panel: #ffffff;
  --navy: #10243e;
  --teal: #08746c;
  --teal-soft: #deeeeb;
  --focus: #b85d12;
}

html {
  scroll-padding-top: 96px;
}

body {
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  gap: 20px;
  border-color: rgba(16, 36, 62, 0.16);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 0;
  background: transparent;
}

.brand strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-econ {
  color: #087f78;
}

.brand em {
  margin-top: 3px;
  color: #536476;
  font-size: 0.72rem;
  font-weight: 600;
}

.top-nav {
  justify-content: flex-end;
}

.top-nav a {
  border-radius: 3px;
  padding: 8px 9px;
  color: #34465b;
}

.top-nav a:hover {
  background: var(--teal-soft);
  color: #075d57;
}

.site-search {
  display: flex;
  width: min(250px, 22vw);
  border-bottom: 2px solid var(--navy);
}

.site-search input,
.topic-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.site-search input {
  width: 100%;
  padding: 8px 5px;
  font-size: 0.86rem;
}

.site-search input::placeholder,
.topic-search input::placeholder {
  color: #5e6a78;
  opacity: 1;
}

.site-search button,
.topic-search button {
  flex: 0 0 auto;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.site-search button {
  padding: 5px 9px;
  font-size: 0.82rem;
}

.hero-note,
.article-intent,
.brand-story-label {
  margin: 0;
  color: #096860;
  font-size: 0.82rem;
  font-weight: 800;
}

.econ-home,
.econ-topic-page,
.topics-page,
.econ-article-page,
.static-page {
  background: var(--paper);
}

.econ-desk {
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 36px auto 0;
  border-top: 6px solid var(--teal);
  border-bottom-color: #aebbc4;
  background: #fff;
}

.econ-desk .hero-copy {
  padding: clamp(42px, 6vw, 76px);
}

.econ-desk h1 {
  max-width: 14ch;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.econ-desk .lead {
  max-width: 39rem;
  color: #415064;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.hero-actions {
  align-items: center;
  gap: 18px;
}

.button {
  border-radius: 3px;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
}

.text-link {
  color: #075f59;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.econ-desk .hero-feature {
  border-left-color: #aebbc4;
  background: #e7f0ef;
}

.econ-desk .hero-feature-copy > span {
  color: #075f59;
}

.question-paths {
  display: grid;
  grid-template-columns: minmax(220px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(36px, 7vw, 92px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.question-paths-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.2;
}

.question-paths-intro p {
  margin: 14px 0 0;
  color: var(--muted);
}

.question-list {
  border-top: 3px solid var(--navy);
}

.question-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  min-height: 70px;
  padding: 18px 4px;
  border-bottom: 1px solid #aebbc4;
}

.question-list a:hover strong,
.question-list a:focus-visible strong {
  color: var(--teal);
}

.question-list strong {
  color: var(--navy);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.4;
}

.question-list span {
  color: #526071;
  font-size: 0.82rem;
  white-space: nowrap;
}

.econ-briefing-board {
  padding-block: clamp(62px, 8vw, 96px);
  background: #fff;
}

.econ-briefing-board .section-heading {
  border-bottom-color: var(--teal);
}

.market-meta time {
  color: #536171;
  font-variant-numeric: tabular-nums;
}

.brand-story {
  align-items: start;
  max-width: 1120px;
  border-top-color: var(--teal);
}

.brand-story h2 {
  color: var(--navy);
}

.brand-story-copy .text-link {
  display: inline-block;
  margin-top: 24px;
}

.econ-topic-index .home-topic-list,
.econ-directory {
  border-top-color: var(--teal);
}

.home-topic-list a strong::after,
.section-card strong::after {
  margin-left: 8px;
  color: var(--teal);
  content: "→";
}

.econ-topic-masthead {
  width: calc(100% - 48px);
  border-top-color: var(--teal);
  background: #fff;
}

.econ-topic-masthead h1 {
  color: var(--navy);
}

.econ-topic-masthead img {
  filter: saturate(0.78) contrast(0.98);
}

.topic-search-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 82px) 24px 18px;
}

.topic-search-wrap h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.topic-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 2px solid var(--navy);
  background: #fff;
}

.topic-search input {
  min-height: 58px;
  padding: 0 18px;
}

.topic-search button {
  min-width: 88px;
  padding: 0 20px;
  background: var(--teal);
}

.search-results {
  padding-top: 34px;
  padding-bottom: 62px;
}

.search-result-list {
  border-top: 3px solid var(--navy);
}

.search-result-list a {
  display: grid;
  grid-template-columns: 130px minmax(200px, 0.8fr) minmax(260px, 1.2fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid #aebbc4;
}

.search-result-list span {
  color: #087069;
  font-size: 0.82rem;
  font-weight: 800;
}

.search-result-list strong {
  color: var(--navy);
  line-height: 1.45;
}

.search-result-list p,
.empty-search {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-search {
  padding: 28px 4px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid #aebbc4;
}

.econ-directory .section-card {
  grid-template-columns: 126px minmax(0, 1fr);
}

.econ-directory .section-card::before {
  display: none;
}

.econ-directory .section-card img {
  filter: saturate(0.68);
}

.econ-article-catalogue {
  display: block;
  border-top: 3px solid var(--navy);
}

.econ-article-catalogue .article-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #aebbc4;
  background: transparent;
}

.econ-article-catalogue .article-diagram {
  align-self: center;
  margin: 18px 0;
}

.econ-article-catalogue .article-card-copy {
  align-self: center;
  padding: 26px clamp(20px, 4vw, 42px);
}

.econ-article-catalogue .article-card h3 {
  color: var(--navy);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.econ-article-catalogue .article-card p {
  max-width: 66ch;
}

.econ-article-masthead {
  border-top-color: var(--teal);
}

.econ-article-masthead h1 {
  color: var(--navy);
}

.article-intent {
  margin-top: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: #536171;
  font-variant-numeric: tabular-nums;
}

.econ-reading-layout .article-body {
  border-radius: 0;
  box-shadow: none;
}

.article-opening {
  color: #24364c;
  font-size: 1.08rem;
}

.article-answer {
  border: 0;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid #aebbc4;
  background: #edf6f4;
}

.article-answer strong {
  color: #075f59;
}

.body-block,
.prose-flow > p {
  max-width: 70ch;
}

.body-topic strong {
  color: var(--navy);
}

.side-box {
  border-top: 3px solid var(--navy);
  border-right: 0;
  border-bottom: 1px solid #aebbc4;
  border-left: 0;
  background: transparent;
}

.side-box .eyebrow {
  display: none;
}

.static-page-hero {
  display: block;
  max-width: 1040px;
  margin-top: 34px;
  border-top: 6px solid var(--teal);
  border-bottom: 1px solid #aebbc4;
  padding: clamp(44px, 7vw, 76px);
  background: #fff;
}

.static-page-hero > div {
  max-width: 760px;
}

.static-page > .section-wrap {
  max-width: 900px;
  padding-top: 56px;
  padding-bottom: 88px;
}

.static-page > .section-wrap > section {
  display: grid;
  grid-template-columns: minmax(190px, 0.5fr) minmax(0, 1.5fr);
  gap: 34px;
  margin: 0;
  padding: 26px 0;
  border-top: 1px solid #aebbc4;
}

.static-page > .section-wrap > section h2 {
  margin: 0;
  font-size: 1.16rem;
}

.static-page > .section-wrap > section p {
  margin: 0 0 12px;
}

.site-footer {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  padding: 54px max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: #fff;
}

.site-footer p,
.site-footer nav a {
  color: #cfdae5;
}

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

.site-footer .site-footer__legal {
  border-color: #40566d;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .top-nav {
    display: none;
  }

  .site-search {
    justify-self: end;
    width: min(300px, 42vw);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 12px 18px;
  }

  .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .question-paths,
  .static-page > .section-wrap > section {
    grid-template-columns: 1fr;
  }

  .question-paths {
    gap: 28px;
  }

  .search-result-list a {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .econ-article-catalogue .article-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .econ-desk,
  .econ-topic-masthead {
    width: calc(100% - 28px);
  }

  .econ-desk h1 {
    font-size: clamp(2.2rem, 11.5vw, 3.15rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .question-list a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .econ-article-catalogue .article-card {
    display: block;
  }

  .econ-article-catalogue .article-diagram {
    margin: 16px 0 0;
  }

  .econ-article-catalogue .article-card-copy {
    padding: 20px 0 26px;
  }

  .topic-search-wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .topic-search input {
    min-height: 54px;
    padding: 0 12px;
  }

  .topic-search button {
    min-width: 72px;
    padding: 0 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
