.yqy-guide-page {
  --portal-blue: #6d28d9;
  --portal-blue-dark: #4c1d95;
  --portal-orange: #7c3aed;
  --portal-navy: #24123d;
  --portal-ink: #2b2142;
  --portal-muted: #776c8d;
  --portal-line: #e8e0f2;
  --portal-bg: #f6f3fa;
  background: var(--portal-bg);
}

.yqy-guide-page .portal-topline { background: #24123d; color: #eee5ff; }
.yqy-guide-page .portal-header { background: rgba(255,255,255,.98); box-shadow: 0 5px 20px rgba(51,25,90,.1); }
.yqy-guide-page .portal-logo { color: #4f1ca4; }
.yqy-guide-page .portal-logo-mark { background: #6d28d9; box-shadow: 0 9px 22px rgba(109,40,217,.25); }
.yqy-guide-page .portal-nav { background: #4b1a8f; }
.yqy-guide-page .portal-nav-link:hover,
.yqy-guide-page .portal-nav-link:focus-visible,
.yqy-guide-page .portal-nav-link.is-active { background: #6422bb; }
.yqy-guide-page .portal-button { background: #6d28d9; }
.yqy-guide-page .portal-button.light { border-color: #dfd3f0; background: #fff; color: #5a2b9d; }
.yqy-guide-page .portal-button.orange { background: #6d28d9; }

.guide-header-search { display: flex; max-width: 590px; flex: 1; overflow: hidden; border: 1px solid #dcd2eb; border-radius: 8px; background: #fff; }
.guide-header-search input { min-width: 0; flex: 1; height: 46px; padding: 0 17px; border: 0; outline: 0; color: var(--portal-ink); }
.guide-header-search button { min-width: 122px; border: 0; background: #5b21b6; color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }

.guide-main { padding: 34px 0 70px; }
.guide-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 40px; min-height: 330px; padding: 54px 58px; border-radius: 18px; background: #211438; color: #fff; box-shadow: 0 18px 42px rgba(48,22,83,.18); }
.guide-eyebrow { margin: 0 0 12px; color: #bb9cff; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.guide-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -.045em; }
.guide-hero > div > p:not(.guide-eyebrow) { max-width: 670px; margin: 18px 0 0; color: #d7cde7; font-size: 14px; line-height: 1.85; }
.guide-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.guide-primary-button, .guide-secondary-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 7px; font-size: 12px; font-weight: 800; }
.guide-primary-button { background: #8b5cf6; color: #fff; }
.guide-secondary-button { border: 1px solid #80669f; color: #efe8fb; }
.guide-hero-panel { display: grid; gap: 10px; padding: 22px; border: 1px solid #6f528e; border-radius: 13px; background: #2d1a4c; }
.guide-hero-panel span { color: #c8b1e9; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-hero-panel strong { color: #fff; font-size: 29px; letter-spacing: -.03em; }
.guide-hero-panel small { color: #cbbddd; font-size: 11px; line-height: 1.7; }

.yqy-guide-page .twofa-guide { margin-top: 26px; border: 1px solid #e6ddf0; border-radius: 16px; background: #fff; box-shadow: 0 14px 38px rgba(51,25,90,.08); }
.yqy-guide-page .twofa-guide-header { background: #fcfaff; }
.yqy-guide-page .twofa-kicker,
.yqy-guide-page .twofa-step-label,
.yqy-guide-page .twofa-box-label { color: #6d28d9; }
.yqy-guide-page .twofa-step-number { background: #4b1a8f; }
.yqy-guide-page .twofa-visual { border-color: #e5dbf0; background: #f8f5fc; }
.yqy-guide-page .twofa-info-box { border-color: #e1d7ef; background: #faf8fd; }
.yqy-guide-page .twofa-info-box.secure { border-color: #eadccf; background: #fffaf5; }
.yqy-guide-page .twofa-inline-link { color: #5b21b6; }

.product-section { margin-top: 28px; padding: 30px 34px 34px; border: 1px solid #e6ddf0; border-radius: 16px; background: #fff; box-shadow: 0 14px 38px rgba(51,25,90,.08); }
.product-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #eee8f5; }
.product-section-heading h2 { margin: 0; color: #2b2142; font-size: 27px; letter-spacing: -.035em; }
.product-section-heading p:not(.guide-eyebrow) { margin: 8px 0 0; color: #887b9d; font-size: 12px; line-height: 1.7; }
.guide-secondary-link { color: #6422bb; font-size: 12px; font-weight: 800; white-space: nowrap; }
.product-group { margin-top: 24px; }
.product-group + .product-group { margin-top: 32px; }
.product-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.product-group-heading h3 { margin: 0; color: #33224d; font-size: 17px; }
.product-group-heading span { color: #988cab; font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.yqy-product-card { overflow: hidden; min-width: 0; border: 1px solid #ebe4f2; border-radius: 12px; background: #fff; color: inherit; box-shadow: 0 5px 16px rgba(57,31,93,.05); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.yqy-product-card:hover, .yqy-product-card:focus-visible { border-color: #cbb3ed; box-shadow: 0 12px 25px rgba(88,35,157,.15); outline: none; transform: translateY(-3px); }
.yqy-product-image { aspect-ratio: 1.35 / 1; display: grid; place-items: center; overflow: hidden; background: #f2edf8; }
.yqy-product-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-placeholder { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: #e8ddf6; color: #6d28d9; font-size: 27px; font-weight: 900; }
.yqy-product-body { padding: 13px 14px 15px; }
.yqy-product-category { color: #8a709f; font-size: 10px; }
.yqy-product-body h4 { min-height: 38px; margin: 7px 0 14px; overflow: hidden; color: #33264a; font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.yqy-product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.yqy-product-meta strong { color: #6d28d9; font-size: 19px; letter-spacing: -.03em; }
.yqy-product-meta span { color: #9a8eaa; font-size: 10px; white-space: nowrap; }
.product-loading, .product-empty { grid-column: 1 / -1; padding: 32px 16px; color: #9488a2; font-size: 12px; text-align: center; }
.product-empty a { display: block; margin-top: 9px; color: #6422bb; font-weight: 800; }

.yqy-guide-page .portal-footer { margin-top: 50px; border-color: #e8e0f2; background: #eeeaf4; }
.yqy-guide-page .portal-footer-links a:hover { color: #6422bb; }

@media (max-width: 960px) {
  .guide-header-search { display: none; }
  .guide-hero { grid-template-columns: 1fr; }
  .guide-hero-panel { max-width: 300px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .guide-container { width: min(100% - 24px, 1180px); }
  .guide-main { padding-top: 20px; }
  .guide-hero { min-height: 0; padding: 32px 24px; border-radius: 13px; gap: 25px; }
  .guide-hero h1 { font-size: 37px; }
  .guide-hero-panel { width: 100%; max-width: none; }
  .product-section { padding: 24px 18px 25px; }
  .product-section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .product-section-heading h2 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .yqy-product-body { padding: 10px; }
  .yqy-product-body h4 { min-height: 44px; font-size: 11px; }
  .yqy-product-meta strong { font-size: 16px; }
  .yqy-product-meta span { display: none; }
}
