:root {
  --nx-bg: #f5f5f7;
  --nx-text: #1d1d1f;
  --nx-muted: #6e6e73;
  --nx-soft: #8e8e93;
  --nx-glass: rgba(255, 255, 255, 0.58);
  --nx-glass-strong: rgba(255, 255, 255, 0.72);
  --nx-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  --nx-radius: 18px;
  --nx-max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 10% -20%, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 247, 0.92) 55%, rgba(240, 241, 244, 0.9) 100%);
  color: var(--nx-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

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

.nx-main {
  width: min(100%, var(--nx-max));
  margin: 0 auto;
  padding: 0 24px 90px;
}

.nx-glass-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: rgba(245, 245, 247, 0.7);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nx-header-inner {
  width: min(100%, var(--nx-max));
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.nx-header-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--nx-muted);
}

.nx-header-left {
  justify-self: start;
}

.nx-header-right {
  justify-self: end;
}

.nx-header-links a {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nx-header-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: rgba(29, 29, 31, 0.36);
  transition: transform 0.22s ease;
}

.nx-header-links a:hover {
  color: var(--nx-text);
}

.nx-header-links a:hover::after {
  transform: scaleX(1);
}

.nx-header-logo {
  justify-self: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.nx-menu-toggle {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--nx-text);
  padding: 0;
  cursor: pointer;
}

.nx-menu-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
}

.nx-mobile-drawer {
  display: none;
  width: min(100%, var(--nx-max));
  margin: 0 auto;
  padding: 0 24px 12px;
}

.nx-mobile-drawer nav {
  border-radius: var(--nx-radius);
  background: var(--nx-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nx-shadow);
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  gap: 4px;
}

.nx-mobile-drawer a {
  border-radius: 12px;
  color: var(--nx-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
}

.nx-mobile-drawer a:hover {
  color: var(--nx-text);
  background: rgba(255, 255, 255, 0.58);
}

.nx-mobile-drawer.is-open {
  display: block;
}

.nx-hero {
  text-align: center;
  padding: 96px 0 76px;
}

.nx-typography-hero {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 780;
}

.nx-hero-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--nx-muted);
  font-size: clamp(1.06rem, 2.2vw, 1.36rem);
  line-height: 1.56;
  font-weight: 430;
}

.nx-download-matrix {
  margin: 38px auto 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nx-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border-radius: var(--nx-radius);
  background: var(--nx-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nx-shadow);
  font-size: 0.94rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: #2d2d31;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nx-download-link:hover {
  transform: translateY(-1px);
  background: var(--nx-glass-strong);
}

.nx-download-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nx-bento-box {
  padding: 8px 0 34px;
}

.nx-section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.nx-section-sub {
  margin: 10px 0 26px;
  color: var(--nx-muted);
  font-size: 1rem;
}

.nx-bento-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(160px, auto));
}

.nx-bento-item {
  border-radius: 26px;
  background: var(--nx-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nx-shadow);
  padding: 28px;
}

.nx-bento-item h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.nx-bento-item p {
  margin: 12px 0 0;
  color: var(--nx-muted);
  line-height: 1.7;
}

.nx-bento-main {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nx-bento-right-top {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.nx-bento-right-bottom {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.nx-news-wrap {
  padding: 72px 0 24px;
}

.nx-news-hero {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 780;
}

.nx-news-hero-compact {
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 720;
}

.nx-news-intro {
  margin: 16px 0 42px;
  color: var(--nx-muted);
  max-width: 760px;
  line-height: 1.8;
}

.nx-news-stream {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.nx-news-item {
  padding: 0 0 26px;
  background: transparent;
}

.nx-news-item:not(:last-child) {
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.08);
}

.nx-news-date {
  margin: 0 0 8px;
  color: #8b8b91;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 550;
}

.nx-news-title {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1.09;
  letter-spacing: -0.028em;
  font-weight: 760;
}

.nx-news-excerpt {
  max-width: 840px;
  margin: 12px 0 0;
  color: var(--nx-muted);
  line-height: 1.8;
}

.nx-news-item a:hover .nx-news-title {
  opacity: 0.84;
}

.nx-pagination {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nx-pagination-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nx-page-link {
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-muted);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 0.86rem;
  font-weight: 560;
}

.nx-page-link:hover {
  color: var(--nx-text);
  background: rgba(255, 255, 255, 0.72);
}

.nx-page-link.is-current {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.nx-pagination-note {
  color: #8b8b91;
  font-size: 0.82rem;
}

.nx-reading-wrap {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 76px 24px 92px;
}

.nx-reading-headline {
  text-align: center;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 760;
}

.nx-reading-meta {
  margin: 14px 0 42px;
  text-align: center;
  color: #8e8e93;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-download-guide {
  border-radius: 22px;
  padding: 22px;
  margin: 0 0 32px;
  background: var(--nx-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nx-shadow);
}

.nx-download-guide h3 {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.nx-download-guide p {
  margin: 8px 0 16px;
  text-align: center;
  color: var(--nx-muted);
}

.nx-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #252527;
}

.nx-article-body p {
  margin: 0 0 1.2em;
}

.nx-article-body h2 {
  margin: 2.8em 0 1em;
  text-align: center;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  font-weight: 720;
}

.nx-article-body ul,
.nx-article-body ol {
  margin: 0 0 1.2em 1.2em;
  color: #2d2d30;
}

.nx-article-body li {
  margin: 0 0 0.45em;
}

.nx-site-footer {
  width: min(100%, var(--nx-max));
  margin: 36px auto 0;
  padding: 8px 24px 26px;
}

.nx-footer-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nx-footer-col h4 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
}

.nx-footer-col ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.nx-footer-col a,
.nx-footer-col li {
  color: #8e8e93;
  font-size: 0.88rem;
  line-height: 1.5;
}

.nx-footer-col a:hover {
  color: #5a5a5e;
}

.nx-footer-legal {
  margin-top: 26px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8e8e93;
  font-size: 0.84rem;
  box-shadow: 0 -1px 0 rgba(29, 29, 31, 0.08);
}

.nx-footer-legal p {
  margin: 0;
}

@media (max-width: 1024px) {
  .nx-download-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nx-header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .nx-header-left,
  .nx-header-right {
    display: none;
  }

  .nx-header-logo {
    justify-self: start;
    letter-spacing: 0.1em;
  }

  .nx-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nx-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .nx-bento-main,
  .nx-bento-right-top,
  .nx-bento-right-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .nx-footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nx-main {
    padding: 0 18px 72px;
  }

  .nx-hero {
    padding: 74px 0 64px;
  }

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

  .nx-footer-directory {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nx-footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nx-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
