:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #10231b;
  --muted: #65736d;
  --soft: #87918d;
  --line: #e5ebe8;
  --green: #009e4d;
  --green-strong: #007a3d;
  --green-deep: #063d2a;
  --green-soft: #e9f8f0;
  --red: #f04438;
  --gold: #f5a524;
  --shadow: 0 18px 48px rgba(16, 35, 27, 0.08);
  --shadow-soft: 0 10px 28px rgba(16, 35, 27, 0.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 158, 77, 0.32);
  outline-offset: 3px;
}

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

.page-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: clamp(0px, 3vw, 48px) auto 0;
  max-width: 1810px;
  min-height: 100vh;
}

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

.brand {
  align-items: center;
  display: inline-flex;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

.brand img {
  border-radius: 10px;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.brand strong {
  color: var(--green-deep);
}

.button {
  align-items: center;
  background: linear-gradient(180deg, #08b960 0%, var(--green) 100%);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 158, 77, 0.2);
  color: #ffffff;
  display: inline-flex;
  font-weight: 850;
  gap: 12px;
  justify-content: center;
}

main {
  padding-bottom: 56px;
}

.layout {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  padding: 22px clamp(18px, 4vw, 56px) 0;
}

.content-column {
  min-width: 0;
}

.hero {
  background: var(--green-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(430px, 1fr);
  margin-bottom: 30px;
  min-height: 495px;
  overflow: hidden;
}

.hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-copy {
  align-self: stretch;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 158, 77, 0.2), transparent 34%),
    linear-gradient(135deg, #063d2a 0%, #052a20 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px) clamp(24px, 5vw, 44px);
}

.eyebrow {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #10c970;
}

.badge {
  background: rgba(0, 158, 77, 0.82);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 10px;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 560px;
}

.meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.94rem;
  font-weight: 650;
  gap: 10px;
}

.meta span + span::before {
  color: var(--soft);
  content: "•";
  margin-right: 10px;
}

.hero-copy .meta {
  color: rgba(255, 255, 255, 0.74);
}

.button {
  font-size: 1rem;
  margin-top: 24px;
  min-height: 50px;
  padding: 0 24px;
  width: fit-content;
}

.section-title {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title h2,
.rail-card h2 {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin: 0;
}

.section-title h2 {
  align-items: center;
  display: flex;
  gap: 12px;
}

.section-title h2::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 24px;
  width: 5px;
}

.section-title a,
.rail-heading a {
  color: #4a5852;
  font-weight: 750;
}

.story-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.rail-card,
.article-view {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.story-card {
  overflow: hidden;
}

.story-card img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.story-card > div {
  padding: 18px 20px 20px;
}

.story-card h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.24;
  margin-bottom: 10px;
}

.story-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.48;
  margin-bottom: 18px;
}

.card-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.rail {
  display: grid;
  gap: 20px;
  height: fit-content;
}

.rail-card {
  padding: clamp(20px, 2.4vw, 28px);
}

.play-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #063d2a 0%, #05251d 100%);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  color: #ffffff;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
}

.play-board {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 190px;
  overflow: hidden;
  width: 100%;
}

.play-board span {
  align-items: center;
  background: #fbfdfc;
  border-bottom: 1px solid #cdd8d2;
  border-right: 1px solid #cdd8d2;
  color: var(--green-deep);
  display: flex;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
  justify-content: center;
}

.play-board span:nth-child(4n) {
  border-right: 0;
}

.play-board span:nth-child(n + 13) {
  border-bottom: 0;
}

.play-board span:nth-child(2),
.play-board span:nth-child(4),
.play-board span:nth-child(5),
.play-board span:nth-child(7),
.play-board span:nth-child(10),
.play-board span:nth-child(11),
.play-board span:nth-child(13),
.play-board span:nth-child(15) {
  background: var(--green-soft);
}

.play-copy .eyebrow {
  color: #10c970;
}

.play-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.play-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
  margin-bottom: 20px;
}

.play-button {
  min-height: 48px;
  padding: 0 18px;
  width: 100%;
}

.rail-heading {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rail-heading > span {
  color: var(--muted);
  font-weight: 700;
}

.brief-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 18px 0;
}

.brief-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.brief-item > span {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.brief-item a {
  display: block;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.3;
  margin-bottom: 8px;
}

.brief-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  padding: 28px clamp(18px, 4vw, 56px) 0;
}

.article-view {
  padding: clamp(22px, 5vw, 52px);
}

.article-view img {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin: 22px 0;
  object-fit: cover;
  width: 100%;
}

.article-view > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}

.article-body {
  color: #27342f;
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 780px;
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: 28px;
}

.article-related {
  display: block;
  position: sticky;
  top: 94px;
}

.related-list {
  display: grid;
  gap: 16px;
}

.related-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding-top: 16px;
}

.related-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.related-item img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.related-item strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.related-item small {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-message {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  margin: 28px clamp(18px, 4vw, 56px) 0;
  padding: clamp(22px, 5vw, 52px);
}

.status-message h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 12px;
}

.status-message p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 1fr;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-related {
    position: static;
  }

  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .story-grid,
  .rail,
  .related-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero img {
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 620px) {
  .page-shell {
    border-left: 0;
    border-right: 0;
  }

  .site-header {
    gap: 14px;
  }

  .brand img {
    height: 38px;
    width: 38px;
  }

  .layout {
    padding-top: 16px;
  }

  .hero-copy {
    padding: 24px 20px 28px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

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