:root {
  color-scheme: light;
  --ink: #18231f;
  --muted: #5d6862;
  --paper: #f5f7f4;
  --panel: #ffffff;
  --line: #d9e0dc;
  --green: #155f54;
  --green-dark: #0f433c;
  --terracotta: #9f4e3c;
  --gold: #aa853d;
  --shadow: 0 18px 48px rgba(24, 35, 31, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(245, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

main {
  padding-bottom: 52px;
}

.intro-section,
.section,
.facts {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(34px, 7vw, 78px) 0 28px;
}

.intro-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.text-button {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  line-height: 1.1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  background: var(--green-dark);
}

.overview-media {
  margin: 0;
}

.overview-media img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.overview-media figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.facts div {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
}

.fact-value,
.fact-label {
  display: block;
}

.fact-value {
  color: var(--green);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 850;
}

.fact-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding-top: 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(24, 35, 31, 0.07);
}

table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #edf2ef;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

td:nth-child(4),
td:nth-child(5) {
  font-weight: 800;
}

tbody tr:hover {
  background: #f8faf8;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(21, 95, 84, 0.24);
  background: #ecf5f2;
  color: var(--green);
  cursor: pointer;
  text-decoration: none;
}

.missing {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7ece7;
  color: var(--terracotta);
  font-size: 0.88rem;
  font-weight: 750;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.download-grid,
.contact-grid {
  display: grid;
  gap: 14px;
}

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

.download-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.download-card:hover,
.plan-card:hover {
  border-color: rgba(21, 95, 84, 0.45);
  box-shadow: 0 12px 30px rgba(24, 35, 31, 0.08);
}

.download-card strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.download-card span {
  color: var(--muted);
}

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

.plan-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.plan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.plan-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.plan-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration-color: rgba(93, 104, 98, 0.38);
  text-underline-offset: 3px;
}

.contact-band {
  margin-top: 26px;
  padding-bottom: 24px;
}

.contact-grid {
  grid-template-columns: minmax(210px, 1.3fr) repeat(3, minmax(160px, 1fr));
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.contact-grid div,
.contact-grid a {
  min-width: 0;
}

.contact-grid strong,
.contact-grid span {
  display: block;
}

.contact-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid a {
  color: #fff;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.plan-dialog {
  width: min(1120px, calc(100% - 28px));
  max-height: min(880px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.plan-dialog::backdrop {
  background: rgba(12, 18, 16, 0.62);
}

.dialog-header,
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.close-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
}

.dialog-body {
  display: grid;
  place-items: center;
  max-height: calc(100vh - 180px);
  padding: 14px;
  overflow: auto;
  background: #eef2ef;
}

.dialog-body img {
  width: 100%;
  max-height: calc(100vh - 214px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.dialog-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.dialog-footer a {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .intro-section {
    grid-template-columns: 1fr;
  }

  .facts,
  .download-grid,
  .plan-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .intro-section,
  .section,
  .facts {
    width: min(100% - 24px, 1160px);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .facts,
  .download-grid,
  .plan-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facts div {
    padding: 16px;
  }

  .section-heading {
    display: block;
  }

  .plan-card a {
    margin-left: 0;
  }

  .plan-card .text-button {
    width: 100%;
  }
}
