:root {
  --bg: #0a0c0f;
  --bg-elev: #12161c;
  --bg-card: #161b22;
  --bg-quiet: #10141a;
  --line: #2a313c;
  --line-soft: #1e242c;
  --gold: #c4a46a;
  --gold-dim: #8d7348;
  --ink: #ece7dc;
  --ink-soft: #b7b0a3;
  --muted: #7d776c;
  --up: #d4785a;
  --heat: #e08a4a;
  --ok: #8aa37a;
  --warn: #c9a36a;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 164, 106, 0.07), transparent 50%),
    linear-gradient(180deg, #0c0f13 0%, #0a0c0f 40%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 36px 56px;
}

header.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

h1 {
  font-family: "Newsreader", "Times New Roman", serif;
  font-weight: 500;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 6px 0 8px;
}

.sub {
  color: var(--ink-soft);
  font-size: 14px;
}

.stamp {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.stamp strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 20px 22px 18px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-family: "Newsreader", serif;
  font-size: 20px;
  font-weight: 500;
  margin: 4px 0 14px;
}

.meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.yield-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 8px 0 6px;
}

.big {
  font-family: "Newsreader", serif;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.chg {
  font-size: 18px;
  color: var(--up);
  font-weight: 500;
}

.note { color: var(--ink-soft); font-size: 13px; margin-top: 6px; }
.cite { color: var(--muted); font-size: 12px; margin-top: 10px; }
.cite a { color: var(--gold-dim); border-bottom: 1px solid transparent; }
.cite a:hover { border-bottom-color: var(--gold); color: var(--gold); }

.wx-now {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.wx-temp {
  font-family: "Newsreader", serif;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.badge {
  display: inline-block;
  border: 1px solid var(--heat);
  color: var(--heat);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.forecast {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.day {
  background: var(--bg-quiet);
  padding: 8px 8px 10px;
  border: 1px solid var(--line-soft);
}

.day .d { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.day .h { font-size: 16px; margin-top: 4px; }
.day .l { color: var(--muted); font-size: 12px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.feed { list-style: none; }
.feed li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.feed li:last-child { border-bottom: 0; }

.feed a.title {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.35;
}
.feed a.title:hover { color: var(--gold); }

.src {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rates-news { margin-top: 16px; padding-top: 4px; }

.wp {
  margin-top: 8px;
  border: 1px solid #3a3224;
  background:
    linear-gradient(180deg, rgba(196,164,106,0.06), transparent 80px),
    var(--bg-card);
}

.wp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #3a3224;
  margin-bottom: 16px;
}

.wp-head h2 { margin: 4px 0 0; }
.offline {
  color: var(--warn);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1.25fr;
  gap: 22px;
}

.wp h3 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

.wp ol, .wp ul { padding-left: 18px; }
.wp li { margin: 0 0 9px; color: var(--ink-soft); font-size: 13.5px; }
.wp li strong { color: var(--ink); font-weight: 550; }

.cal-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.cal-item:last-child { border-bottom: 0; }
.cal-when { color: var(--gold); font-size: 12px; letter-spacing: 0.04em; }
.cal-what { color: var(--ink-soft); }

.proj {
  padding: 8px 0 9px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.proj:last-child { border-bottom: 0; }
.proj .name { color: var(--ink); font-weight: 550; }
.proj.quiet { opacity: 0.55; }
.proj .tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 1px 6px;
  margin-left: 6px;
}

.disclaimer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
footer a { color: var(--gold-dim); }
footer a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .hero, .grid-2, .wp-grid { grid-template-columns: 1fr; }
  header.mast { grid-template-columns: 1fr; }
  .stamp { text-align: left; }
  .forecast { grid-template-columns: repeat(3, 1fr); }
  h1 { font-size: 34px; }
  .big, .wx-temp { font-size: 52px; }
}
