:root {
  --bg: #f4f7f7;
  --paper: #ffffff;
  --ink: #17202a;
  --muted: #536270;
  --line: #dbe3e4;
  --green: #167a63;
  --green-dark: #0f5c4b;
  --blue: #2858c8;
  --cyan: #1689a6;
  --gold: #b47622;
  --gold-soft: #ffe4a6;
  --coral: #d65f3f;
  --sponsor: #bf3989;
  --sponsor-hover: #a62f77;
  --scroll-track: rgba(234, 242, 239, 0.92);
  --scroll-thumb: rgba(22, 122, 99, 0.52);
  --scroll-thumb-hover: rgba(15, 92, 75, 0.78);
  --shadow: 0 18px 42px rgba(23, 32, 42, 0.12);
  --shadow-lift: 0 22px 46px rgba(23, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid var(--scroll-track);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 122, 99, 0.72), rgba(180, 118, 34, 0.58));
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--scroll-thumb-hover), rgba(180, 118, 34, 0.78));
}

*::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Aptos Display", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

code,
pre {
  font-family: Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--green);
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.07);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand span {
  overflow-wrap: anywhere;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: var(--ink);
}

.nav-button {
  padding: 8px 13px;
  border: 1px solid rgba(22, 122, 99, 0.28);
  border-radius: 7px;
  color: var(--green-dark);
  background: linear-gradient(135deg, #ffffff, #eef9f4);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  padding: 86px 48px 76px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: center;
}

.hero::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.tag {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag span {
  margin-right: 6px;
}

.hero .tag {
  color: #8ce0bf;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 2.1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 22px rgba(23, 32, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #ffffff;
}

.button.secondary {
  background: linear-gradient(135deg, #ffffff, #f4f0e6);
  color: var(--ink);
  border-color: var(--line);
}

.button.sponsor {
  background: linear-gradient(135deg, var(--sponsor), var(--coral));
  color: #ffffff;
}

.button:hover,
.button:focus {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(23, 32, 42, 0.14);
}

.button.sponsor:hover,
.button.sponsor:focus {
  background: var(--sponsor-hover);
}

.source-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.source-badge:hover,
.source-badge:focus {
  background: rgba(255, 255, 255, 0.14);
}

.source-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.source-icon svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}

.source-badge strong,
.source-badge small {
  display: block;
  line-height: 1.15;
}

.source-badge strong {
  font-size: 0.95rem;
}

.source-badge small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.source-badge.rs .source-icon {
  background: #f1c76e;
}

.source-badge.rs svg path:first-child {
  fill: #14342f;
}

.source-badge.rs svg path:last-child {
  fill: #f1c76e;
}

.source-badge.ps .source-icon {
  background: #2f6db3;
}

.source-badge.ps rect {
  fill: #123f6d;
}

.source-badge.ps path {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.source-badge.wom .source-icon {
  background: #f3eee1;
}

.source-badge.wom svg path:first-child {
  fill: #6f4b2b;
}

.source-badge.wom svg path:not(:first-child) {
  fill: none;
  stroke: #1f2933;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.release-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px max(48px, calc((100% - 1080px) / 2));
  background: #fbfdfc;
  border-bottom: 1px solid var(--line);
}

.release-strip h2 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.release-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.release-strip dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  margin: 0;
}

.release-strip dl div {
  display: grid;
  gap: 4px;
}

.release-strip dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.release-strip dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  font-weight: 700;
}

.release-note {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #fff8ed;
}

main {
  overflow: hidden;
}

.section {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-title p:not(.tag),
.card-grid p,
.split p {
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

article:hover,
article:focus-within {
  border-color: rgba(22, 122, 99, 0.38);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

article strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

article strong span {
  margin-right: 6px;
}

article p {
  margin-bottom: 0;
}

article .button {
  margin-top: 18px;
}

.product-shot {
  width: min(1080px, calc(100% - 36px));
  margin: 74px auto 0;
}

.product-shot img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.06);
}

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

th {
  background: #eaf2ef;
  color: var(--green-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

td:first-child {
  width: 110px;
  font-weight: 800;
}

.code-panel {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 22px;
  border-radius: 8px;
  background: #0b1c22;
  box-shadow: none;
}

.code-panel pre {
  margin: 0;
  overflow-x: auto;
  color: #dce9ea;
  font-size: 1rem;
  scrollbar-color: rgba(140, 224, 191, 0.74) rgba(255, 255, 255, 0.08);
}

.code-panel pre::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.code-panel pre::-webkit-scrollbar-thumb {
  border-color: #101922;
  background: linear-gradient(90deg, rgba(140, 224, 191, 0.88), rgba(241, 199, 110, 0.78));
}

footer {
  margin-top: 66px;
  padding: 22px 48px 26px;
  background:
    linear-gradient(135deg, #111922, #102f33 58%, #2d2518);
  color: #d9e1e4;
  font-size: 0.86rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .release-strip,
  .section,
  .product-shot {
    animation: rise-in 540ms ease both;
  }

  .release-strip {
    animation-delay: 80ms;
  }

  .section:nth-of-type(2),
  .product-shot {
    animation-delay: 140ms;
  }

  .section:nth-of-type(3) {
    animation-delay: 200ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

footer p {
  max-width: 1080px;
  margin: 0 auto 7px;
}

footer p:last-child {
  margin-bottom: 0;
}

footer a {
  color: #9fd8ff;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 22px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 62px 22px 56px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .release-strip,
  .split,
  .card-grid.two,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .release-strip {
    gap: 8px;
    padding: 10px 22px;
  }

  .release-strip dl {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.98rem;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .source-badges {
    width: 100%;
  }

  .source-badge {
    width: 100%;
  }

  .section {
    padding-top: 58px;
  }

  th,
  td {
    padding: 12px 10px;
  }

  footer {
    padding: 20px 22px 24px;
  }
}
