:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #68635d;
  --paper: #fff9ee;
  --panel: #ffffff;
  --line: #201d19;
  --cyan: #15b8c8;
  --pink: #ff5a7a;
  --yellow: #f2c94c;
  --green: #35b779;
  --shadow: 0 18px 0 #171717;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

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

a {
  color: inherit;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #000;
  text-decoration-color: var(--cyan);
}

.site-shell,
.post-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topline a {
  color: var(--ink);
  text-decoration: none;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 4px solid var(--line);
  background:
    linear-gradient(90deg, rgba(21, 184, 200, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(242, 201, 76, 0.2) 1px, transparent 1px),
    #fffef8;
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.dek {
  max-width: 620px;
  margin: 20px 0 0;
  color: #332f2a;
  font-size: 1.1rem;
}

.subtitle {
  max-width: 760px;
  margin: -8px 0 24px;
  color: #332f2a;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.signal-board {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
  border: 3px solid var(--line);
  background: var(--ink);
  color: #fffdf4;
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row span:last-child {
  color: var(--yellow);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 56px 0 16px;
  border-bottom: 4px solid var(--line);
}

.section-title h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--line);
}

.post-card time {
  color: var(--muted);
  font-weight: 900;
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.05;
}

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

.fund-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 3px solid var(--line);
  background: #f2fbf7;
  box-shadow: 8px 8px 0 var(--line);
}

.fund-teaser h3 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
}

.oracle-post {
  border: 4px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.post-hero {
  padding: 30px;
  border-bottom: 4px solid var(--line);
  background: #fffef8;
}

.post-hero h1 {
  margin-bottom: 22px;
}

.meme {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border: 3px solid var(--line);
  background: #111;
}

.date-stamp {
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 10px;
  border: 2px solid var(--line);
  background: var(--yellow);
  font-weight: 900;
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0;
}

.post-main {
  padding: 30px;
  border-right: 4px solid var(--line);
}

.post-side {
  padding: 30px;
  background: #f2fbf7;
}

.oracle-post section + section {
  margin-top: 34px;
}

.oracle-post h2 {
  margin: 0 0 14px;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.belief-list,
.headline-list,
.source-list {
  margin: 0;
  padding-left: 1.2rem;
}

.belief-list li,
.headline-list li,
.source-list li {
  margin: 0 0 12px;
}

.headline-list strong {
  background: linear-gradient(transparent 58%, rgba(255, 90, 122, 0.35) 0);
}

.patch-notes {
  padding: 18px;
  border: 3px solid var(--line);
  background: #fffef8;
  box-shadow: 6px 6px 0 var(--line);
}

.version-stamp {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 9px;
  border: 2px solid var(--line);
  background: var(--cyan);
  color: #071013;
  font-size: 0.85rem;
  font-weight: 900;
}

.patch-notes h3 {
  margin: 18px 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.patch-notes h3:first-of-type {
  margin-top: 0;
}

.patch-notes ul {
  margin: 0;
  padding-left: 1.2rem;
}

.patch-notes li {
  margin: 0 0 8px;
}

.prophecy {
  margin: 0;
  padding: 16px;
  border-left: 8px solid var(--pink);
  background: #fff7fb;
  font-size: 1.06rem;
}

.sentiment {
  display: grid;
  gap: 10px;
  margin: 0;
}

.sentiment div {
  padding: 12px;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
}

.sentiment strong {
  color: var(--cyan);
}

.source-list {
  font-size: 0.95rem;
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border-bottom: 4px solid var(--line);
  background: #fffef8;
}

.metric-card {
  padding: 18px;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: 6px 6px 0 var(--line);
}

.metric-card h2,
.chart-card h2 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card p {
  margin: 0;
}

.metric-value {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
}

.confidence-meter {
  height: 22px;
  border: 3px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.confidence-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.chart-card {
  padding: 30px;
  border-bottom: 4px solid var(--line);
  background: #fff;
}

.fund-chart {
  display: block;
  width: 100%;
  border: 3px solid var(--line);
  background: #fff;
}

.holdings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.holdings-table th,
.holdings-table td {
  padding: 10px;
  border: 2px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.holdings-table th {
  background: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-shell,
  .post-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .site-hero,
  .post-card,
  .fund-teaser,
  .fund-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-hero,
  .post-hero,
  .post-main,
  .post-side {
    padding: 20px;
  }

  .post-main {
    border-right: 0;
    border-bottom: 4px solid var(--line);
  }

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

  .oracle-post,
  .site-hero {
    box-shadow: 8px 8px 0 var(--line);
  }
}
