:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #f8fafb;
  --line: #d7dee5;
  --line-strong: #bdc8d2;
  --text: #17202a;
  --muted: #637083;
  --accent: #146c63;
  --accent-strong: #0c514a;
  --ink: #0f1419;
  --blue: #245f99;
  --gold: #ad7f2d;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98), rgba(243, 245, 247, 0) 46%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #eef2f3 100%);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 58px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(248, 250, 251, 0.78);
  border-bottom: 1px solid rgba(215, 222, 229, 0.72);
  backdrop-filter: blur(18px);
}

.brandLink,
.siteNav {
  display: flex;
  align-items: center;
}

.brandLink {
  gap: 10px;
  font-weight: 700;
}

.brandMark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #24a39a, #146c63);
  color: #fff;
  font-weight: 700;
}

.siteNav {
  gap: 6px;
}

.siteNav a {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}

.siteNav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.siteNav .adminEntry {
  color: var(--accent-strong);
  background: rgba(20, 108, 99, 0.08);
}

.heroSection {
  min-height: calc(100vh - 58px);
  padding: 72px 22px 46px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  overflow: hidden;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.heroSection h1 {
  width: min(880px, 100%);
  text-align: center;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  font-weight: 780;
}

.heroLead {
  width: min(680px, 100%);
  text-align: center;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 22px);
}

.heroActions,
.adminBand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primaryAction,
.secondaryAction,
.downloadButton {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 19px;
  font-weight: 700;
  white-space: nowrap;
}

.primaryAction,
.downloadButton {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 10px 22px rgba(20, 108, 99, 0.18);
}

.primaryAction:hover,
.downloadButton:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.secondaryAction {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.secondaryAction:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.productVisual {
  width: min(960px, calc(100vw - 32px));
  aspect-ratio: 16 / 8.6;
  margin-top: 10px;
  border: 1px solid rgba(189, 200, 210, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background: #11171d;
  box-shadow: var(--shadow);
}

.visualTopbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #dce5e9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.visualTopbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ed6a5e;
}

.visualTopbar span:nth-child(2) {
  background: #f4bd4f;
}

.visualTopbar span:nth-child(3) {
  background: #61c554;
}

.visualTopbar strong {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #aebbc4;
}

.visualCanvas {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #11171d;
  background-size: 28px 28px;
}

.boardPreview {
  position: relative;
  min-height: 260px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 108, 99, 0.88), rgba(18, 62, 68, 0.9)),
    #143f41;
  border: 1px solid rgba(80, 194, 177, 0.52);
  overflow: hidden;
}

.boardPreview::before,
.boardPreview::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(151, 236, 213, 0.38);
  border-radius: 7px;
}

.boardPreview::after {
  inset: 19% 16%;
  border-color: rgba(232, 200, 103, 0.34);
}

.trace,
.pad {
  position: absolute;
  display: block;
}

.trace {
  height: 3px;
  border-radius: 99px;
  background: rgba(230, 204, 120, 0.88);
  transform-origin: left center;
}

.traceA {
  width: 46%;
  left: 18%;
  top: 32%;
  transform: rotate(18deg);
}

.traceB {
  width: 42%;
  left: 24%;
  top: 58%;
  transform: rotate(-15deg);
}

.traceC {
  width: 34%;
  left: 48%;
  top: 44%;
  transform: rotate(72deg);
}

.pad {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 8px solid rgba(222, 192, 96, 0.92);
  background: rgba(19, 52, 54, 0.94);
  box-shadow: 0 0 0 1px rgba(255, 244, 190, 0.26);
}

.padA {
  left: 17%;
  top: 24%;
}

.padB {
  right: 18%;
  top: 27%;
}

.padC {
  left: 32%;
  bottom: 20%;
}

.padD {
  right: 26%;
  bottom: 22%;
}

.visualPanel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.visualPanel div {
  height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.07);
}

.downloadBand,
.releaseBand,
.adminBand,
.siteFooter {
  padding: 70px max(22px, calc((100vw - 1180px) / 2));
}

.downloadBand,
.adminBand {
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(215, 222, 229, 0.7);
  border-bottom: 1px solid rgba(215, 222, 229, 0.7);
}

.sectionIntro {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.sectionIntro h2,
.adminBand h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
}

.sectionIntro p:not(.eyebrow),
.adminBand p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

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

.downloadCard,
.releaseItem {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.07);
}

.downloadCard {
  min-height: 230px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.downloadCard.featured {
  border-color: rgba(20, 108, 99, 0.32);
  background:
    linear-gradient(135deg, rgba(20, 108, 99, 0.08), rgba(36, 95, 153, 0.06)),
    var(--surface);
}

.downloadType {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.downloadCard h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.downloadCard p,
.releaseMeta,
.releaseNotes {
  color: var(--muted);
}

.downloadButton {
  width: max-content;
  border-radius: 6px;
}

.downloadButton.secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: none;
}

.downloadButton.secondary:hover {
  background: var(--surface-2);
}

.releaseBand {
  background: transparent;
}

.releaseList {
  display: grid;
  gap: 12px;
}

.releaseItem {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.releaseTitle {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.releaseTitle h3 {
  font-size: 20px;
}

.releaseMeta {
  margin-top: 4px;
  font-size: 13px;
}

.releaseNotes {
  margin-top: 10px;
  max-width: 820px;
}

.releaseState {
  padding: 22px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.kindPill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(20, 108, 99, 0.22);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--accent-strong);
  background: rgba(20, 108, 99, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.adminBand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--ink);
  color: #fff;
}

.adminBand p,
.adminBand .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.adminBand .dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.adminBand .dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.siteFooter {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .siteHeader {
    height: auto;
    min-height: 58px;
    align-items: flex-start;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .siteNav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .heroSection {
    min-height: auto;
    padding-top: 52px;
  }

  .productVisual {
    aspect-ratio: 1 / 1.05;
  }

  .visualCanvas {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .boardPreview {
    min-height: 230px;
  }

  .visualPanel {
    display: none;
  }

  .downloadGrid,
  .releaseItem {
    grid-template-columns: 1fr;
  }

  .adminBand,
  .siteFooter {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .siteHeader {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brandLink span:last-child {
    display: none;
  }

  .siteNav a {
    padding-left: 8px;
    padding-right: 8px;
  }

  .primaryAction,
  .secondaryAction,
  .downloadButton {
    width: 100%;
  }
}
