/* HELEOS informational guides — layout adapted from the supplied Figma file. */
.page-catalog .guide-page {
  --guide-bg: #f3f5f8;
  --guide-surface: #fff;
  --guide-ink: #22242a;
  --guide-muted: #737780;
  --guide-line: #e1e5eb;
  --guide-blue: #34429b;
  --guide-blue-deep: #202b79;
  --guide-soft-blue: #eef1fb;
  --guide-warm: #f9f1e8;
  background: var(--guide-bg);
  color: var(--guide-ink);
  padding-bottom: 92px;
}
.guide-wide {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}
.guide-content {
  width: min(920px, calc(100% - 64px));
  margin-inline: auto;
}
.guide-hero {
  padding: 0 0 54px;
  background: var(--guide-bg);
}
.guide-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 67px;
  color: #8c9098;
  font-size: 13px;
  line-height: 1.4;
}
.guide-breadcrumbs a { transition: color .18s ease; }
.guide-breadcrumbs a:hover { color: var(--guide-blue); }
.guide-breadcrumbs b { color: #51545b; font-weight: 500; }
.guide-breadcrumbs span { color: #b5b8bf; }
.guide-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 490px);
  align-items: stretch;
  min-height: 348px;
  overflow: hidden;
  border: 1px solid #e5e8ed;
  border-radius: 16px;
  background: #fff;
}
.guide-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 42px 48px 44px;
}
.guide-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 15px;
  padding: 7px 11px 6px;
  border-radius: 7px;
  background: var(--guide-soft-blue);
  color: var(--guide-blue);
  font-size: 11px;
  line-height:var(--type-label-line-height);
  font-weight: 800;
  letter-spacing:var(--type-letter-spacing);
  text-transform: uppercase;
}
.guide-hero h1 {
  max-width: 690px;
  margin: 0;
  color: #1f2127;
  font-family: var(--type-display);
  font-size: clamp(42px, 4.05vw, 58px);
  line-height:var(--type-h1-line-height);
  font-weight: 700;
  letter-spacing:var(--type-letter-spacing);
}
.guide-hero-copy > p {
  max-width: 650px;
  margin: 19px 0 0;
  color: #676b74;
  font-size: 16px;
  line-height:var(--type-body-line-height);
}
.guide-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}
.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.guide-btn-primary { background: var(--guide-blue); color: #fff; }
.guide-btn-primary:hover { background: var(--guide-blue-deep); }
.guide-btn-secondary { border-color: #d8dce4; background: #fff; color: #333840; }
.guide-btn-secondary:hover { border-color: #bfc5d1; color: var(--guide-blue); }
.guide-hero-media {
  position: relative;
  min-height: 346px;
  background: #e9ebee;
}
.guide-hero-media:after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
.guide-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guide-toc-section { padding: 26px 0 38px; }
.guide-toc {
  padding: 28px 34px 30px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}
.guide-toc > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}
.guide-toc h2,
.guide-section h2 {
  margin: 0;
  color: #24262c;
  font-size: clamp(30px, 3vw, 34px);
  line-height:var(--type-h2-line-height);
  font-weight: 650;
  letter-spacing:var(--type-letter-spacing);
}
.guide-toc header p {
  margin: 7px 0 0;
  color: #8b8e95;
  font-size: 13px;
}
.guide-toc header > a {
  flex: 0 0 auto;
  color: var(--guide-blue);
  font-size: 13px;
  font-weight: 700;
}
.guide-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid #eceef2;
}
.guide-toc-grid a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 7px;
  min-height: 55px;
  border-bottom: 1px solid #eceef2;
  color: #3d4046;
  transition: color .18s ease, background .18s ease;
}
.guide-toc-grid a:hover { color: var(--guide-blue); }
.guide-toc-grid span {
  color: #a0a4ad;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.guide-toc-grid b { font-size: 14px; line-height: 1.35; font-weight: 600; }
.guide-toc-grid i { color: #afb3bc; font-size: 22px; font-style: normal; text-align: right; }

.guide-section {
  scroll-margin-top: 190px;
  padding: 53px 0 25px;
  background: var(--guide-bg);
}
.guide-section h2 { margin-bottom: 18px; }
.guide-copy {
  max-width: 860px;
  margin: 0 0 13px;
  color: #5b5f67;
  font-size: 16px;
  line-height: 1.66;
}
.guide-copy strong { color: #2d3036; }
.guide-subsection {
  margin-top: 34px;
  scroll-margin-top: 190px;
}
.guide-subsection > h3 {
  margin: 0 0 12px;
  color: #292c32;
  font-size: 23px;
  line-height:var(--type-h3-line-height);
  font-weight: 650;
  letter-spacing:var(--type-letter-spacing);
}

.guide-card-grid,
.guide-spec-grid {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}
.guide-card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-card {
  position: relative;
  min-width: 0;
  min-height: 170px;
  padding: 24px 24px 22px;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
}
.guide-card.tone-warm { background: var(--guide-warm); border-color: #eee1d2; }
.guide-card.tone-blue { background: var(--guide-soft-blue); border-color: #dde2f4; }
.guide-card-grid.is-compact .guide-card { min-height: 140px; }
.guide-card-number,
.guide-card-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--guide-blue);
  font-size: 11px;
  line-height:var(--type-display-line-height);
  font-weight: 800;
  letter-spacing:var(--type-letter-spacing);
  text-transform: uppercase;
}
.guide-card-number {
  width: 31px;
  height: 31px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: var(--guide-soft-blue);
  line-height:var(--type-display-line-height);
  text-align: center;
}
.guide-card-value {
  display: block;
  margin-bottom: 12px;
  color: #292d34;
  font-size: 28px;
  line-height:var(--type-display-line-height);
  font-weight: 650;
  letter-spacing:var(--type-letter-spacing);
}
.guide-card h3,
.guide-spec h3 {
  margin: 0 0 9px;
  color: #2b2e34;
  font-size: 17px;
  line-height:var(--type-h3-line-height);
  font-weight: 700;
}
.guide-card-subtitle {
  margin: -3px 0 10px !important;
  color: var(--guide-blue) !important;
  font-weight: 650;
}
.guide-card > p,
.guide-spec p {
  margin: 0;
  color: #6f737c;
  font-size: 14px;
  line-height:var(--type-body-line-height);
}
.guide-checks {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.guide-checks li {
  position: relative;
  padding-left: 18px;
  color: #565a62;
  font-size: 13px;
  line-height:var(--type-body-line-height);
}
.guide-checks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--guide-blue);
  font-weight: 800;
}
.guide-card-note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #eaecf0;
  color: #858991;
  font-size: 12px;
  line-height: 1.45;
}
.guide-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-spec {
  min-height: 155px;
  padding: 23px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1e5ea;
}
.guide-spec > strong {
  display: block;
  margin-bottom: 16px;
  color: var(--guide-blue);
  font-size: 27px;
  line-height:var(--type-h3-line-height);
  letter-spacing:var(--type-letter-spacing);
}

.guide-callout {
  margin-top: 22px;
  padding: 20px 24px;
  border-left: 3px solid #bbc1cd;
  border-radius: 0 10px 10px 0;
  background: #fff;
}
.guide-callout.is-accent { border-left-color: var(--guide-blue); background: #f0f2fb; }
.guide-callout strong { display: block; margin-bottom: 5px; color: #2f3238; font-size: 14px; }
.guide-callout p { margin: 0; color: #696d75; font-size: 14px; line-height:var(--type-body-line-height); }

.guide-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid #e0e4e9;
  border-radius: 12px;
  background: #fff;
}
.guide-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.guide-table th,
.guide-table td { padding: 15px 18px; border-bottom: 1px solid #eceef1; text-align: left; vertical-align: top; }
.guide-table th { background: #f7f8fa; color: #4b4f57; font-size: 12px; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
.guide-table td { color: #5c6068; font-size: 14px; line-height: 1.45; }
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table td:first-child { color: #2e3137; font-weight: 650; }

.guide-product-strip {
  margin-top: 30px;
  padding: 28px 28px 30px;
  border-top: 4px solid var(--guide-blue);
  border-radius: 12px;
  background: #fff;
}
.guide-product-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 23px;
}
.guide-product-strip-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--guide-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.guide-product-strip-head h3 { margin: 0; color: #292c32; font-size: 22px; line-height:var(--type-h3-line-height); letter-spacing:var(--type-letter-spacing); }
.guide-product-strip-head p { margin: 6px 0 0; color: #868a92; font-size: 13px; line-height:var(--type-body-line-height); }
.guide-product-strip-head > a { flex: 0 0 auto; color: var(--guide-blue); font-size: 13px; font-weight: 700; }
.guide-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.guide-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}
.guide-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 18px;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}
.guide-product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.guide-product-body { padding: 18px; }
.guide-product-price { display: block; margin-bottom: 8px; color: #272a30; font-size: 18px; line-height: 1.15; }
.guide-product-title { display: block; min-height: 42px; color: #383b42; font-size: 14px; line-height: 1.45; font-weight: 650; }
.guide-product-title:hover { color: var(--guide-blue); }
.guide-product-meta { min-height: 36px; margin: 10px 0 14px; color: #8b8e95; font-size: 11px; line-height: 1.45; }
.guide-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  background: #f0f2fb;
  color: var(--guide-blue);
  font-size: 12px;
  font-weight: 750;
}
.guide-product-button:hover { background: #e6e9f8; }

.guide-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}
.guide-scenario {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e4e9;
  border-radius: 12px;
  background: #fff;
}
.guide-scenario header { min-height: 105px; padding: 20px 21px 18px; background: #f0f2fb; }
.guide-scenario header span { display: block; margin-bottom: 8px; color: var(--guide-blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.guide-scenario header h3 { margin: 0; color: #292c32; font-size: 20px; line-height:var(--type-h3-line-height); letter-spacing:var(--type-letter-spacing); }
.guide-scenario dl { margin: 0; padding: 9px 20px 0; }
.guide-scenario dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.guide-scenario dt { color: #9699a0; font-size: 11px; }
.guide-scenario dd { margin: 0; color: #484b52; font-size: 12px; font-weight: 650; text-align: right; }
.guide-scenario-fits,
.guide-scenario-note { margin: 14px 20px 0; color: #656972; font-size: 12px; line-height: 1.5; }
.guide-scenario-note { color: #7a6a48; }
.guide-scenario > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  margin: auto 20px 20px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--guide-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}
.guide-scenario > a:hover { background: var(--guide-blue-deep); }

.guide-faq { padding-bottom: 0; }
.guide-faq-list { margin-top: 24px; border-top: 1px solid #dde1e7; }
.guide-faq details { border-bottom: 1px solid #dde1e7; }
.guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 16px 2px;
  color: #33363c;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--guide-blue);
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
  transition: transform .18s ease;
}
.guide-faq details[open] summary span { transform: rotate(45deg); }
.guide-faq details > div { padding: 0 54px 20px 2px; }
.guide-faq details p { max-width: 760px; margin: 0; color: #71757d; font-size: 14px; line-height:var(--type-body-line-height); }

@media (max-width: 1060px) {
  .guide-hero-card { grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); }
  .guide-hero-copy { padding: 36px; }
  .guide-card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-product-image { height: 190px; }
}

@media (max-width: 820px) {
  .guide-wide,
  .guide-content { width: min(100% - 36px, 920px); }
  .guide-hero { padding-bottom: 36px; }
  .guide-breadcrumbs { min-height: 58px; }
  .guide-hero-card { grid-template-columns: 1fr; }
  .guide-hero-copy { padding: 35px 30px; }
  .guide-hero-media { min-height: 300px; order: -1; }
  .guide-hero-media:after { display: none; }
  .guide-toc-section { padding-top: 18px; }
  .guide-toc { padding: 25px 25px 27px; }
  .guide-toc-grid { grid-template-columns: 1fr; }
  .guide-toc > header { align-items: start; }
  .guide-card-grid.cols-3,
  .guide-spec-grid,
  .guide-product-grid,
  .guide-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-product-grid > :last-child:nth-child(odd),
  .guide-scenarios > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .guide-product-image { height: 220px; }
}

@media (max-width: 620px) {
  .page-catalog .guide-page { padding-bottom: 68px; }
  .guide-wide,
  .guide-content { width: calc(100% - 28px); }
  .guide-breadcrumbs { min-height: 52px; font-size: 12px; }
  .guide-hero-card { border-radius: 13px; }
  .guide-hero-media { min-height: 230px; }
  .guide-hero-copy { padding: 29px 22px 31px; }
  .guide-label { margin-bottom: 12px; }
  .guide-hero h1 { font-size: 40px; }
  .guide-hero-copy > p { margin-top: 15px; font-size: 15px; }
  .guide-hero-actions { align-items: stretch; margin-top: 22px; }
  .guide-btn { flex: 1 1 100%; }
  .guide-toc { padding: 22px 19px 23px; }
  .guide-toc > header { display: block; padding-bottom: 17px; }
  .guide-toc header > a { display: inline-block; margin-top: 12px; }
  .guide-toc-grid a { min-height: 54px; grid-template-columns: 30px minmax(0,1fr) 16px; }
  .guide-section { padding: 42px 0 17px; }
  .guide-section h2 { font-size: 29px; }
  .guide-copy { font-size: 15px; line-height: 1.63; }
  .guide-subsection { margin-top: 28px; }
  .guide-subsection > h3 { font-size: 21px; }
  .guide-card-grid.cols-2,
  .guide-card-grid.cols-3,
  .guide-card-grid.cols-4,
  .guide-spec-grid,
  .guide-product-grid,
  .guide-scenarios { grid-template-columns: 1fr; }
  .guide-product-grid > :last-child:nth-child(odd),
  .guide-scenarios > :last-child:nth-child(odd) { grid-column: auto; }
  .guide-card,
  .guide-spec { min-height: 0; padding: 21px; }
  .guide-product-strip { padding: 23px 17px 20px; }
  .guide-product-strip-head { display: block; }
  .guide-product-strip-head > a { display: inline-block; margin-top: 12px; }
  .guide-product-image { height: 245px; }
  .guide-scenario header { min-height: 0; }
  .guide-faq summary { font-size: 14px; }
  .guide-faq details > div { padding-right: 4px; }
}

/* === v22: Apple-inspired guide typography ============================== */
.guide-page,
.guide-page * {
  font-family: var(--type-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif);
}
.guide-page h1,
.guide-page h2,
.guide-page h3,
.guide-page h4 {
  font-family: var(--type-display, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif);
  letter-spacing:var(--type-letter-spacing);
  font-weight: 600;
}
.guide-page h1 { line-height:var(--type-h1-line-height); }
.guide-page h2 { line-height:var(--type-h2-line-height); }
.guide-page h3 { line-height:var(--type-h3-line-height); }
.guide-page p,
.guide-page li { line-height:var(--type-body-line-height); letter-spacing:var(--type-letter-spacing); }
