/* Norelyn v2 Products — quiet catalog, Mist Blue. */
.products-page {
  --bg: #F6F9FA;
  --surface: #FFFFFF;
  --ink: #171A1C;
  --muted: #68747C;
  --line: #DDE3E6;
  --soft: #DCE7ED;
  --accent: #5F7F96;
  --accent-hover: #526F84;
  --accent-deep: #314B5D;
  --secondary: #71857D;
  --max: 1180px;
  background: linear-gradient(180deg, #FAFBFC 0%, #F6F9FA 55%, #F8FAFB 100%);
  color: var(--ink);
}

.products-page .site-header {
  min-height: 64px;
  background: rgba(246, 249, 250, .9);
  border-bottom-color: rgba(49, 75, 93, .10);
  box-shadow: none;
}

.products-page .nav a {
  color: #5D6A72;
}

.products-page .nav a[aria-current="page"],
.products-page .nav a:hover {
  color: var(--accent-deep);
}

.products-language {
  display: inline-flex;
  align-items: center;
}

.products-language select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #5D6A72;
  padding: 7px 28px 7px 12px;
  font: inherit;
  font-size: 12px;
  background-image: linear-gradient(45deg, transparent 50%, #7D8B93 50%), linear-gradient(135deg, #7D8B93 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.products-hero {
  padding: clamp(92px, 11vw, 140px) 0 clamp(72px, 9vw, 108px);
}

.products-hero .eyebrow,
.products-platform .eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .12em;
}

.products-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: end;
}

.products-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 400;
  text-wrap: balance;
}

html:lang(zh-Hant) .products-hero h1,
html:lang(zh-Hans) .products-hero h1 {
  letter-spacing: -.012em;
  line-height: 1.18;
}

.products-hero-grid > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.products-catalog,
.products-continuity,
.products-platform {
  padding-bottom: clamp(78px, 9vw, 112px);
}

.products-page .section-kicker {
  border-top-color: var(--ink);
}

.catalog-row {
  min-height: 184px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.15fr) minmax(110px, auto);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding-left .16s ease, background-color .16s ease;
}

.products-catalog .section-kicker + .catalog-row {
  border-top: 1px solid var(--line);
}

.catalog-identity {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
}

.catalog-index {
  padding-top: 7px;
  color: #9AA5AB;
  font-size: 11px;
}

.catalog-row h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 450;
}

.catalog-tag {
  margin: 8px 0 0;
  color: #849097;
  font-size: 12px;
}

.catalog-description {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.catalog-uses {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-uses span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #748087;
  font-size: 11px;
  background: rgba(255,255,255,.45);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.product-status {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--accent-deep);
  background: rgba(95,127,150,.09);
}

.product-status.building {
  color: #52665E;
  background: rgba(113,133,125,.10);
}

.product-status.future {
  color: #7A858B;
  background: rgba(104,116,124,.08);
}

.catalog-arrow {
  width: 20px;
  text-align: right;
  color: var(--accent);
  font-size: 20px;
}

.catalog-row-future {
  opacity: .68;
}

@media (hover: hover) {
  a.catalog-row:hover {
    padding-left: 10px;
    background: linear-gradient(90deg, rgba(95,127,150,.045), transparent 62%);
  }
}

.products-continuity-grid {
  padding-top: clamp(38px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: end;
}

.products-continuity h2,
.products-platform h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.14;
  letter-spacing: -.03em;
  font-weight: 430;
  text-wrap: balance;
}

html:lang(zh-Hant) .products-continuity h2,
html:lang(zh-Hans) .products-continuity h2,
html:lang(zh-Hant) .products-platform h2,
html:lang(zh-Hans) .products-platform h2 {
  letter-spacing: -.008em;
  line-height: 1.24;
}

.continuity-body,
.platform-body {
  margin: 20px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.compact-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.compact-flow div {
  min-height: 112px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}

.compact-flow strong {
  font-size: 18px;
  font-weight: 500;
}

.compact-flow span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.compact-flow i {
  color: #9AA8AF;
  font-style: normal;
}

.platform-cta {
  padding: clamp(38px, 6vw, 62px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.platform-cta > div {
  max-width: 800px;
}

.products-page .button {
  border-radius: 999px;
  font-weight: 500;
}

.products-page .site-footer {
  margin-top: 0;
}

.products-page .footer-main {
  grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.2fr);
}

.products-page .footer-columns {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.footer-muted {
  color: #8A959B;
  font-size: 14px;
}

@media (max-width: 900px) {
  .products-page .nav {
    background: rgba(246,249,250,.98);
  }

  .products-hero-grid,
  .products-continuity-grid,
  .platform-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog-row {
    grid-template-columns: 1fr auto;
    gap: 18px 24px;
  }

  .catalog-copy {
    grid-column: 1;
  }

  .catalog-meta {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: flex-end;
  }

  .compact-flow {
    margin-top: 8px;
  }

  .platform-link {
    justify-self: start;
  }

  .products-page .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-hero {
    padding: 68px 0 70px;
  }

  .products-hero h1 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .catalog-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 0;
  }

  .catalog-copy,
  .catalog-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .catalog-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .compact-flow {
    grid-template-columns: 1fr;
  }

  .compact-flow i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .products-page .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}
