.secondary-page {
  background: #f6f8fb;
  color: #0b1f3b;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.secondary-page img {
  object-fit: contain;
}

.page-hero {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #dce5f0;
}

.page-hero .wrap {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 60px;
  padding: 58px 0 56px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff6a00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.page-hero h1,
.page-section h2,
.panel-title {
  color: #0b1f3b;
  letter-spacing: -0.035em;
}

.page-hero h1 {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
}

.page-hero p {
  max-width: 590px;
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.65;
}

.page-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

.page-hero-visual img {
  width: min(100%, 520px);
  height: 330px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 34px rgba(11,31,59,.12));
}

.page-actions,
.page-badges,
.filter-row,
.style-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-badges {
  margin: 22px 0 26px;
}

.page-badges span,
.filter-row a,
.style-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #fff;
  color: #0b1f3b;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(11,31,59,.04);
}

.page-badges span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid #ff6a00;
  color: #ff6a00;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.page-btn.primary {
  color: #fff;
  background: #ff6a00;
  box-shadow: 0 16px 28px rgba(255,106,0,.18);
}

.page-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #e85c00;
  box-shadow: 0 18px 32px rgba(255,106,0,.24);
}

.page-section {
  padding: 54px 0 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.page-section h2,
.panel-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: #52627a;
  font-size: 16px;
  line-height: 1.6;
}

.card,
.info-panel,
.data-panel {
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(11,31,59,.06);
}

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

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

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

.product-card {
  padding: 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,.45);
  box-shadow: 0 24px 45px rgba(255,106,0,.10);
}

.product-media {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  overflow: hidden;
}

.product-media img {
  max-width: 94%;
  max-height: 94%;
}

.product-card small {
  display: block;
  margin-bottom: 6px;
  color: #ff6a00;
  font-size: 13px;
  font-weight: 700;
}

.product-card h3,
.card h3 {
  margin: 0 0 8px;
  color: #0b1f3b;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.product-card p,
.card p,
.data-panel p,
.info-panel p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #ff6a00;
  font-size: 14px;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.data-panel {
  padding: 22px;
}

.spreadsheet-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.spreadsheet-table th,
.spreadsheet-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #e8eef6;
  text-align: left;
  font-size: 14px;
}

.spreadsheet-table th {
  color: #0b1f3b;
  font-size: 13px;
  font-weight: 700;
}

.spreadsheet-table tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.status.ok { color: #047637; background: #dcfce7; }
.status.info { color: #0759c4; background: #e8f1ff; }
.status.warn { color: #a76200; background: #fff1cc; }

.side-card {
  padding: 28px;
}

.side-list {
  display: grid;
  gap: 0;
}

.side-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e8eef6;
}

.side-item:first-child {
  padding-top: 0;
}

.side-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-card > .page-btn {
  width: 100%;
  margin-top: 26px;
}

.side-item img {
  width: 70px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  background: #f8fafc;
}

.side-item strong {
  display: block;
  color: #0b1f3b;
  font-size: 14px;
  line-height: 1.3;
}

.side-item span {
  display: block;
  margin-top: 4px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 700;
}

.category-grid.secondary {
  margin-top: 0;
}

.category-grid.secondary a {
  min-height: 116px;
}

.category-grid.secondary img {
  width: 58px;
  height: 58px;
}

.steps-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-clean .card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  text-align: center;
}

.steps-clean .number {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #ff6a00;
  font-weight: 800;
}

.steps-clean img {
  width: 54px;
  height: 54px;
  margin: 18px auto 16px;
}

.resource-strip {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255,106,0,.28);
  border-radius: 14px;
  background: #fff;
}

.resource-strip > img {
  width: 62px;
  height: 62px;
}

.resource-strip .skyline {
  width: 330px;
  opacity: .75;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.search-box {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  max-width: 620px;
  height: 56px;
  margin: 24px 0;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(11,31,59,.06);
}

.search-box span {
  text-align: center;
  color: #6b7280;
  font-size: 20px;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: #0b1f3b;
  font: 500 15px/1 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.search-box button {
  height: 44px;
  margin-right: 6px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #ff6a00;
  font-weight: 700;
  cursor: pointer;
}

.search-box button:hover {
  background: #e85c00;
}

.submit-band {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255,106,0,.3);
  border-radius: 14px;
  background: linear-gradient(90deg, #fff7ed, #fff);
}

.submit-band img {
  width: 64px;
  height: 64px;
}

/* Complete secondary-page components */
.page-content { padding-bottom: 64px; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.overview-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 20px;
}

.overview-card img { width: 44px; height: 44px; }
.overview-card strong,
.overview-card span { display: block; }
.overview-card strong { margin-bottom: 4px; color: #0b1f3b; font-size: 20px; }
.overview-card span { color: #52627a; font-size: 14px; }

.filter-row { margin-bottom: 20px; }
.filter-row a:hover,
.filter-row a.active {
  border-color: #ff6a00;
  color: #fff;
  background: #ff6a00;
  box-shadow: 0 12px 24px rgba(255,106,0,.16);
}

.table-link { color: #ff6a00; font-weight: 700; }
.category-note { display: block; margin-top: 4px; color: #6b7280; font-size: 12px; font-weight: 500; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.guide-grid .card,
.category-guide-grid .card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px;
}

.guide-grid .card {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.guide-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6a00, #ff9a3d);
  opacity: 0;
  transition: opacity .18s ease;
}

.guide-grid .card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,.38);
  box-shadow: 0 22px 44px rgba(11,31,59,.09);
}

.guide-grid .card:hover::before {
  opacity: 1;
}

.guide-grid .card h3 {
  margin: 18px 0 9px;
  font-size: 17px;
  line-height: 1.35;
}

.guide-grid .card p {
  margin: 0;
  color: #52627a;
  line-height: 1.6;
}

.guide-grid .text-link,
.category-guide-grid .text-link { margin-top: auto; padding-top: 18px; }
.guide-grid .guide-icon {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 11px;
  border-radius: 14px;
  background: #fff3e8;
  object-fit: contain;
}

.category-guide-grid .guide-icon { width: 50px; height: 50px; margin-bottom: 18px; }

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.check-panel { padding: 26px; }
.check-list { display: grid; gap: 13px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #374151;
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 4px #dcfce7;
}

/* Keep the dedicated QC checklist compact and give this page a job beyond
   repeating the homepage photo preview. */
#qc-checklist .check-layout {
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(11,31,59,.06);
}

#qc-checklist .check-panel {
  padding: 8px 12px 8px 0;
}

.qc-action-grid {
  display: grid;
  gap: 12px;
}

.qc-action {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid #dce5f0;
  border-left: 4px solid #16a34a;
  border-radius: 10px;
  background: #fff;
}

.qc-action.clarify { border-left-color: #f2a900; }
.qc-action.stop { border-left-color: #dc2626; }

.qc-action-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #ecf8f0;
}

.qc-action.clarify .qc-action-icon { background: #fff7df; }
.qc-action.stop .qc-action-icon { background: #fff0f0; }

.qc-action-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.qc-action span {
  display: block;
  margin-bottom: 3px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.qc-action h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.qc-action p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

#qc-checklist + .page-section {
  padding-top: 48px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 16px;
}
.faq-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}
.faq-nav a:hover { color: #ff6a00; background: #fff3e8; }
.faq-groups { display: grid; gap: 28px; }
.faq-group > h2 { margin-bottom: 14px; }

details.faq-item { padding: 0; overflow: hidden; }
details.faq-item + details.faq-item { margin-top: 10px; }
details.faq-item summary {
  position: relative;
  padding: 19px 54px 19px 20px;
  color: #0b1f3b;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff6a00;
  background: #fff3e8;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 500;
}
details.faq-item[open] summary::after { content: "-"; }
details.faq-item p { padding: 0 20px 20px; }

.geo-summary { padding: 26px; border-left: 4px solid #ff6a00; }
.geo-summary h2 { margin-bottom: 12px; }
.quiet-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255,106,0,.28);
  border-radius: 14px;
  background: #fff7f0;
}
.quiet-band p { margin: 6px 0 0; color: #52627a; }
.secondary-page .footer-grid > div:nth-child(4) { display: grid; align-content: start; gap: 8px; }
.secondary-page .footer-grid a { width: fit-content; }
.secondary-page .copyright { text-align: center; white-space: nowrap; }

@media (max-width: 980px) {
  .page-hero .wrap,
  .two-column {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    min-height: 280px;
  }

  .page-hero-visual img {
    height: 280px;
  }

  .grid-3,
  .product-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4,
  .steps-clean {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-strip,
  .submit-band {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .check-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .quiet-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-content { padding-bottom: 48px; }
  .page-hero .wrap {
    padding: 42px 0;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero-visual {
    min-height: 230px;
  }

  .page-hero-visual img {
    height: 230px;
  }

  .grid-3,
  .grid-4,
  .product-grid,
  .guide-grid,
  .steps-clean {
    grid-template-columns: 1fr;
  }

  .guide-grid .card {
    min-height: 230px;
  }

  .search-box {
    grid-template-columns: 44px 1fr;
    height: auto;
  }

  .search-box button {
    grid-column: 1 / -1;
    width: calc(100% - 12px);
    margin: 0 6px 6px;
  }

  .overview-card { min-height: 92px; }
  .faq-nav { grid-template-columns: 1fr 1fr; }
  details.faq-item summary { font-size: 15px; }
  .secondary-page .copyright { white-space: normal; }
}

/* Final secondary-page component rules. Kept here to override legacy site CSS
   without changing the completed home page. */
.secondary-page .callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.secondary-page .callout-row > div {
  min-width: 0;
  flex: 1;
}

.secondary-page .callout-row p {
  margin: 4px 0 0;
}

.secondary-page .guide-cta {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.secondary-page .guide-cta .page-actions {
  margin-top: 22px;
}

.secondary-page .share-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.secondary-page .finds-grid .product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.secondary-page .finds-grid .text-link {
  margin-top: auto;
  padding-top: 16px;
}

.secondary-page .product-label {
  display: block;
  margin: 16px 0 5px;
  color: #ff6a00;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.secondary-page .compact-products .product-card {
  min-height: 250px;
  padding: 18px;
}

.secondary-page .compact-products .product-media {
  height: 150px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.secondary-page .compact-products {
  gap: 18px;
}

.secondary-page .compact-products .product-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.secondary-page .compact-products .product-card h3 {
  margin: 0 0 6px;
}

.secondary-page .compact-products .product-card p {
  margin: 0;
}

.secondary-page .standout-grid {
  align-items: stretch;
}

.secondary-page .standout-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  min-height: 158px;
  gap: 18px;
  padding: 22px 24px;
}

.secondary-page .standout-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
}

.secondary-page .standout-card--orange .standout-icon {
  background: #ff6a00;
}

.secondary-page .standout-card--blue .standout-icon {
  background: #0968c7;
}

.secondary-page .standout-card--uk .standout-icon {
  background: #eef4ff;
}

.secondary-page .standout-card .guide-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  object-fit: contain;
}

.secondary-page .standout-card--orange .guide-icon,
.secondary-page .standout-card--blue .guide-icon {
  filter: brightness(0) invert(1);
}

.secondary-page .standout-card--uk .guide-icon {
  width: 50px;
  height: 50px;
}

.secondary-page .standout-card h3 {
  margin: 0 0 8px;
}

.secondary-page .standout-card p {
  margin: 0;
}

.secondary-page .category-grid.secondary a {
  min-height: 166px;
  padding: 22px 14px 18px;
  gap: 3px;
}

.secondary-page .category-grid.secondary img {
  width: 62px;
  height: 62px;
  margin: 0 0 5px;
}

.secondary-page .category-grid.secondary b {
  font-size: 14px;
}

.secondary-page .category-grid.secondary span {
  max-width: 150px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 980px) {
  .secondary-page .callout-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .secondary-page .callout-row {
    padding: 20px;
  }

  .secondary-page .callout-row .page-btn {
    width: 100%;
  }

  .secondary-page .share-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .secondary-page .finds-grid .product-card,
  .secondary-page .compact-products .product-card {
    min-height: 0;
  }

  .secondary-page .standout-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .secondary-page .standout-icon {
    width: 54px;
    height: 54px;
  }

  #qc-checklist .check-layout {
    gap: 20px;
    padding: 18px;
  }

  #qc-checklist .check-panel {
    padding: 0;
  }

  .qc-action {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .qc-action-icon {
    width: 42px;
    height: 42px;
  }
}

/* Shared closing CTA used across all secondary pages. */
.secondary-page .page-cta-section {
  margin-top: 54px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,106,0,.22);
  border-bottom: 1px solid rgba(255,106,0,.22);
  background: linear-gradient(90deg, #fff8f1 0%, #fffdfb 50%, #fff8f1 100%);
}

.secondary-page .page-cta {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 118px;
  padding: 24px 26px;
  border: 1px solid #d9e3ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(11,31,59,.08);
}

.secondary-page .page-cta-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  background: #fff3e8;
}

.secondary-page .page-cta-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.secondary-page .page-cta-copy {
  min-width: 0;
}

.secondary-page .page-cta h2 {
  margin: 0 0 6px;
  color: #0b1f3b;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.secondary-page .page-cta p {
  margin: 0;
  color: #52627a;
  font-size: 14px;
  line-height: 1.55;
}

.secondary-page .page-cta .page-btn {
  min-width: 210px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .secondary-page .page-cta {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .secondary-page .page-cta .page-btn {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .secondary-page .page-cta-section {
    margin-top: 42px;
    padding: 22px 0;
  }

  .secondary-page .page-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .secondary-page .page-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .secondary-page .page-cta-icon img {
    width: 36px;
    height: 36px;
  }

  .secondary-page .page-cta h2 {
    font-size: 20px;
  }

  .secondary-page .page-cta .page-btn {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }
}

/* FAQ page layout */
.secondary-page #questions .section-head {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.secondary-page .faq-layout {
  display: block;
}

.secondary-page .faq-nav {
  position: static;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
  padding: 0;
}

.secondary-page .faq-nav a {
  display: grid;
  min-height: 120px;
  align-content: center;
  padding: 18px;
  border: 1px solid #d9e3ef;
  border-radius: 14px;
  background: #fff;
  color: #0b1f3b;
  box-shadow: 0 12px 28px rgba(11,31,59,.05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.secondary-page .faq-nav a:hover {
  transform: translateY(-3px);
  border-color: rgba(255,106,0,.45);
  background: #fff;
  box-shadow: 0 18px 34px rgba(255,106,0,.10);
}

.secondary-page .faq-nav a > span {
  margin-bottom: 10px;
  color: #ff6a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.secondary-page .faq-nav strong {
  font-size: 15px;
  line-height: 1.3;
}

.secondary-page .faq-nav small {
  margin-top: 5px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.secondary-page .faq-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.secondary-page .faq-group {
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.secondary-page .faq-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #e8eef6;
  background: linear-gradient(135deg, #fff8f1 0%, #fff 72%);
}

.secondary-page .faq-group-head > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #ff6a00;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.secondary-page .faq-group-head h2 {
  margin: 0 0 3px;
  font-size: 20px;
}

.secondary-page .faq-group-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.secondary-page .faq-group details.faq-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e8eef6;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.secondary-page .faq-group details.faq-item:last-child {
  border-bottom: 0;
}

.secondary-page .faq-group details.faq-item:hover {
  border-color: #e8eef6;
  background: #fffaf6;
  box-shadow: none;
  transform: none;
}

.secondary-page .faq-group details.faq-item summary {
  padding: 18px 58px 18px 24px;
  font-size: 14px;
  line-height: 1.45;
}

.secondary-page .faq-group details.faq-item summary::after {
  right: 22px;
}

.secondary-page .faq-group details.faq-item p {
  padding: 0 24px 20px;
  color: #52627a;
  font-size: 13px;
  line-height: 1.65;
}

.secondary-page .faq-summary-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  min-height: 100%;
  padding: 26px;
  border-color: rgba(9,104,199,.22);
  background: linear-gradient(135deg, #f3f8ff 0%, #fff 72%);
}

.secondary-page .faq-summary-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  background: #fff3e8;
}

.secondary-page .faq-summary-icon img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.secondary-page .faq-summary-card .page-kicker {
  margin-bottom: 8px;
  color: #0968c7;
}

.secondary-page .faq-summary-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.secondary-page .faq-summary-card p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.6;
}

.secondary-page .faq-summary-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.secondary-page .faq-summary-card li {
  position: relative;
  padding-left: 22px;
  color: #0b1f3b;
  font-size: 13px;
  font-weight: 600;
}

.secondary-page .faq-summary-card li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 3px #dcfce7;
}

@media (max-width: 980px) {
  .secondary-page .faq-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .secondary-page .faq-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .secondary-page .faq-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .secondary-page .faq-nav a {
    min-height: 105px;
    padding: 15px;
  }

  .secondary-page .faq-group-head {
    padding: 18px;
  }

  .secondary-page .faq-group details.faq-item summary {
    padding: 17px 54px 17px 18px;
  }

  .secondary-page .faq-group details.faq-item p {
    padding: 0 18px 18px;
  }

  .secondary-page .faq-summary-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* Guides: embedded purchase walkthrough */
.secondary-page .purchase-video-section {
  background: #f6f8fb;
  scroll-margin-top: 88px;
}

.secondary-page .purchase-video-section > .wrap {
  max-width: 1080px;
}

.secondary-page .purchase-video-section .section-head {
  max-width: 720px;
  margin: 0 auto 24px;
}

.secondary-page .purchase-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 22px 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11,31,59,.06);
}

.secondary-page .purchase-video-layout > * {
  min-width: 0;
}

.secondary-page .purchase-video-frame {
  width: 100%;
  max-width: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #061a35;
}

.secondary-page .purchase-video-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #061a35;
}

.secondary-page .purchase-video-frame figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 11px 14px;
  background: #f8fafc;
  color: #52627a;
  font-size: 12px;
  line-height: 1.5;
}

.secondary-page .purchase-video-frame figcaption span:first-child {
  color: #0b1f3b;
  font-weight: 600;
}

.secondary-page .purchase-video-notes {
  padding: 0;
}

.secondary-page .purchase-video-notes h3 {
  margin: 0 0 16px;
  color: #0b1f3b;
  font-size: 20px;
  line-height: 1.3;
}

.secondary-page .purchase-video-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: purchase-step;
}

.secondary-page .purchase-video-steps li {
  position: relative;
  padding: 0 0 12px 42px;
  border-bottom: 1px solid #edf1f6;
  counter-increment: purchase-step;
}

.secondary-page .purchase-video-steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.secondary-page .purchase-video-steps li::before {
  content: counter(purchase-step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #fff1e7;
  color: #c44e00;
  font-size: 13px;
  font-weight: 700;
}

.secondary-page .purchase-video-steps h4 {
  margin: 0 0 4px;
  color: #0b1f3b;
  font-size: 14px;
  line-height: 1.4;
}

.secondary-page .purchase-video-steps p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.secondary-page .purchase-video-caution {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #e4ebf3;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.secondary-page .purchase-video-caution strong {
  color: #52627a;
}

@media (max-width: 860px) {
  .secondary-page .purchase-video-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .secondary-page .purchase-video-frame {
    justify-self: center;
  }

  .secondary-page .purchase-video-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .secondary-page .purchase-video-steps li {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .secondary-page .purchase-video-layout {
    gap: 20px;
    padding: 16px;
    border-radius: 12px;
  }

  .secondary-page .purchase-video-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .secondary-page .purchase-video-frame figcaption {
    padding: 10px 12px;
  }

  .secondary-page .purchase-video-notes h3 {
    font-size: 19px;
  }
}

/* Guides: beginner path and preparation panel */
.secondary-page .beginner-path-section .section-head,
.secondary-page .qc-overview-section .section-head,
.secondary-page .qc-workflow-section .section-head,
.secondary-page #qc-checklist .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.secondary-page .beginner-path-section .steps-clean,
.secondary-page .qc-workflow-section .steps-clean {
  gap: 20px;
}

.secondary-page .beginner-path-section .steps-clean .card,
.secondary-page .qc-workflow-section .steps-clean .card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px 24px;
  overflow: hidden;
  border-top: 3px solid transparent;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.secondary-page .beginner-path-section .steps-clean .card:hover,
.secondary-page .qc-workflow-section .steps-clean .card:hover {
  transform: translateY(-4px);
  border-top-color: #ff6a00;
  box-shadow: 0 22px 42px rgba(11,31,59,.09);
}

.secondary-page .beginner-path-section .steps-clean img,
.secondary-page .qc-workflow-section .steps-clean img {
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  margin: 12px auto 14px;
  padding: 12px;
  border-radius: 16px;
  background: #fff3e8;
  object-fit: contain;
}

.secondary-page .beginner-path-section .steps-clean .card:nth-child(3) img,
.secondary-page .qc-workflow-section .steps-clean .card:nth-child(3) img {
  background: #fff3e8;
}

.secondary-page .beginner-path-section .steps-clean h3,
.secondary-page .qc-workflow-section .steps-clean h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.secondary-page .beginner-path-section .steps-clean p,
.secondary-page .qc-workflow-section .steps-clean p {
  max-width: 220px;
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.55;
}

.secondary-page .guide-prep-section .check-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 22px;
  align-items: stretch;
}

.secondary-page .guide-prep-section .check-panel,
.secondary-page .guide-prep-section .guide-cta {
  min-height: 330px;
  padding: 30px;
}

.secondary-page .guide-prep-section .check-panel {
  border-top: 3px solid #16a34a;
}

.secondary-page .guide-prep-section .panel-title {
  margin: 0 0 6px;
}

.secondary-page .guide-prep-section .prep-intro {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.secondary-page .guide-prep-section .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.secondary-page .guide-prep-section .check-list li {
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 12px 14px 12px 42px;
  border: 1px solid #e4ebf3;
  border-radius: 11px;
  background: #f8fbff;
  font-size: 13px;
  line-height: 1.45;
}

.secondary-page .guide-prep-section .check-list li::before {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.secondary-page .guide-prep-section .check-list li:last-child {
  grid-column: 1 / -1;
}

.secondary-page .guide-prep-section .guide-cta {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,106,0,.28);
  background: linear-gradient(145deg, #fff7ef 0%, #fff 72%);
}

.secondary-page .guide-prep-section .guide-cta::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255,106,0,.07);
}

.secondary-page .guide-prep-section .guide-cta > * {
  position: relative;
  z-index: 1;
}

.secondary-page .guide-prep-section .guide-cta h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.secondary-page .guide-prep-section .guide-cta p {
  max-width: 500px;
  color: #52627a;
  font-size: 14px;
  line-height: 1.65;
}

/* QC Photos: overview, decision panel and workflow */
.secondary-page .qc-overview-section .overview-grid {
  gap: 20px;
}

.secondary-page .qc-overview-section .overview-card {
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 132px;
  padding: 24px;
  border: 1px solid #d9e3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(11,31,59,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.secondary-page .qc-overview-section .overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,.38);
  box-shadow: 0 22px 42px rgba(11,31,59,.09);
}

.secondary-page .qc-overview-section .overview-card img {
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  padding: 12px;
  border-radius: 15px;
  background: #fff3e8;
  object-fit: contain;
}

.secondary-page .qc-overview-section .overview-card:nth-child(3) img {
  background: #0968c7;
}

.secondary-page .qc-overview-section .overview-card strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.secondary-page .qc-overview-section .overview-card span {
  font-size: 13px;
  line-height: 1.5;
}

.secondary-page #qc-checklist .check-layout {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 22px;
  padding: 22px;
  border-radius: 16px;
}

.secondary-page #qc-checklist .check-panel {
  padding: 24px;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  background: #f8fbff;
}

.secondary-page #qc-checklist .check-panel h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.secondary-page #qc-checklist .check-list {
  gap: 10px;
  margin: 0;
}

.secondary-page #qc-checklist .check-list li {
  padding: 10px 10px 10px 30px;
  border-bottom: 1px solid #e4ebf3;
  font-size: 13px;
}

.secondary-page #qc-checklist .check-list li:last-child {
  border-bottom: 0;
}

.secondary-page #qc-checklist .check-list li::before {
  top: 13px;
  width: 14px;
  height: 14px;
}

.secondary-page .qc-action {
  min-height: 112px;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.secondary-page .qc-action:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 26px rgba(11,31,59,.07);
}

.secondary-page .qc-action.acceptable .qc-action-icon {
  background: #fff3e8;
}

.secondary-page .qc-action.acceptable .qc-action-icon img {
  filter: none;
}

@media (max-width: 980px) {
  .secondary-page .guide-prep-section .check-layout,
  .secondary-page #qc-checklist .check-layout {
    grid-template-columns: 1fr;
  }

  .secondary-page .guide-prep-section .check-panel,
  .secondary-page .guide-prep-section .guide-cta {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .secondary-page .beginner-path-section .steps-clean .card,
  .secondary-page .qc-workflow-section .steps-clean .card {
    min-height: 200px;
  }

  .secondary-page .guide-prep-section .check-panel,
  .secondary-page .guide-prep-section .guide-cta {
    padding: 22px;
  }

  .secondary-page .guide-prep-section .check-list {
    grid-template-columns: 1fr;
  }

  .secondary-page .guide-prep-section .check-list li:last-child {
    grid-column: auto;
  }

  .secondary-page #qc-checklist .check-layout {
    padding: 16px;
  }

  .secondary-page #qc-checklist .check-panel {
    padding: 18px;
  }
}

/* Compact bridge between the spreadsheet hero and resource library. */
.secondary-page .stats-bridge-section { position: relative; z-index: 2; padding: 0; }
.secondary-page .stats-bridge-section .overview-grid { gap: 16px; margin: -38px 0 0; }
.secondary-page .stats-bridge-section .overview-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; min-height: 112px; gap: 16px; padding: 20px 22px; border: 1px solid #d9e3ef; border-radius: 15px; background: #fff; box-shadow: 0 18px 38px rgba(11,31,59,.09); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.secondary-page .stats-bridge-section .overview-card:hover { transform: translateY(-3px); border-color: rgba(255,106,0,.36); box-shadow: 0 22px 42px rgba(11,31,59,.11); }
.secondary-page .stats-bridge-section .overview-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 14px; background: #fff3e8; }
.secondary-page .stats-bridge-section .overview-icon img { width: 34px; height: 34px; object-fit: contain; }
.secondary-page .stats-bridge-section .overview-card strong { margin: 0 0 3px; color: #0b1f3b; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.secondary-page .stats-bridge-section .overview-card span:not(.overview-icon) { color: #64748b; font-size: 13px; line-height: 1.4; }
.secondary-page .resource-library-section { padding-top: 42px; }
@media (max-width: 980px) {
  .secondary-page .stats-bridge-section .overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -28px; }
  .secondary-page .stats-bridge-section .overview-card { grid-template-columns: 48px minmax(0, 1fr); min-height: 100px; gap: 13px; padding: 17px; }
  .secondary-page .stats-bridge-section .overview-icon { width: 46px; height: 46px; border-radius: 12px; }
  .secondary-page .stats-bridge-section .overview-icon img { width: 29px; height: 29px; }
  .secondary-page .stats-bridge-section .overview-card strong { font-size: 21px; }
}
@media (max-width: 700px) {
  .secondary-page .stats-bridge-section { padding-top: 20px; }
  .secondary-page .stats-bridge-section .overview-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
  .secondary-page .stats-bridge-section .overview-card { min-height: 86px; padding: 15px 17px; }
  .secondary-page .resource-library-section { padding-top: 36px; }
}

/* Interactive filter and linked-card enhancements */
.filter-row button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #fff;
  color: #0b1f3b;
  font: 600 14px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.filter-row button:hover,
.filter-row button.active,
.filter-row button[aria-pressed="true"] {
  border-color: #ff6a00;
  color: #fff;
  background: #ff6a00;
  box-shadow: 0 12px 24px rgba(255,106,0,.16);
}
.filter-row button:hover { transform: translateY(-1px); }
.filter-row button:focus-visible,
.product-card-main:focus-visible,
.linked-product-card:focus-visible {
  outline: 3px solid rgba(9,104,199,.35);
  outline-offset: 3px;
}
.filter-feedback {
  min-height: 20px;
  margin: -8px 0 18px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
[data-filter-item][hidden] { display: none !important; }
.product-card-main {
  display: flex;
  height: 100%;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.product-card-main:hover h3,
.linked-product-card:hover h3 { color: #ff6a00; }
.product-card-main .text-link,
.linked-product-card .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.linked-product-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.linked-product-card .text-link { margin-top: auto; padding-top: 12px; }
