:root {
  --ink: #18232f;
  --muted: #607080;
  --line: #d9e0e6;
  --paper: #f7f5ef;
  --white: #fffdfa;
  --green: #1f6f5f;
  --teal: #0e8a8a;
  --gold: #b7812c;
  --red: #a4493d;
  --shadow: 0 22px 70px rgba(23, 35, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(24, 35, 47, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  font-weight: 800;
  background: var(--green);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #41515f;
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 112px;
  padding: 3px;
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-switch button {
  min-height: 32px;
  color: #52616f;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: white;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 6vw, 70px);
  min-height: calc(100vh - 76px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(247, 245, 239, 0.92), rgba(247, 245, 239, 0.58)),
    url("https://images.unsplash.com/photo-1518684079-3c830dcef090?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: #304252;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 253, 250, 0.72);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 22px;
  color: white;
  background: rgba(24, 35, 47, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.hero-panel strong {
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
}

.ticker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(20px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.ticker span {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.muted {
  background: #eef2f1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.subscribe h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.subscribe p {
  color: var(--muted);
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 22px;
}

.brief-meta span {
  padding: 6px 10px;
  color: #435260;
  background: rgba(255, 253, 250, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.lead-story,
.story-list article,
.region-grid article,
.analysis-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-story {
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: white;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lead-story h3 {
  max-width: 700px;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.15;
}

.lead-story p {
  color: #405060;
  font-size: 18px;
}

.lead-story .impact {
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.lead-story a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.story-list {
  display: grid;
  gap: 14px;
}

.story-list article {
  padding: 22px;
}

.story-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.story-list h3,
.region-grid h3,
.analysis-card h3 {
  margin: 8px 0;
  font-size: 21px;
  line-height: 1.25;
}

.story-list p,
.region-grid p,
.analysis-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.lead-story .original-title,
.story-list .original-title {
  margin-top: 12px;
  color: #7a8794;
  font-size: 14px;
  line-height: 1.45;
}

.story-list a {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.no-source {
  display: inline-block;
  margin-top: 12px;
  color: #7a8794;
  font-size: 14px;
  font-weight: 800;
}

.region-grid,
.analysis-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.region-grid article,
.analysis-card {
  padding: 24px;
}

.analysis-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analysis-card .tag {
  background: var(--teal);
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  color: white;
  background: var(--green);
}

.subscribe .eyebrow,
.subscribe p {
  color: rgba(255, 255, 255, 0.78);
}

.subscribe-form {
  display: flex;
  gap: 10px;
}

.subscribe-form input,
.subscribe-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.subscribe-form input {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
}

.subscribe-form button {
  padding: 0 16px;
  color: var(--ink);
  font-weight: 800;
  background: #f0c35b;
  cursor: pointer;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #566575;
  background: #101820;
}

@media (max-width: 940px) {
  .hero,
  .brief-grid,
  .subscribe {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .region-grid,
  .analysis-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 40px;
  }

  .hero-panel,
  .region-grid,
  .analysis-layout {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    flex-direction: column;
  }
}
