.pack-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.pack-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}
body {
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  caret-color: transparent;
}

input,
textarea,
[contenteditable="true"] {
  caret-color: auto;
}
h1,
h2,
h3 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", Arial,
    sans-serif;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.page-hero h1 {
  letter-spacing: -0.045em;
}
.pack-links a,
.language-switcher select {
  font-weight: 700;
}
.docs li,
.document-view summary,
.eco-card h3 {
  font-weight: 650;
}
.eyebrow,
.pill {
  font-weight: 750;
  letter-spacing: 0.14em;
}
.pack-nav > .brand {
  display: block;
  flex: 0 0 176px;
  width: 176px;
  height: 52px;
  font-size: 0;
  line-height: 0;
  background: url("../assets/neumarks-logo-color.png?v=2") no-repeat left center /
    contain;
}
.pack-links {
  display: flex;
  gap: 6px;
  flex: 1;
}
.pack-links a {
  padding: 9px 11px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.9rem;
}
.pack-links a:hover,
.pack-links a.active {
  background: #edf5ef;
  color: var(--green);
}
.language-switcher {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.language-switcher select {
  appearance: none;
  min-width: 136px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  border-radius: 9px;
  padding: 9px 34px 9px 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}
.language-switcher select:hover {
  border-color: #8db59a;
  background-color: #f7faf7;
}
.language-switcher select:focus-visible {
  outline: 3px solid #a9d8b8;
  outline-offset: 3px;
}
.page-hero {
  padding: 58px 0 44px;
  background: linear-gradient(135deg, #064c2b, #0c6b3e);
  color: #fff;
}
.page-hero .lead {
  color: #dbebe1;
}
.page-main {
  min-height: 62vh;
}
.backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 24px #0003;
}
.document-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.document-view {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.document-view summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--green);
  font-weight: 850;
  list-style: none;
}
.document-view summary::-webkit-details-marker {
  display: none;
}
.document-view summary:after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf5ef;
  font-size: 1.35rem;
  flex: none;
}
.document-view[open] summary {
  border-bottom: 1px solid var(--line);
}
.document-view[open] summary:after {
  content: "−";
}
.document-content {
  padding: 18px;
  background: #f7f9f7;
}
.document-view iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid var(--line);
  background: #eee;
}
.document-view img {
  display: block;
  width: min(100%, 900px);
  height: auto;
  margin: auto;
}
.country a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.recycle-symbol {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.recycle-symbol svg {
  display: block;
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.recycle-symbol img {
  display: block;
  width: 54px;
  height: 54px;
  filter: brightness(0) invert(1);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.eco-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}
.eco-card > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e5f2e8;
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.eco-card > span svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eco-card > span img {
  width: 27px;
  height: 27px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(30%) saturate(1840%)
    hue-rotate(103deg) brightness(88%) contrast(98%);
}
.docs li:before {
  content: "♻";
  color: var(--green);
  margin-right: 10px;
}
.pill:before {
  content: "♻ ";
  font-size: 1.05rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .pack-nav {
    flex-wrap: wrap;
    padding: 13px 0;
  }
  .pack-links {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-bottom: 8px;
  }
  .pack-links a {
    text-align: center;
  }
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .page-hero {
    padding: 40px 0 32px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    overflow-wrap: anywhere;
  }
  .document-view iframe {
    height: 62vh;
    min-height: 430px;
  }
  .document-view summary {
    padding: 16px;
  }
  .pack-links a {
    white-space: normal;
    font-size: 0.82rem;
    padding: 8px 5px;
  }
  .brand {
    font-size: 1.05rem;
  }
  .specgrid {
    gap: 12px;
  }
  .spec {
    padding: 18px;
  }
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .eco-card {
    padding: 20px;
  }
}
@media (max-width: 420px) {
  .pack-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .language-switcher select {
    min-width: 118px !important;
    max-width: 138px;
  }
  .wrap {
    width: min(100% - 22px, 1120px);
  }
}
