:root {
  color-scheme: light;
  --ink: #16201b;
  --muted: #5c6861;
  --line: #d9e1dc;
  --paper: #fbfcfb;
  --band: #eef4f1;
  --accent: #176b4d;
  --accent-2: #b63d27;
  --gold: #b7831d;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 251, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 72vh;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 4vw, 56px) 44px;
  background:
    linear-gradient(120deg, rgba(23, 107, 77, 0.1), rgba(182, 61, 39, 0.07)),
    var(--band);
}

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

h1,
h2 {
  max-width: 920px;
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(44px, 8vw, 88px);
}

h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.hero p:not(.eyebrow),
.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.search-box {
  max-width: 620px;
  margin-top: 28px;
}

.search-box input {
  width: 100%;
  height: 56px;
  border: 1px solid #bdcbc4;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 16px;
  background: #fff;
}

.market-snapshot {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 32, 27, 0.08);
}

.market-snapshot strong {
  font-size: 28px;
}

.market-snapshot span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.content-band,
.narrow {
  padding: 56px clamp(18px, 4vw, 56px);
}

.narrow {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.dividend-card,
.article-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dividend-card {
  padding: 18px;
}

.code {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.dividend-card h2,
.article-row h2 {
  font-size: 20px;
  line-height: 1.25;
}

.dividend-card p,
.article-row p {
  color: var(--muted);
  line-height: 1.55;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.stock-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.stock-index a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.stock-index span {
  color: var(--gold);
}

.article-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.article-row {
  padding: 22px;
}

.article-row a,
.back-link {
  color: var(--accent);
  font-weight: 800;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.footer-links a {
  color: var(--accent);
  font-weight: 800;
}

.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .site-header,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

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