:root {
  color-scheme: light;
  --brand-primary: #003D33;
  --brand-secondary: #074553;
  --brand-accent: #008E5A;
  --brand-accent-strong: #00B874;
  --brand-deep: #00594B;
  --brand-blue: #10697D;
  --text: #121212;
  --muted: #5f6f6b;
  --line: #dfe8e5;
  --surface: #ffffff;
  --surface-soft: #f4f8f6;
  --shadow: 0 20px 50px rgb(0 61 51 / 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--text);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  min-height: 430px;
  background-image:
    linear-gradient(90deg, rgb(0 61 51 / 0.95), rgb(0 89 75 / 0.80)),
    url("https://fibointercon.com/wp-content/uploads/2025/05/F1200-IMG_7868.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.hero-inner,
.content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 88px;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.36);
  border-radius: 8px;
  background: rgb(0 184 116 / 0.18);
  color: #ffffff;
  font-size: 20px;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill,
.area-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.status-pill {
  border: 1px solid rgb(255 255 255 / 0.28);
  padding: 8px 12px;
  background: rgb(255 255 255 / 0.12);
}

.hero-copy {
  max-width: 760px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8ff2c8;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 3.125rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 0.86);
  font-size: 1.125rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.stat {
  min-width: 138px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgb(0 61 51 / 0.38);
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
}

.stat-label {
  display: block;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.8125rem;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin-top: -54px;
  padding-bottom: 72px;
}

.release-list {
  display: grid;
  gap: 18px;
}

.release-card,
.index-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.release-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
}

.release-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.version {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 900;
}

.date {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.area-chip {
  padding: 7px 10px;
  background: #e7f6ef;
  color: var(--brand-deep);
}

.release-body h2 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.summary {
  margin: 10px 0 18px;
  color: #3e514d;
  font-size: 1rem;
}

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

.change-list li {
  position: relative;
  padding-left: 24px;
  color: #233633;
}

.change-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-accent);
  content: "";
}

.index-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 22px;
}

.index-panel h2 {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.index-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-panel a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #273d39;
  text-decoration: none;
}

.index-panel a:hover,
.index-panel a:focus-visible {
  background: #e7f6ef;
  color: var(--brand-primary);
  outline: none;
}

.index-version {
  font-weight: 900;
}

.index-date {
  color: var(--muted);
  font-size: 0.875rem;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  background: var(--brand-primary);
  color: #ffffff;
}

.not-found-card {
  width: min(560px, 100%);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 8px;
  padding: 32px;
  background: rgb(255 255 255 / 0.08);
}

.not-found h1 {
  font-size: 2rem;
}

.not-found a {
  color: #8ff2c8;
  font-weight: 800;
}

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

  .index-panel {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .hero-inner,
  .content {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    padding-top: 20px;
  }

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

  .hero-copy {
    padding-top: 44px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .release-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .release-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}