:root {
  --zn-border: #dce3e7;
  --zn-shadow: 0 14px 40px rgb(18 33 43 / 8%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--ink);
}

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

a {
  text-underline-offset: 0.18em;
}

.site-shell {
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: var(--wp--preset--color--white);
}

.site-header {
  border-bottom: 1px solid var(--zn-border);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
}

.site-brand {
  color: var(--wp--preset--color--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.site-navigation__list,
.site-footer__navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-main {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.page-header {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.page-header h1,
.nas-detail h1 {
  margin-block: 0.25rem 1rem;
  font-size: var(--wp--preset--font-size--x-large);
}

.eyebrow {
  margin: 0;
  color: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--zn-border);
  border-radius: 0.8rem;
  background: var(--wp--preset--color--white);
  box-shadow: var(--zn-shadow);
}

.content-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-card__body {
  padding: 1.5rem;
}

.content-card__meta {
  margin-top: 0;
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
}

.content-card__title {
  margin-block: 0 0.75rem;
  font-size: 1.3rem;
}

.content-card__title a {
  color: inherit;
  text-decoration: none;
}

.content-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.content-card__specs li {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--slate);
  font-size: 0.78rem;
  font-weight: 700;
}

.content-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
}

.nas-detail {
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.nas-detail__header {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.nas-detail__overline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.data-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--zn-border);
  border-radius: 999px;
  color: var(--wp--preset--color--slate);
  font-size: 0.78rem;
  font-weight: 750;
}

.data-status::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #868e96;
  content: "";
}

.data-status.is-verified::before {
  background: var(--wp--preset--color--accent);
}

.data-status.is-partial::before {
  background: #e67700;
}

.nas-detail__model-number {
  margin-top: -0.5rem;
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
}

.nas-detail__summary {
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--large);
}

.nas-detail__product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 6vw, 5rem);
}

.nas-detail__product--no-media {
  grid-template-columns: minmax(18rem, 34rem);
}

.nas-detail__sidebar {
  display: grid;
  gap: 1rem;
}

.nas-detail__media {
  overflow: hidden;
  margin: 0;
  border-radius: 0.8rem;
  background: var(--wp--preset--color--white);
}

.nas-highlights,
.specification-group dl {
  margin: 0;
}

.nas-highlights {
  overflow: hidden;
  border: 1px solid var(--zn-border);
  border-radius: 0.8rem;
  background: var(--wp--preset--color--white);
  box-shadow: var(--zn-shadow);
}

.nas-highlights > div,
.specification-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.nas-highlights > div + div,
.specification-row + .specification-row {
  border-top: 1px solid var(--zn-border);
}

.nas-highlights dt,
.specification-row dt {
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
}

.nas-highlights dd,
.specification-row dd {
  margin: 0;
  font-weight: 700;
}

.entry-content {
  max-width: var(--wp--style--global--content-size);
}

.nas-specifications {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-block: 0.4rem 0;
  font-size: var(--wp--preset--font-size--large);
}

.nas-specifications__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.specification-group {
  overflow: hidden;
  border: 1px solid var(--zn-border);
  border-radius: 0.8rem;
  background: var(--wp--preset--color--white);
}

.specification-group h3 {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--zn-border);
  background: var(--wp--preset--color--surface);
  font-size: 1rem;
}

.nas-data-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--wp--preset--color--accent);
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
}

.nas-data-note p {
  margin: 0;
}

.nas-buy-box {
  padding: 1.25rem;
  border: 1px solid var(--zn-border);
  border-radius: 0.8rem;
  background: var(--wp--preset--color--white);
}

.nas-buy-box__label {
  margin: 0 0 0.75rem;
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
}

.nas-buy-box__button {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.55rem;
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.nas-buy-box__button:hover,
.nas-buy-box__button:focus-visible {
  filter: brightness(0.9);
}

.nas-buy-box__note {
  margin: 0.75rem 0 0;
  color: var(--wp--preset--color--slate);
  font-size: 0.75rem;
}

.site-footer__affiliate {
  max-width: 44rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--zn-border);
  color: var(--wp--preset--color--slate);
  font-size: var(--wp--preset--font-size--small);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--wp--preset--color--white);
}

@media (max-width: 48rem) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .nas-detail__product,
  .nas-specifications__groups {
    grid-template-columns: 1fr;
  }

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

  .nas-highlights > div,
  .specification-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
