:root {
  --v2-ink: #182230;
  --v2-copy: #465568;
  --v2-muted: #6b7787;
  --v2-blue: #1376dc;
  --v2-blue-dark: #075eaf;
  --v2-line: #dce3eb;
  --v2-soft: #f5f7fa;
  --v2-pale: #eef5fc;
}

/* Product catalog and contact surfaces follow the compact reference layouts. */
.reference-card-grid.product-catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-catalog-card .reference-card-media {
  display: block;
  box-sizing: border-box;
  aspect-ratio: 4 / 3;
  padding: 22px;
  background: #f3f6fa;
}

.product-catalog-card .reference-card-media img {
  display: block;
  object-fit: contain;
}

.product-catalog-card .reference-card-media span {
  white-space: nowrap;
}

.product-catalog-card .reference-card-body {
  display: block;
  position: relative;
  z-index: 1;
  min-height: 170px;
  box-sizing: border-box;
  background: #fff;
}

.product-catalog-card .reference-card-body > div {
  align-items: center;
}

.product-catalog-card .reference-card-body > div strong {
  color: #111827;
  font-size: 15px;
}

.product-catalog-card .reference-card-media {
  aspect-ratio: 1 / 1;
}

.product-catalog-card .reference-card-body {
  min-height: 118px;
  padding: 14px 16px 18px;
}

.product-catalog-card .reference-card-body h2 {
  min-height: 0;
  margin: 5px 0 6px;
  font-size: 18px;
}

.product-catalog-card .reference-card-body p {
  min-height: 0;
  -webkit-line-clamp: 2;
}

.catalog-card-category {
  color: var(--ref-blue);
  font-size: 11px;
}

.solutions-layout,
.cases-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
}

.solutions-list-grid,
.cases-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.product-filter-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dbe2ea;
}

.product-filter-note strong {
  color: #263449;
  font-size: 13px;
}

.product-filter-note p {
  margin: 8px 0 0;
  color: #687588;
  font-size: 12px;
  line-height: 1.7;
}

.contact-page {
  padding-bottom: 76px;
  background: #fff;
}

.contact-intro {
  max-width: 760px;
  padding: 16px 0 34px;
  text-align: center;
}

.contact-intro h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 30px;
}

.contact-intro p {
  margin: 0;
  color: #657286;
  line-height: 1.7;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 38px;
}

.contact-channels article {
  display: grid;
  min-height: 170px;
  place-items: center;
  align-content: center;
  padding: 24px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 34, 53, 0.08);
}

.contact-channels i {
  margin-bottom: 8px;
  color: var(--ref-blue);
  font-size: 36px;
}

.contact-channels strong {
  color: #172033;
  font-size: 17px;
}

.contact-channels small {
  margin: 7px 0;
  color: #7b8798;
}

.contact-channels a {
  color: var(--ref-blue);
  font-size: 13px;
  font-weight: 600;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 32px;
  align-items: start;
}

.contact-form,
.contact-details article {
  padding: 28px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 34, 53, 0.08);
}

.contact-form h2,
.contact-details h2 {
  margin: 0 0 20px;
  color: #172033;
  font-size: 20px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #4a586b;
  font-size: 13px;
  font-weight: 600;
}

.contact-form label b {
  display: inline;
  color: #dc2626;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d8dfe8;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: #263449;
  font: inherit;
  font-weight: 400;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ref-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.1);
}

.contact-form button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  background: var(--ref-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background-color 180ms ease;
}

.contact-form button:not(:disabled):hover {
  background: #0957d9;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.contact-submit-error {
  margin: -6px 0 18px;
  padding: 10px 12px;
  border: 1px solid #efb3b3;
  border-radius: 5px;
  background: #fff3f3;
  color: #a61b1b;
  font-size: 13px;
  line-height: 1.6;
}

.contact-submit-dialog {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 18px 48px rgba(21, 34, 53, .22);
  text-align: center;
}

.contact-submit-dialog::backdrop {
  background: rgba(17, 24, 39, .48);
}

.contact-submit-dialog-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf8ef;
  color: #16803a;
  font-size: 26px;
  place-items: center;
}

.contact-submit-dialog h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.contact-submit-dialog p {
  margin: 0 0 22px;
  color: #4a586b;
  font-size: 14px;
  line-height: 1.7;
}

.contact-submit-dialog button {
  min-width: 112px;
  min-height: 40px;
  padding: 8px 22px;
  border: 0;
  border-radius: 5px;
  background: var(--ref-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background-color 180ms ease;
}

.contact-submit-dialog button:hover {
  background: #0957d9;
}

.contact-submit-dialog button:focus-visible {
  outline: 3px solid rgba(23, 105, 255, .28);
  outline-offset: 3px;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-details dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-details dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.contact-details dt {
  color: #263449;
  font-weight: 600;
}

.contact-details dd,
.contact-hours {
  margin: 0;
  color: #657286;
  line-height: 1.7;
}

.contact-details .portal-rich-content {
  margin-top: 20px;
}

.contact-method-image {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e1e6ed;
}

.contact-method-image h3 {
  margin: 0 0 12px;
  color: #263449;
  font-size: 15px;
}

.contact-method-image img {
  display: block;
  width: min(100%, 220px);
  max-height: 260px;
  object-fit: contain;
  border-radius: 4px;
}

.contact-emergency {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 0;
  padding: 12px;
  border-radius: 5px;
  background: #eef5ff;
  color: #1755b3;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-catalog-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    width: min(100% - 32px, 760px);
  }

  .contact-form,
  .contact-details article {
    padding: 22px 18px;
  }
}

/* Light information footer based on the supplied four-column reference. */
.v2-page .portal-footer {
  padding: 52px 0 22px;
  border-top: 1px solid #dce3eb;
  background: #fff;
}

.v2-page .portal-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(150px, .75fr)) minmax(260px, 1fr);
  gap: 42px;
}

.v2-page .portal-footer-grid section {
  min-width: 0;
}

.v2-page .portal-footer-grid h2 {
  margin: 0 0 16px;
  color: #172235;
  font-size: 15px;
  font-weight: 700;
}

.v2-page .portal-footer-grid nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.v2-page .portal-footer-grid nav a,
.v2-page .portal-footer-contact a {
  color: #45566d;
  transition: color 180ms ease;
}

.v2-page .portal-footer-grid nav a:hover,
.v2-page .portal-footer-contact a:hover {
  color: #1376dc;
}

.v2-page .portal-footer-about p,
.v2-page .portal-footer-contact p {
  margin: 9px 0 0;
  color: #5d6b7d;
  font-size: 13px;
  line-height: 1.65;
}

.portal-footer-contact p strong {
  color: #263449;
  font-weight: 600;
}

.portal-footer-qr {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
}

.portal-footer-qr img {
  width: 58px;
  height: 58px;
  padding: 3px;
  border: 1px solid #dce3eb;
  object-fit: contain;
}

.portal-footer-contact-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Shared footer treatment used by every reference page. */
.v2-page .portal-footer {
  border-top: 0;
  background: #1b293c;
}

.v2-page .portal-footer-grid h2,
.v2-page .portal-footer-about a,
.v2-page .portal-footer-contact p strong {
  color: #fff;
}

.v2-page .portal-footer-grid nav a,
.v2-page .portal-footer-contact a,
.v2-page .portal-footer-about p,
.v2-page .portal-footer-contact p,
.v2-page .portal-footer-bottom,
.v2-page .portal-footer-bottom a {
  color: #b7c0ce;
}

.v2-page .portal-footer-bottom {
  border-top-color: rgba(255, 255, 255, .12);
}

.v2-page .portal-footer-bottom {
  align-items: center;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #e4e9ef;
}

.portal-consult-visual {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: pointer;
}

.portal-consult-visual:focus-visible,
[data-wechat-open]:focus-visible {
  outline: 3px solid rgba(19, 118, 220, .3);
  outline-offset: 3px;
}

.portal-heading-with-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.portal-heading-with-action > div {
  min-width: 0;
}

.portal-heading-with-action .portal-text-link {
  flex: 0 0 auto;
  margin-bottom: 5px;
}

.portal-home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portal-home-case-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 34, 53, .08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portal-home-case-card:hover {
  border-color: #b9c8dc;
  box-shadow: 0 8px 20px rgba(20, 34, 53, .1);
  transform: translateY(-2px);
}

.portal-home-case-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf2f7;
}

.portal-home-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-home-case-media span {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 3px 8px;
  border-radius: 3px;
  background: #1376dc;
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-home-case-body {
  padding: 17px 18px 18px;
}

.portal-home-case-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #182230;
  font-size: 17px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-home-case-body p {
  display: -webkit-box;
  min-height: 63px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #57667a;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portal-home-case-body > span {
  color: #1376dc;
  font-size: 13px;
  font-weight: 600;
}

.portal-windows-service {
  border-top: 1px solid #e2e8f0;
}

.portal-windows-visual {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 34px;
  background: #f1f5f9;
}

.portal-windows-visual img {
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  box-shadow: 0 18px 42px rgba(19, 38, 67, .16);
}

.wechat-dialog {
  width: min(92vw, 420px);
  padding: 32px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
  color: #182230;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  text-align: center;
}

.wechat-dialog::backdrop {
  background: rgba(15, 23, 42, .58);
}

.wechat-dialog h2 {
  margin: 0 34px 8px;
  font-size: 23px;
}

.wechat-dialog p {
  margin: 0 0 20px;
  color: #5b687a;
  font-size: 14px;
  line-height: 1.7;
}

.wechat-dialog > img {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #dce3eb;
  object-fit: contain;
}

.wechat-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #536174;
  cursor: pointer;
  font-size: 28px;
  line-height: 34px;
}

.wechat-dialog-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  background: #f6f8fa;
  color: #64748b;
}

@media (max-width: 980px) {
  .solutions-layout,
  .cases-layout {
    grid-template-columns: 1fr;
  }

  .solutions-list-grid,
  .cases-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-page .portal-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .solutions-list-grid,
  .cases-list-grid,
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .portal-heading-with-action {
    display: grid;
    align-items: start;
    gap: 10px;
  }

  .portal-heading-with-action .portal-text-link {
    margin: 0;
  }

  .portal-home-case-grid {
    grid-template-columns: 1fr;
  }

  .portal-windows-visual {
    min-height: 220px;
    padding: 20px;
  }

  .v2-page .portal-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .v2-page .portal-footer-bottom {
    display: grid;
  }

  .wechat-dialog {
    padding: 28px 20px 22px;
  }
}

.v2-page {
  color: var(--v2-ink);
  background: #fff;
}

.v2-page main {
  min-height: 60vh;
}

.v2-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.v2-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  color: var(--v2-muted);
  font-size: 14px;
}

.v2-breadcrumbs a {
  color: var(--v2-copy);
}

.v2-breadcrumbs a:hover {
  color: var(--v2-blue);
}

.v2-breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #a8b1bd;
}

.v2-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--v2-blue);
  font-size: 14px;
  font-weight: 700;
}

.v2-section {
  padding: 82px 0;
}

.v2-section-soft {
  background: var(--v2-soft);
}

.v2-section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.v2-section-heading h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.25;
}

.v2-section-heading p {
  margin: 0;
  color: var(--v2-copy);
  font-size: 17px;
  line-height: 1.8;
}

.v2-search {
  display: flex;
  width: min(680px, 100%);
  min-height: 54px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}

.v2-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--v2-ink);
  font: inherit;
}

.v2-search:focus-within {
  border-color: var(--v2-blue);
  box-shadow: 0 0 0 3px rgba(19, 118, 220, 0.12);
}

.v2-search button {
  min-width: 112px;
  padding: 0 24px;
  border: 0;
  background: var(--v2-blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.v2-search button:hover {
  background: var(--v2-blue-dark);
}

/* Support center */
.v2-support-hero {
  padding: 82px 0 88px;
  background: linear-gradient(110deg, #eef5fc 0%, #f8fafc 70%, #fff 100%);
  border-bottom: 1px solid var(--v2-line);
}

.v2-support-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.18;
}

.v2-support-hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--v2-copy);
  font-size: 18px;
  line-height: 1.75;
}

.v2-task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--v2-line);
  border-radius: 5px;
  overflow: hidden;
}

.v2-task-grid a {
  min-height: 184px;
  padding: 30px;
  background: #fff;
  border-right: 1px solid var(--v2-line);
  transition: background 180ms ease;
}

.v2-task-grid a:last-child {
  border-right: 0;
}

.v2-task-grid a:hover {
  background: #f8fbff;
}

.v2-task-number {
  display: block;
  margin-bottom: 30px;
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 700;
}

.v2-task-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--v2-ink);
  font-size: 20px;
}

.v2-task-grid p {
  margin: 0 0 15px;
  color: var(--v2-copy);
  font-size: 14px;
  line-height: 1.65;
}

.v2-link-arrow {
  color: var(--v2-blue);
  font-size: 14px;
  font-weight: 700;
}

.v2-link-arrow::after {
  content: "\2192";
  margin-left: 8px;
}

.v2-resource-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.v2-resource-column h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.v2-resource-list {
  border-top: 1px solid var(--v2-line);
}

.v2-resource-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--v2-line);
}

.v2-resource-list strong {
  color: var(--v2-ink);
  line-height: 1.55;
}

.v2-resource-list span {
  color: var(--v2-muted);
  font-size: 13px;
}

/* Knowledge list */
.v2-library-hero {
  padding: 54px 0 62px;
  background: var(--v2-soft);
  border-bottom: 1px solid var(--v2-line);
}

.v2-library-hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
}

.v2-library-hero p {
  margin: 0 0 24px;
  color: var(--v2-copy);
  font-size: 17px;
}

.v2-library-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  margin-bottom: 28px;
}

.v2-library-tools label {
  display: grid;
  gap: 8px;
  color: var(--v2-ink);
  font-size: 13px;
  font-weight: 700;
}

.v2-library-tools input,
.v2-library-tools select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  color: var(--v2-ink);
  font: inherit;
}

.v2-library-count {
  margin: 0;
  color: var(--v2-muted);
  font-size: 14px;
}

.v2-article-list {
  border-top: 1px solid var(--v2-line);
}

.v2-article-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 110px;
  gap: 28px;
  align-items: start;
  padding: 30px 8px;
  border-bottom: 1px solid var(--v2-line);
  transition: background 180ms ease;
}

.v2-article-row:hover {
  background: #f8fafc;
}

.v2-article-row .v2-category {
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 700;
}

.v2-article-row h2 {
  margin: 0 0 9px;
  color: var(--v2-ink);
  font-size: 21px;
  line-height: 1.45;
}

.v2-article-row p {
  margin: 0;
  color: var(--v2-copy);
  line-height: 1.7;
}

.v2-article-row .v2-row-action {
  padding-top: 4px;
  color: var(--v2-blue);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

/* Article */
.v2-article-header {
  padding: 42px 0 52px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-article-header-inner {
  max-width: 930px;
}

.v2-article-header h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.22;
}

.v2-article-summary {
  max-width: 800px;
  margin: 0 0 24px;
  color: var(--v2-copy);
  font-size: 19px;
  line-height: 1.75;
}

.v2-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--v2-muted);
  font-size: 13px;
}

.v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.v2-tags span {
  padding: 5px 9px;
  border: 1px solid var(--v2-line);
  border-radius: 3px;
  color: var(--v2-copy);
  font-size: 12px;
}

.v2-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) 250px;
  justify-content: space-between;
  gap: 72px;
  align-items: start;
}

.v2-prose {
  min-width: 0;
  color: #263445;
  font-size: 17px;
  line-height: 1.85;
}

.v2-prose > :first-child {
  margin-top: 0;
}

.v2-prose h2 {
  scroll-margin-top: 130px;
  margin: 52px 0 18px;
  padding-top: 4px;
  color: var(--v2-ink);
  font-size: 29px;
  line-height: 1.35;
}

.v2-prose h3 {
  scroll-margin-top: 130px;
  margin: 34px 0 12px;
  color: var(--v2-ink);
  font-size: 21px;
  line-height: 1.45;
}

.v2-prose p {
  margin: 0 0 20px;
}

.v2-prose ul,
.v2-prose ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.v2-prose li {
  margin: 8px 0;
  padding-left: 4px;
}

.v2-prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--v2-blue);
  background: var(--v2-pale);
  color: #28445f;
}

.v2-prose table {
  display: block;
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  overflow-x: auto;
}

.v2-prose th,
.v2-prose td {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--v2-line);
  text-align: left;
}

.v2-prose th {
  background: var(--v2-soft);
}

.v2-article-toc {
  position: sticky;
  top: 108px;
  padding-left: 24px;
  border-left: 1px solid var(--v2-line);
}

.v2-article-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.v2-article-toc nav {
  display: grid;
  gap: 3px;
}

.v2-article-toc a {
  padding: 7px 0;
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.v2-article-toc a.is-child {
  padding-left: 14px;
}

.v2-article-toc a:hover,
.v2-article-toc a.is-active {
  color: var(--v2-blue);
}

.v2-article-help {
  margin-top: 54px;
  padding: 24px;
  background: var(--v2-soft);
  border: 1px solid var(--v2-line);
}

.v2-article-help strong {
  display: block;
  margin-bottom: 6px;
}

.v2-article-help p {
  margin: 0 0 14px;
  color: var(--v2-copy);
  font-size: 14px;
}

.v2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--v2-line);
}

.v2-related-grid a {
  min-height: 150px;
  padding: 24px 28px;
  border-right: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-related-grid a:last-child {
  border-right: 0;
}

.v2-related-grid span {
  color: var(--v2-blue);
  font-size: 12px;
  font-weight: 700;
}

.v2-related-grid h3 {
  margin: 12px 0 0;
  color: var(--v2-ink);
  font-size: 17px;
  line-height: 1.55;
}

/* Product and solution navigation */
.v2-product-hero {
  padding: 58px 0 68px;
  background: #f7f9fb;
  border-bottom: 1px solid var(--v2-line);
}

.v2-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 78px;
  align-items: center;
}

.v2-product-copy h1,
.v2-solution-copy h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.18;
}

.v2-product-copy > p,
.v2-solution-copy > p {
  margin: 0 0 24px;
  color: var(--v2-copy);
  font-size: 18px;
  line-height: 1.75;
}

.v2-product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}

.v2-product-price strong {
  font-size: 34px;
}

.v2-product-price span {
  color: var(--v2-muted);
  font-size: 14px;
}

.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--v2-blue);
  border-radius: 3px;
  background: var(--v2-blue);
  color: #fff;
  font-weight: 700;
}

.v2-button:hover {
  background: var(--v2-blue-dark);
  color: #fff;
}

.v2-button-secondary {
  border-color: #b9c4d0;
  background: #fff;
  color: var(--v2-ink);
}

.v2-button-secondary:hover {
  border-color: var(--v2-blue);
  background: #fff;
  color: var(--v2-blue);
}

.v2-product-stage {
  min-width: 0;
}

.v2-product-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--v2-line);
}

.v2-product-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v2-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.v2-gallery-thumbs button {
  width: 64px;
  height: 46px;
  padding: 3px;
  border: 1px solid var(--v2-line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.v2-gallery-thumbs button.is-active {
  border-color: var(--v2-blue);
}

.v2-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v2-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--v2-line);
}

.v2-fact-strip div {
  padding: 23px 28px;
  border-right: 1px solid var(--v2-line);
}

.v2-fact-strip div:first-child {
  border-left: 1px solid var(--v2-line);
}

.v2-fact-strip span,
.v2-fact-strip strong {
  display: block;
}

.v2-fact-strip span {
  margin-bottom: 5px;
  color: var(--v2-muted);
  font-size: 12px;
}

.v2-fact-strip strong {
  font-size: 15px;
}

.v2-page-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--v2-line);
}

.v2-page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 28px;
}

.v2-page-nav strong {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.v2-page-nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 26px;
}

.v2-page-nav-links a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--v2-copy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.v2-page-nav-links a:hover,
.v2-page-nav-links a.is-active {
  border-bottom-color: var(--v2-blue);
  color: var(--v2-blue);
}

.v2-narrative {
  display: grid;
  grid-template-columns: 270px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
}

.v2-narrative-label {
  position: sticky;
  top: 100px;
  align-self: start;
}

.v2-narrative-label h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.3;
}

.v2-lead {
  margin: 0;
  color: var(--v2-copy);
  font-size: 19px;
  line-height: 1.85;
}

.v2-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
}

.v2-capability-item {
  min-height: 145px;
  padding: 25px 28px;
  border-right: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-capability-item b {
  display: block;
  margin-bottom: 18px;
  color: var(--v2-blue);
  font-size: 13px;
}

.v2-capability-item span {
  color: var(--v2-ink);
  font-weight: 700;
  line-height: 1.55;
}

.v2-timeline {
  counter-reset: step;
  border-top: 1px solid var(--v2-line);
}

.v2-timeline li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--v2-line);
  list-style: none;
}

.v2-timeline li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--v2-blue);
  font-weight: 700;
}

.v2-environment-box {
  padding: 28px 32px;
  background: var(--v2-soft);
  border-left: 4px solid var(--v2-blue);
}

.v2-environment-box p {
  margin: 0;
  color: var(--v2-copy);
  font-size: 17px;
  line-height: 1.8;
}

/* Solution */
.v2-solution-hero {
  padding: 64px 0 72px;
  background: var(--v2-soft);
}

.v2-solution-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 70px;
  align-items: center;
}

.v2-solution-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.v2-solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Case editorial */
.v2-case-header {
  padding: 42px 0 50px;
}

.v2-case-header h1 {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.2;
}

.v2-case-header p {
  max-width: 760px;
  margin: 0;
  color: var(--v2-copy);
  font-size: 19px;
  line-height: 1.75;
}

.v2-case-cover {
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: var(--v2-soft);
}

.v2-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-case-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 76px;
}

.v2-case-summary {
  position: sticky;
  top: 90px;
  align-self: start;
  border-top: 2px solid var(--v2-ink);
}

.v2-case-summary div {
  padding: 16px 0;
  border-bottom: 1px solid var(--v2-line);
}

.v2-case-summary span,
.v2-case-summary strong {
  display: block;
}

.v2-case-summary span {
  margin-bottom: 5px;
  color: var(--v2-muted);
  font-size: 12px;
}

.v2-case-summary strong {
  font-size: 14px;
  line-height: 1.55;
}

.v2-case-body section {
  margin-bottom: 52px;
}

.v2-case-body h2 {
  margin: 0 0 16px;
  font-size: 29px;
}

.v2-case-body p {
  margin: 0;
  color: var(--v2-copy);
  font-size: 17px;
  line-height: 1.85;
}

.v2-result-panel {
  padding: 30px;
  background: var(--v2-pale);
  border-top: 3px solid var(--v2-blue);
}

/* Lists */
.v2-featured-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 390px;
  border: 1px solid var(--v2-line);
}

.v2-featured-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-featured-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.v2-featured-story-content h2 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.35;
}

.v2-featured-story-content p {
  margin: 0 0 22px;
  color: var(--v2-copy);
  line-height: 1.75;
}

.v2-story-list {
  margin-top: 36px;
  border-top: 1px solid var(--v2-line);
}

.v2-story-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 150px;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--v2-line);
}

.v2-story-row h2 {
  margin: 0 0 8px;
  color: var(--v2-ink);
  font-size: 21px;
}

.v2-story-row p {
  margin: 0;
  color: var(--v2-copy);
  line-height: 1.65;
}

.v2-story-row > span:last-child {
  color: var(--v2-blue);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.v2-solution-list {
  border-top: 1px solid var(--v2-line);
}

.v2-solution-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--v2-line);
}

.v2-solution-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.v2-solution-row h2 {
  margin: 8px 0;
  color: var(--v2-ink);
  font-size: 24px;
}

.v2-solution-row p {
  margin: 0;
  color: var(--v2-copy);
  line-height: 1.7;
}

.v2-solution-scenarios {
  padding-left: 28px;
  border-left: 1px solid var(--v2-line);
  color: var(--v2-copy);
  font-size: 14px;
  line-height: 1.75;
}

/* Existing homepage/about/feedback refinements, without affecting software.html */
.v2-page .portal-home-hero {
  background: #f4f7fa;
}

.v2-page .portal-home-copy h1 {
  max-width: 690px;
  font-size: 48px;
  line-height: 1.2;
}

.v2-page .portal-page-hero {
  padding: 64px 0;
}

.v2-page .portal-page-hero h1 {
  max-width: 820px;
  font-size: 42px;
}

@media (max-width: 980px) {
  .v2-task-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-task-grid a:nth-child(2) {
    border-right: 0;
  }

  .v2-task-grid a:nth-child(-n+2) {
    border-bottom: 1px solid var(--v2-line);
  }

  .v2-product-hero-grid,
  .v2-solution-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .v2-product-stage,
  .v2-solution-media {
    max-width: 760px;
  }

  .v2-narrative,
  .v2-case-grid,
  .v2-article-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .v2-narrative-label,
  .v2-case-summary,
  .v2-article-toc {
    position: static;
  }

  .v2-article-toc {
    order: -1;
    padding: 18px 20px;
    border: 1px solid var(--v2-line);
  }

  .v2-article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-featured-story,
  .v2-solution-row {
    grid-template-columns: 1fr;
  }

  .v2-solution-scenarios {
    padding: 0;
    border: 0;
  }
}

@media (max-width: 720px) {
  .v2-shell {
    width: min(100% - 32px, 1200px);
  }

  .v2-section {
    padding: 56px 0;
  }

  .v2-section-heading h2 {
    font-size: 28px;
  }

  .v2-support-hero {
    padding: 52px 0 58px;
  }

  .v2-support-hero h1,
  .v2-product-copy h1,
  .v2-solution-copy h1,
  .v2-case-header h1,
  .v2-article-header h1 {
    font-size: 34px;
  }

  .v2-search {
    display: grid;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .v2-search input,
  .v2-search button {
    min-height: 48px;
    border: 1px solid #cbd5e1;
  }

  .v2-search button {
    margin-top: 8px;
    border-color: var(--v2-blue);
  }

  .v2-task-grid,
  .v2-resource-columns,
  .v2-library-tools,
  .v2-capability-grid,
  .v2-related-grid,
  .v2-fact-strip {
    grid-template-columns: 1fr;
  }

  .v2-task-grid a,
  .v2-task-grid a:nth-child(2),
  .v2-related-grid a,
  .v2-fact-strip div,
  .v2-fact-strip div:first-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--v2-line);
  }

  .v2-task-grid a {
    min-height: 150px;
  }

  .v2-article-row,
  .v2-story-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .v2-article-row .v2-row-action,
  .v2-story-row > span:last-child {
    text-align: left;
  }

  .v2-article-grid {
    gap: 26px;
  }

  .v2-prose {
    font-size: 16px;
  }

  .v2-prose h2 {
    font-size: 25px;
  }

  .v2-article-toc nav {
    grid-template-columns: 1fr;
  }

  .v2-product-screen {
    padding: 12px;
  }

  .v2-page-nav-inner {
    align-items: stretch;
    min-height: auto;
    padding: 0;
  }

  .v2-page-nav strong {
    display: none;
  }

  .v2-page-nav-links {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .v2-page-nav-links a {
    min-height: 52px;
  }

  .v2-case-cover {
    aspect-ratio: 4 / 3;
  }

  .v2-featured-story {
    display: block;
  }

  .v2-featured-story img {
    aspect-ratio: 4 / 3;
  }

  .v2-featured-story-content {
    padding: 28px 22px;
  }

  .v2-page .portal-home-copy h1,
  .v2-page .portal-page-hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 760px) {
  .v2-page .portal-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .v2-page .portal-footer-grid h2,
  .v2-page .portal-footer-grid a,
  .v2-page .portal-footer-grid p {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .v2-page .portal-footer-about,
  .v2-page .portal-footer-contact {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-page *,
  .v2-page *::before,
  .v2-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Screenshot reference system */
.reference-page {
  --ref-blue: #1769ff;
  --ref-blue-dark: #1644c8;
  --ref-ink: #131d2f;
  --ref-copy: #526176;
  --ref-muted: #7b8798;
  --ref-line: #e1e6ed;
  --ref-soft: #f6f8fa;
  background: #fff;
  color: var(--ref-ink);
}

.reference-shell {
  width: min(1536px, calc(100% - 48px));
  margin: 0 auto;
}

.reference-crumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #788699;
  font-size: 13px;
}

.reference-crumbs a {
  color: #59677b;
}

.reference-crumbs a:hover {
  color: var(--ref-blue);
}

.reference-crumbs > * + *::before {
  content: "/";
  margin-right: 8px;
  color: #b2bbc7;
}

.reference-list-head {
  border-bottom: 1px solid var(--ref-line);
  background: #fff;
}

.reference-list-head .reference-shell {
  position: relative;
  min-height: 110px;
  padding-top: 17px;
}

.reference-list-head h1 {
  position: absolute;
  top: 36px;
  right: 0;
  left: 0;
  margin: 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
}

.reference-list-surface {
  min-height: 720px;
  padding: 28px 0 84px;
  background: var(--ref-soft);
}

.reference-list-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
}

.reference-filter {
  position: sticky;
  top: 96px;
  align-self: start;
}

.reference-filter label,
.reference-download-filter label,
.reference-all-head label {
  display: grid;
  gap: 8px;
  color: #263449;
  font-size: 13px;
  font-weight: 600;
}

.reference-filter input,
.reference-download-filter input,
.reference-all-head input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #d8dfe8;
  border-radius: 19px;
  outline: 0;
  background: #fff;
  color: #263449;
  font: inherit;
  font-weight: 400;
}

.reference-filter input:focus,
.reference-download-filter input:focus,
.reference-all-head input:focus {
  border-color: var(--ref-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.1);
}

.reference-filter > strong {
  display: block;
  margin: 28px 0 10px;
  color: #4a586b;
  font-size: 13px;
}

.reference-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reference-filter-chips button,
.reference-category-grid button {
  border: 1px solid #dce2e9;
  background: #fff;
  color: #536174;
  cursor: pointer;
  font: inherit;
}

.reference-filter-chips button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  font-size: 13px;
}

.reference-filter-chips button:hover,
.reference-filter-chips button.is-active {
  border-color: var(--ref-blue);
  background: var(--ref-blue);
  color: #fff;
}

.reference-result-count {
  margin: 0 0 18px;
  color: #687588;
  font-size: 13px;
}

.reference-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.reference-content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 34, 53, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.reference-content-card:hover {
  border-color: #b9c8dc;
  box-shadow: 0 8px 20px rgba(20, 34, 53, 0.1);
}

.reference-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf2f7;
}

.reference-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-card-media span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--ref-blue);
  color: #fff;
  font-size: 11px;
}

.reference-card-body {
  padding: 16px 18px 14px;
}

.reference-card-body h2 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--ref-ink);
  font-size: 17px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reference-card-body p {
  display: -webkit-box;
  min-height: 62px;
  margin: 0;
  overflow: hidden;
  color: var(--ref-copy);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reference-card-body > div {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #9aa5b4;
  font-size: 12px;
}

.reference-card-body > div span:last-child {
  color: var(--ref-blue);
}

.reference-detail-head {
  border-bottom: 1px solid var(--ref-line);
  background: #fff;
}

.reference-detail-head-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.5fr) minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 110px;
}

.reference-detail-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reference-detail-title h1 {
  overflow: hidden;
  margin: 0;
  color: var(--ref-ink);
  font-size: 19px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid #d7dfe9;
  border-radius: 14px;
  color: #263449;
  font-size: 12px;
}

.reference-detail-meta {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #8b98a9;
  font-size: 12px;
}

.reference-article-section {
  padding: 22px 0 72px;
  background: #fff;
}

.reference-article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 275px;
  align-items: start;
  gap: 24px;
}

.reference-toc,
.reference-related > section {
  border: 1px solid #dde4ed;
  border-radius: 8px;
  background: #fff;
}

.reference-toc {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 120px);
  padding: 14px 14px 16px;
  overflow: auto;
}

.reference-toc > strong,
.reference-related-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344256;
  font-size: 13px;
}

.reference-toc i,
.reference-related-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ref-blue);
}

.reference-toc nav {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.reference-toc a {
  display: block;
  overflow: hidden;
  padding: 9px 10px;
  border-radius: 6px;
  color: #69778a;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-toc a.is-child {
  padding-left: 22px;
}

.reference-toc a:hover,
.reference-toc a.is-active {
  background: #f1f6ff;
  color: var(--ref-blue);
}

.reference-article-main {
  min-width: 0;
  max-width: 900px;
}

.reference-article-deck {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 2px solid #d9e2ee;
  color: #6a788b;
  font-size: 16px;
  font-style: italic;
  line-height: 1.75;
}

.reference-summary {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 4px solid;
  border-radius: 0 7px 7px 0;
  font-size: 14px;
}

.reference-summary strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.reference-summary p,
.reference-summary ul {
  margin: 0;
  line-height: 1.75;
}

.reference-summary ul {
  padding-left: 20px;
}

.reference-summary-blue {
  border-color: #3d90ff;
  background: #edf5ff;
  color: #315b9f;
}

.reference-summary-warm {
  border: 1px solid #f0cf6a;
  border-left-width: 1px;
  border-radius: 7px;
  background: #fffaf0;
  color: #8b5312;
}

.reference-prose {
  color: #4f5e72;
  font-size: 16px;
  line-height: 1.85;
}

.reference-prose h2 {
  scroll-margin-top: 110px;
  margin: 44px 0 20px;
  padding: 13px 18px;
  border-left: 5px solid var(--ref-blue);
  border-radius: 0 7px 7px 0;
  background: #e8f2ff;
  color: #152033;
  font-size: 25px;
  line-height: 1.35;
}

.reference-prose h3 {
  scroll-margin-top: 110px;
  margin: 30px 0 12px;
  color: #1b2739;
  font-size: 20px;
  line-height: 1.45;
}

.reference-prose p,
.reference-prose ul,
.reference-prose ol,
.reference-prose table,
.reference-prose blockquote,
.reference-prose figure {
  margin-top: 0;
  margin-bottom: 20px;
}

.reference-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 8px;
  object-fit: contain;
}

.reference-prose figure img {
  width: 100%;
  margin: 0;
}

.reference-prose figcaption {
  padding-top: 8px;
  color: #8b97a7;
  font-size: 12px;
  text-align: center;
}

.reference-prose blockquote {
  padding: 14px 18px;
  border-left: 4px solid #a9bfdc;
  background: #f5f8fc;
}

.reference-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.reference-prose th,
.reference-prose td {
  padding: 11px 12px;
  border: 1px solid #dfe5ec;
  text-align: left;
}

.reference-prose th {
  background: #f3f6f9;
  color: #28364a;
}

.reference-related {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
}

.reference-related > section {
  padding: 14px;
}

.reference-related-list > div {
  margin-bottom: 10px;
}

.reference-related-list > div strong {
  flex: 1;
  color: var(--ref-blue);
}

.reference-related-list > div a {
  color: #4f5d70;
  font-size: 11px;
}

.reference-related-list > a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 7px;
  padding: 9px;
  border-radius: 7px;
  background: #f6f8fb;
  color: #445267;
  font-size: 12px;
}

.reference-related-list > a:hover {
  background: #eef4ff;
  color: var(--ref-blue);
}

.reference-related-list b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: #e5eaf1;
  color: #8490a0;
  font-size: 11px;
}

.reference-related-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-purchase-box > span,
.reference-purchase-box > strong,
.reference-purchase-box > small {
  display: block;
}

.reference-purchase-box > span {
  color: #7a8798;
  font-size: 12px;
}

.reference-purchase-box > strong {
  margin: 8px 0 2px;
  color: #172033;
  font-size: 28px;
}

.reference-purchase-box > small {
  margin-bottom: 14px;
  color: #677487;
}

.reference-primary-button,
.reference-secondary-button,
.reference-help-box a,
.reference-article-help a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid var(--ref-blue);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
}

.reference-primary-button,
.reference-help-box a,
.reference-article-help a {
  background: var(--ref-blue);
  color: #fff;
}

.reference-secondary-button {
  color: var(--ref-blue);
}

.reference-product-download-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263449;
  font-size: 14px;
}

.reference-product-download-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ref-blue);
}

.reference-current-version {
  display: block;
  margin: 12px 0 8px;
  color: #69778a;
  font-size: 12px;
}

.reference-product-download-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ref-blue);
  border-radius: 5px;
  background: var(--ref-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.reference-product-download-button:hover {
  background: #0d57d5;
  color: #fff;
}

.reference-current-download-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.reference-product-network-button {
  border-color: #24516f;
  background: #24516f;
}

.reference-product-network-button:hover {
  background: #173d57;
}

.reference-download-unavailable {
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 5px;
  background: #f3f6f9;
  color: #7a8798;
  font-size: 12px;
  text-align: center;
}

.reference-version-history {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5eaf1;
}

.reference-version-history > small {
  margin-bottom: 3px;
  color: #8793a3;
  font-size: 11px;
}

.reference-version-history-item {
  display: grid;
  gap: 5px;
  padding: 7px 2px;
  border-bottom: 1px solid #eef1f5;
}

.reference-version-history-item:last-child {
  border-bottom: 0;
}

.reference-version-history-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #657286;
  font-size: 11px;
}

.reference-version-history-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-version-history-meta time {
  flex: 0 0 auto;
  color: #98a2b1;
}

.reference-version-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #8793a3;
  font-size: 11px;
}

.reference-version-history-actions a {
  color: var(--ref-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reference-version-history-actions a:hover {
  color: #0d57d5;
}

.reference-help-box strong {
  color: #263449;
  font-size: 14px;
}

.reference-help-box p {
  margin: 8px 0 12px;
  color: #6b788a;
  font-size: 12px;
  line-height: 1.65;
}

.reference-versions {
  margin-top: 44px;
}

.reference-versions h2 {
  padding: 13px 18px;
  border-left: 5px solid var(--ref-blue);
  background: #e8f2ff;
  font-size: 25px;
}

.reference-versions article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ref-line);
}

.reference-versions article span {
  display: block;
  color: #8793a3;
  font-size: 12px;
}

.reference-versions article > a {
  padding: 7px 15px;
  border-radius: 4px;
  background: var(--ref-blue);
  color: #fff;
  font-size: 12px;
}

.reference-article-help {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.reference-article-help p {
  color: #657286;
}

.reference-article-help a {
  width: 120px;
}

.reference-top-crumbs {
  min-height: 72px;
  padding-top: 18px;
}

.reference-support-surface {
  padding: 50px 0 78px;
  background: var(--ref-soft);
}

.reference-section-title {
  margin: 0 0 24px;
  font-size: 25px;
}

.reference-support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 800px;
  margin-bottom: 48px;
}

.reference-support-cards > article {
  min-height: 256px;
  padding: 28px 26px;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(21, 34, 53, 0.08);
}

.reference-support-cards i {
  display: block;
  margin-bottom: 18px;
  color: var(--ref-blue);
  font-size: 44px;
}

.reference-support-cards strong,
.reference-support-cards p,
.reference-support-cards span {
  display: block;
}

.reference-support-cards strong {
  color: #111b2c;
  font-size: 20px;
}

.reference-support-cards p {
  margin: 8px 0 14px;
  color: #6a7789;
  line-height: 1.6;
}

.reference-support-cards span {
  color: #344256;
  font-size: 14px;
}

.reference-support-links {
  display: grid;
  gap: 7px;
}

.reference-support-links span::before {
  content: "\203A";
  margin-right: 8px;
  color: #111b2c;
  font-size: 18px;
}

.reference-faq-list {
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 34, 53, 0.07);
}

.reference-faq-list details + details {
  border-top: 1px solid #e1e6ed;
}

.reference-faq-list summary {
  position: relative;
  list-style: none;
  min-height: 62px;
  padding: 19px 54px 16px 20px;
  cursor: pointer;
  color: #354256;
  font-size: 15px;
}

.reference-faq-list summary::-webkit-details-marker {
  display: none;
}

.reference-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #5f6d80;
  font-size: 20px;
}

.reference-faq-list details[open] summary::after {
  content: "-";
}

.reference-faq-list details > div {
  padding: 0 20px 20px;
  color: #69768a;
}

.reference-faq-list details > div p {
  margin: 0 0 8px;
}

.reference-faq-list details > div a {
  color: var(--ref-blue);
}

.reference-center-action {
  padding: 24px 0 46px;
  text-align: center;
}

.reference-center-action a,
.reference-more-help a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--ref-blue);
  color: #fff;
  font-size: 13px;
}

.reference-more-help {
  padding: 32px 24px;
  border-radius: 8px;
  background: #eaf3ff;
  text-align: center;
}

.reference-more-help h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.reference-more-help p {
  color: #657388;
}

.reference-banner {
  margin-top: 32px;
  padding: 44px 32px;
  border-radius: 8px;
  background: #245bea;
  color: #fff;
}

.reference-banner h1 {
  margin: 0 0 12px;
  font-size: 34px;
}

.reference-banner p {
  margin: 0;
  font-size: 17px;
}

.reference-knowledge-section,
.reference-download-section {
  padding-bottom: 74px;
}

.reference-knowledge-section > h2,
.reference-download-section > h2,
.reference-all-head h2 {
  margin: 0 0 22px;
  font-size: 25px;
}

.reference-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 46px;
}

.reference-category-grid button {
  min-height: 150px;
  padding: 22px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(21, 34, 53, 0.07);
}

.reference-category-grid button:hover,
.reference-category-grid button.is-active {
  border-color: #b8cdf5;
  background: #f8fbff;
}

.reference-category-grid i,
.reference-category-grid strong,
.reference-category-grid span {
  display: block;
}

.reference-category-grid i {
  margin-bottom: 20px;
  color: var(--ref-blue);
  font-size: 36px;
}

.reference-category-grid strong {
  color: #162033;
  font-size: 17px;
}

.reference-category-grid span {
  margin-top: 5px;
  color: var(--ref-blue);
  font-size: 12px;
}

.reference-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 46px;
}

.reference-knowledge-grid > a {
  min-height: 170px;
  padding: 20px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 34, 53, 0.07);
}

.reference-knowledge-grid > a > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.reference-knowledge-grid span {
  padding: 3px 8px;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--ref-blue);
  font-size: 11px;
}

.reference-knowledge-grid small {
  color: #7b8798;
}

.reference-knowledge-grid h3 {
  margin: 12px 0 6px;
  color: #172033;
  font-size: 18px;
}

.reference-knowledge-grid p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: #657286;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reference-knowledge-grid b {
  color: var(--ref-blue);
  font-size: 12px;
}

.reference-all-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.reference-all-head h2 {
  margin: 0;
}

.reference-all-head label {
  width: 340px;
}

.reference-download-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(21, 34, 53, 0.07);
}

.reference-download-filter strong {
  display: block;
  margin-bottom: 10px;
}

.reference-download-filter input {
  border-radius: 5px;
}

.reference-download-list {
  display: grid;
  gap: 20px;
}

.reference-download-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 22px 24px;
  border: 1px solid #e1e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 34, 53, 0.07);
}

.reference-download-list h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.reference-download-list p {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0 0 7px;
  color: #8290a2;
  font-size: 12px;
}

.reference-download-list strong {
  display: block;
  color: #657286;
  font-size: 13px;
  font-weight: 400;
}

.reference-download-list small {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  background: #e7f0ff;
  color: var(--ref-blue);
}

.reference-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.reference-download-button,
.reference-download-empty {
  display: inline-flex;
  min-width: 88px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 13px;
}

.reference-download-button.is-local {
  border: 1px solid var(--ref-blue);
  background: var(--ref-blue);
  color: #fff;
}

.reference-download-button.is-external {
  border: 1px solid var(--ref-blue);
  background: var(--ref-blue);
  color: #fff;
}

.reference-download-button:hover {
  filter: brightness(0.94);
}

.reference-download-button {
  cursor: pointer;
  transition: filter 180ms ease;
}

.reference-download-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.reference-download-empty {
  background: #eef1f5;
  color: #6f7c8e;
}

.portal-product-grid-dynamic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .reference-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .reference-related {
    position: static;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-detail-head-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  }

  .reference-detail-meta {
    display: none;
  }

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

@media (max-width: 760px) {
  .reference-shell {
    width: min(100% - 32px, 1536px);
  }

  .reference-list-head .reference-shell {
    min-height: 94px;
  }

  .reference-list-head h1 {
    position: static;
    margin-top: 14px;
    text-align: left;
  }

  .reference-list-layout,
  .reference-article-layout,
  .reference-detail-head-grid,
  .reference-download-filter {
    grid-template-columns: 1fr;
  }

  .reference-filter,
  .reference-toc,
  .reference-related {
    position: static;
  }

  .reference-filter {
    padding-bottom: 4px;
  }

  .reference-card-grid,
  .reference-support-cards,
  .reference-category-grid,
  .reference-knowledge-grid {
    grid-template-columns: 1fr;
  }

  .reference-detail-head-grid {
    gap: 12px;
    padding: 18px 0;
  }

  .reference-detail-title {
    display: block;
  }

  .reference-detail-title h1 {
    margin-top: 9px;
    overflow: visible;
    font-size: 22px;
    white-space: normal;
  }

  .reference-toc {
    max-height: none;
  }

  .reference-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-related {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .reference-prose h2,
  .reference-versions h2 {
    font-size: 22px;
  }

  .reference-versions article {
    grid-template-columns: 1fr;
  }

  .reference-support-cards > article {
    min-height: 190px;
  }

  .reference-banner {
    margin-top: 20px;
    padding: 30px 22px;
  }

  .reference-banner h1 {
    font-size: 28px;
  }

  .reference-all-head {
    display: grid;
    align-items: stretch;
  }

  .reference-all-head label {
    width: 100%;
  }

  .reference-download-filter {
    gap: 22px;
  }

  .reference-download-list article {
    grid-template-columns: 1fr;
  }

  .reference-download-actions {
    justify-content: flex-start;
  }

  .portal-product-grid-dynamic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .reference-download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .reference-download-button,
  .reference-download-empty {
    width: 100%;
    padding-inline: 10px;
  }

  .reference-download-empty:only-child {
    grid-column: 1 / -1;
  }
}
/* Bot trap: kept outside the visual and keyboard flow. */
.portal-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ========================================================================= */
/* V3 SYNOLOGY STYLE HOMEPAGE UPDATES                                        */
/* ========================================================================= */

.synology-home main {
    background-color: #f7f9fa;
}

/* Hero Slider */
.portal-hero-slider {
    position: relative;
    width: 100%;
    height: 430px;
    background: #111;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.portal-hero-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.portal-hero-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-hero-slider .swiper-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms ease;
}

.portal-hero-slider .swiper-slide:first-child:not([aria-hidden="true"]),
.portal-hero-slider .swiper-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.portal-hero-slider .swiper-pagination {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 18px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.portal-hero-slider .swiper-pagination button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.portal-hero-slider .swiper-pagination button.is-active {
    background: #fff;
}

.portal-hero-slider .swiper-button-prev,
.portal-hero-slider .swiper-button-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 56px;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.portal-hero-slider .swiper-button-prev { left: 0; }
.portal-hero-slider .swiper-button-next { right: 0; }
.portal-hero-slider .swiper-button-prev::after { content: "‹"; font-size: 32px; }
.portal-hero-slider .swiper-button-next::after { content: "›"; font-size: 32px; }

.slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.82;
}

.slide-bg::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 15, 28, 0.44), rgba(5, 15, 28, 0.12), rgba(5, 15, 28, 0.34));
    content: "";
}

.slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.slide-kicker {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #fff;
}

.slide-content p {
    font-size: 18px;
    margin: 0 0 30px;
    opacity: 0.9;
}

/* Quick Links */
.portal-quick-links {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-card {
    position: relative;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.quick-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-bg {
    transform: scale(1.05);
}

.quick-link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.quick-link-overlay strong {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Section Centered Headers */
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-header-center h2 {
    font-size: 32px;
    font-weight: 700;
    color: #172235;
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 16px;
    color: #57667a;
}

.section-footer-center {
    text-align: center;
    margin-top: 40px;
}

/* Synology Style Product Cards */
.synology-style {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.synology-style:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.synology-style .portal-product-image {
    padding: 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    position: relative;
}

.synology-home .portal-home-products .portal-product-card {
    grid-template-rows: 230px minmax(210px, 1fr);
}

.synology-home .portal-home-products .portal-product-body {
    padding: 22px;
}

.synology-home .portal-home-products .portal-product-body h3 {
    margin: 8px 0 12px;
    font-size: 20px;
}

.synology-home .portal-home-products .portal-card-footer {
    padding-top: 14px;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1376dc;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.synology-style .product-summary {
    color: #57667a;
    font-size: 14px;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-tags span {
    background: #eef5fc;
    color: #1376dc;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Latest Updates 3-Column Grid */
.updates-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.update-column {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.update-header h3 {
    font-size: 20px;
    margin: 0;
    color: #172235;
}

.update-header a {
    color: #1376dc;
    font-size: 14px;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.update-item:hover {
    opacity: 0.8;
}

.update-tag {
    flex-shrink: 0;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    height: fit-content;
}

.update-content h4 {
    margin: 0 0 5px;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.4;
}

.update-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA Strip */
.portal-cta-strip {
    background: #0f172a;
    padding: 60px 0;
    color: #fff;
}

.cta-center {
    text-align: center;
    max-width: 700px;
}

.cta-center h2 {
    font-size: 32px;
    margin: 0 0 20px;
}

.cta-center p {
    font-size: 18px;
    color: #94a3b8;
    margin: 0 0 30px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.portal-button-outline-white {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
}

.portal-button-outline-white:hover {
    background: #fff;
    color: #0f172a;
}

/* Responsive Overrides */
@media (max-width: 980px) {
    .portal-product-grid-dynamic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .updates-grid-3 {
        grid-template-columns: 1fr;
    }
    .portal-hero-slider {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .portal-product-grid-dynamic {
        grid-template-columns: 1fr;
    }
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    .slide-content h1 {
        font-size: 28px;
    }

    .reference-site .slide-content.portal-shell {
        box-sizing: border-box;
        width: calc(100% - 56px);
        max-width: calc(100% - 56px);
        padding: 0;
    }

    .slide-content p {
        display: none;
    }
}



/* ========================================================================= */
/* V3 SYNOLOGY STYLE PRODUCT PAGE                                            */
/* ========================================================================= */

/* Sticky Nav */
.synology-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.synology-sticky-nav .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #172235;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 20px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1376dc;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1376dc;
    border-radius: 3px 3px 0 0;
}

/* Product Hero */
.synology-product-hero {
    background: #1e293b;
    color: #fff;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-copy h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

.hero-copy p {
    font-size: 18px;
    color: #94a3b8;
    margin: 0 0 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-media img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Features Section */
.synology-product-features {
    padding: 80px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 8px;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    background: #1376dc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-item h3 {
    font-size: 18px;
    color: #1e293b;
    margin: 0;
}

.rich-content-area {
    max-width: 900px;
    margin: 0 auto;
    color: #334155;
    line-height: 1.8;
}

/* Specs Section */
.synology-product-specs {
    padding: 80px 0;
    background: #f1f5f9;
}

.specs-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.synology-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.synology-specs-table th,
.synology-specs-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.synology-specs-table th {
    text-align: left;
    width: 30%;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.synology-specs-table td {
    color: #1e293b;
}

/* Download Section */
.synology-product-download {
    padding: 80px 0;
    background: #fff;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.download-card h3 {
    font-size: 20px;
    color: #1e293b;
    margin: 0 0 15px;
}

.download-card p {
    color: #64748b;
    margin: 0 0 20px;
    flex-grow: 1;
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-actions {
    display: flex;
    gap: 10px;
}

.version-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.version-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.version-list li:last-child {
    border-bottom: none;
}

.version-meta strong {
    display: block;
    color: #334155;
    font-size: 14px;
}

.version-meta time {
    color: #94a3b8;
    font-size: 12px;
}

.version-actions a {
    color: #1376dc;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .features-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 {
        font-size: 36px;
    }
    .nav-links {
        display: none;
    }
}
