:root {
  --ink: #16251f;
  --muted: #53675f;
  --paper: #f6f1e7;
  --card: #fffdf8;
  --line: rgba(22, 37, 31, 0.16);
  --green: #0b5b45;
  --green-pale: #dfeeda;
  --orange: #e7683e;
  --orange-pale: #f9d7c5;
  --yellow: #f3ca64;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Newsreader", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(11, 91, 69, 0.055), transparent 23rem),
    radial-gradient(circle at 90% 55%, rgba(231, 104, 62, 0.05), transparent 19rem),
    var(--paper);
  font-family: var(--sans);
}

a {
  color: inherit;
}

header,
main,
footer {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.brand,
.status-pill,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font-family: var(--serif);
  font-size: 20px;
}

.status-pill {
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.66);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.status-dot-good {
  background: var(--green);
}

.status-dot-bad {
  background: var(--orange);
}

.intro {
  max-width: 720px;
  padding: 66px 0 30px;
}

.eyebrow,
.advice span,
.signals article span,
.updated {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 11px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.06em;
}

h1 {
  font-size: clamp(66px, 9vw, 102px);
  line-height: 0.89;
}

h2 {
  font-size: 35px;
  line-height: 0.98;
}

.intro > p:last-child {
  max-width: 650px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.forecast-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 55px rgba(22, 37, 31, 0.08);
}

.score-block {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 34px;
  align-items: center;
}

.gauge {
  --score: 0;
  display: grid;
  width: 258px;
  height: 258px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--card) 70%, transparent 71% 99%),
    conic-gradient(var(--orange) calc(var(--score) * 1%), rgba(22, 37, 31, 0.08) 0);
}

.gauge span {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-size: 111px;
  font-weight: 600;
  letter-spacing: -0.12em;
}

.gauge small {
  grid-area: 1 / 1;
  margin: 69px 0 0 108px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 14px;
}

.summary {
  max-width: 550px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.advice {
  margin-top: 20px;
  padding: 15px 17px;
  border-radius: 13px;
  background: var(--green-pale);
}

.advice span,
.advice strong {
  display: block;
}

.advice strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.button {
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.button-primary {
  color: var(--paper);
  background: var(--green);
}

.button-primary:hover {
  color: var(--paper);
  background: #074936;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.signals,
.pattern {
  margin-top: 74px;
}

.section-title {
  display: flex;
  gap: 22px;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-title p {
  margin: 0;
}

.section-title > p:last-child {
  max-width: 530px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.signal-grid article {
  min-height: 160px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.56);
}

.signal-grid strong {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.signal-grid b {
  color: var(--orange);
  font-size: 44px;
  font-weight: 600;
  line-height: 0.5;
}

.signal-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chip {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip-positive {
  color: var(--green);
}

.chip-negative {
  color: var(--orange);
}

.pattern {
  padding: 26px;
  border-radius: 18px;
  color: var(--paper);
  background: var(--green);
}

.pattern .eyebrow {
  color: var(--yellow);
}

.pattern h2 {
  max-width: 800px;
  font-size: clamp(41px, 5vw, 58px);
}

.pattern-copy {
  max-width: 780px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(223, 238, 218, 0.25);
  color: rgba(246, 241, 231, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.source-links a {
  color: var(--green-pale);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.source-links a:hover {
  color: var(--yellow);
}

footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: uppercase;
}

.footer-credit {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.forward-future-link {
  display: flex;
  width: 154px;
  height: 22px;
  overflow: hidden;
  align-items: center;
  text-decoration: none;
}

.forward-future-logo {
  flex: 0 0 auto;
  display: block;
  width: 160px;
  height: auto;
  margin-left: -23px;
  max-width: none;
}

.footer-credit span {
  flex: 0 0 auto;
  color: var(--green);
}

@media (max-width: 660px) {
  header,
  main,
  footer {
    width: min(100% - 28px, 980px);
  }

  .brand strong {
    font-size: 10px;
  }

  .intro {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(65px, 21vw, 92px);
  }

  .score-block {
    grid-template-columns: 1fr;
  }

  .gauge {
    width: 214px;
    height: 214px;
  }

  .gauge span {
    font-size: 93px;
  }

  .gauge small {
    margin: 59px 0 0 91px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    display: block;
  }

  .section-title > p:last-child {
    margin-top: 7px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid article {
    min-height: 0;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
  }

  footer > span {
    margin-top: 7px;
  }
}
