/* Quasar editorial pages. Shared store tokens keep the catalogue and the range together. */
.q-page { padding-bottom: 64px; }
.q-page .wrap { max-width: var(--maxw); }
.q-page h1 { font-size: var(--type-page-title); line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); margin: 12px 0 16px; }
.q-page h2 { font-size: var(--type-section-title); line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); margin: 8px 0 16px; }
.q-page h3 { font-size: var(--type-card-title); line-height: 1.3; margin: 0 0 12px; }
.q-page p, .q-page li, .q-page dd { line-height: 1.6; color: var(--text-dim); }
.q-page p { margin: 0 0 18px; }
.q-page a:not(.btn) { color: var(--quasar-bright); }
.q-page .eyebrow { color: var(--quasar-bright); }
.q-subnav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.q-subnav a { padding: 9px 0; font-size: .86rem; font-weight: 600; text-decoration: none; }
.q-subnav a[aria-current="page"] { color: var(--text); box-shadow: 0 2px var(--quasar); }
.q-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); padding: 30px 0; }
.q-hero:has(> :only-child), .q-hero--text { display: block; max-width: 960px; }
.q-hero > *, .q-grid-2 > *, .q-grid-3 > *, .q-grid-4 > * { min-width: 0; }
.q-lead { font-size: 1rem; max-width: 720px; }
.q-hero-media { margin: 0; }
.q-hero-media img { width: 100%; height: auto; display: block; border-radius: 18px; }
.q-hero-media figcaption, .q-page figcaption { color: var(--text-dim); font-size: .8rem; line-height: 1.6; padding: 12px 0 0; }
.q-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.q-actions .btn { white-space: normal; text-align: center; }
.q-section { border-top: 1px solid var(--line); padding: 28px 0; scroll-margin-top: 110px; }
.q-section > p { max-width: 860px; }
.q-grid-2, .q-grid-3, .q-grid-4 { display: grid; gap: 18px; margin-top: 20px; }
.q-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.q-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.q-card p:last-child { margin-bottom: 0; }
.q-card .eyebrow { display: block; margin-bottom: 14px; font-size: .7rem; }
.q-card ul { padding-left: 20px; }
.q-card dt { font-weight: 600; margin-top: 18px; }
.q-card dd { margin: 5px 0 0; }
.q-card .q-price { color: var(--text); font-size: 1.2rem; font-weight: 600; }
.q-card > a:last-child { display: inline-block; margin-top: 12px; }
.q-tier-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 24px; padding: 30px 0 20px; margin: 0; }
.q-tier-bar li { border-top: 4px solid #578ddd; padding-top: 18px; }
.q-tier-bar li:nth-child(2) { border-color: #54b7d3; }
.q-tier-bar li:nth-child(3) { border-color: #8baad4; }
.q-tier-bar li:nth-child(4) { border-color: #c9d6e8; }
.q-tier-bar a { display: block; font-weight: 700; line-height: 1.4; text-decoration: none; margin: 8px 0; }
.q-tier-bar span { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.q-tier-bar p { font-size: .88rem; line-height: 1.65; }
.q-statement { color: var(--text) !important; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45 !important; max-width: 1000px !important; }
.q-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 28px; }
.q-stat { border-left: 2px solid var(--quasar); padding: 6px 18px; }
.q-stat strong { display: block; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; color: var(--text); letter-spacing: -.04em; }
.q-stat span { display: block; color: var(--text-dim); font-size: .85rem; margin-top: 10px; line-height: 1.5; }
.q-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; margin: 24px 0; }
.q-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .91rem; }
.q-table caption { text-align: left; padding: 18px; color: var(--text-dim); }
.q-table th, .q-table td { position: relative; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.q-table thead th { background: var(--surface-soft); color: var(--text); }
.q-table tbody th { font-weight: 500; }
.q-table td { color: var(--text-dim); }
.q-table-group th, .q-table .q-table-group th { background: var(--quasar-tint); color: var(--quasar-bright); font-weight: 600; }
.q-table--compare { min-width: 790px; }
.q-table--compare td { text-align: center; font-size: 1.15rem; }
.q-notes { color: var(--text-dim); font-size: .86rem; line-height: 1.75; }
.q-notes p { margin-bottom: 12px; }
.q-grid-2 + .q-notes, .q-grid-3 + .q-notes, .q-stat-grid + .q-notes { margin-top: 18px; }
.q-contact .q-actions + p { margin-top: 18px; }
.q-contact { padding: clamp(22px, 3vw, 32px); background: linear-gradient(120deg, var(--surface-soft), var(--bg-soft)); border: 1px solid var(--line-2); border-radius: 20px; margin: 20px 0 0; }
.q-contact p { max-width: 780px; }
.q-contact h2 { max-width: 820px; }
.q-contact a { overflow-wrap: anywhere; }
.q-page a:focus-visible, .q-table-wrap:focus-visible { outline: 2px solid var(--quasar-bright); outline-offset: 5px; }
.q-brochures { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-brochures a { display: block; padding: 20px; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; }
.q-brochures a:hover { background: var(--surface); }
@media (max-width: 960px) {
  .q-grid-4, .q-tier-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-grid-3 { grid-template-columns: 1fr; }
  .q-hero { grid-template-columns: 1fr; padding: 26px 0; gap: 22px; }
  .q-hero-media { max-width: 720px; }
}
@media (max-width: 600px) {
  .q-subnav { gap: 4px 18px; }
  .q-subnav a { font-size: .8rem; }
  .q-grid-2, .q-grid-4, .q-brochures { grid-template-columns: 1fr; }
  .q-tier-bar { gap: 22px 18px; }
  .q-section { padding: 24px 0; }
  .q-card { padding: 22px; }
  .q-actions { align-items: stretch; }
  .q-actions .btn { flex: 1 1 220px; }
}

/* One purchase journey across the range and the existing package pages. */
.q-subnav .q-nav-shop { margin-left: auto; font-weight: 700; }
.q-shopping-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 24px; margin: 0 0 28px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--quasar-tint); }
.q-shopping-intro h2 { font-size: var(--type-subsection-title); }
.q-shopping-intro .q-notes { margin-top: 18px; }
.q-package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.q-package-card { padding: 9px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.q-package-image { background: var(--tile); display: block; border-radius: 11px; overflow: hidden; }
.q-package-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; box-sizing: border-box; }
.q-package-body { padding: 12px 5px 6px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.q-package-body .eyebrow { font-size: .67rem; margin-bottom: 12px; }
.q-package-body h3 { font-family: var(--body); font-size: var(--type-card-title); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.q-package-purpose { color: var(--text) !important; font-weight: 600; }
.q-package-body > p { font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
.q-package-body .q-notes { font-size: .8rem; }
.q-package-price { min-height: 64px; margin-top: auto; padding: 14px 0 18px; line-height: 1.5; color: var(--text-dim); font-size: .9rem; }
.q-package-price strong { display: block; color: var(--text); font-family: var(--mono); font-size: 1.25rem; font-weight: 600; }
.q-package-price strong span { display: inline-block; font-size: .7rem; font-weight: 500; }
.q-package-price small { display: block; font-size: .74rem; margin-top: 4px; }
.q-package-body > .btn { min-height: 44px; padding: 10px; font-size: 13px; width: 100%; white-space: normal; text-align: center; }
.q-package-details { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; margin-top: 4px; }
.q-purchase-note, .q-availability { padding: 26px; margin: 26px 0; border: 1px solid var(--line-2); background: var(--surface-soft); border-radius: 14px; }
.q-purchase-note p { margin: 8px 0 0; font-size: .9rem; }
.q-availability { scroll-margin-top: 110px; }
.q-availability h2 { font-size: var(--type-section-title); }
.q-guide-price { padding: 18px 0; border-bottom: 1px solid var(--line); }
.q-guide-price summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.q-guide-price p { margin-top: 14px; font-size: .9rem; }
.q-offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding: 28px; border: 1px solid var(--quasar); background: var(--quasar-tint); border-radius: 16px; margin-top: 28px; }
.q-offer h3 { font-size: var(--type-subsection-title); }
.q-offer p:last-child { margin-bottom: 0; }
.q-offer .q-package-price { margin: 0; }
@media (max-width: 1080px) { .q-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .q-shopping-intro, .q-offer { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .q-package-grid { grid-template-columns: 1fr; }
  .q-subnav .q-nav-shop { margin-left: 0; }
  .q-package-body { padding: 14px 7px 6px; }
}
.q-wide-visual { margin: 28px 0; }
.q-wide-visual img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); }
.q-process { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.q-process li { min-width: 0; border-top: 2px solid var(--quasar); padding-top: 18px; position: relative; }
.q-process li:not(:last-child)::after { content: '→'; position: absolute; top: -18px; right: -18px; color: var(--quasar-bright); font-size: 22px; }
.q-process span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.q-process strong { display: block; color: var(--text); line-height: 1.4; margin: 10px 0; }
.q-process p { font-size: .9rem; }
.q-range-demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.q-range-demo .pdp-journey-copy { grid-column: auto; }
.q-range-demo .pdp-journey-player { min-width: 0; margin: 0; }
.q-range-demo .pdp-journey-stage { aspect-ratio: 1; height: auto; }
.q-range-demo .pdp-journey-stage > svg { display: block; width: 100%; height: 100%; }
.q-range-demo .pdp-journey-note { font-size: .76rem; }
.q-scene-demo { padding: 30px; border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(160deg, var(--quasar-tint), var(--surface)); }
.q-scene-demo h2 { font-size: var(--type-subsection-title); }
.q-scene-tabs { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.q-scene-tabs .btn { min-height: 44px; }
.q-scene-demo dl { margin: 0 0 20px; }
.q-scene-demo dl div { padding: 15px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 20px; }
.q-scene-demo dd { margin: 0; color: var(--quasar-bright); text-align: right; }
.q-architecture { margin: 30px 0; }
.q-architecture-lane { padding: 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.q-architecture .q-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-architecture-cloud { background: var(--quasar-tint); }
.q-link-label { text-align: center; padding: 15px; margin: 0 !important; font-size: .85rem; }
@media (max-width: 900px) { .q-range-demo { grid-template-columns: 1fr; } .q-range-demo .pdp-journey-player { max-width: 680px; width: 100%; justify-self: center; } }
@media (max-width: 600px) {
  .q-process, .q-architecture .q-process { grid-template-columns: 1fr; gap: 14px; }
  .q-process li { border-top: 0; border-left: 2px solid var(--quasar); padding: 0 0 12px 18px; }
  .q-process li:not(:last-child)::after { content: '↓'; top: auto; bottom: -16px; right: auto; left: -7px; }
  .q-process p { margin-bottom: 8px; }
  .q-range-demo .pdp-journey-stage { aspect-ratio: 650 / 1000; }
  .q-scene-demo, .q-architecture-lane { padding: 22px; }
}
.q-subnav { position: sticky; top: var(--header-h, 70px); z-index: 25; background: var(--bg); }
.q-section, .q-availability { scroll-margin-top: 150px; }
.q-table-wrap:has(.q-table--compare) { max-height: min(72vh, 900px); overflow: auto; }
.q-table--compare thead th { position: sticky; top: 0; z-index: 4; }
.q-table--compare tr > th:first-child { position: sticky; left: 0; z-index: 2; background: var(--surface); }
.q-table--compare thead th:first-child { z-index: 5; background: var(--surface-soft); }
.q-table--compare .q-table-group th:first-child { background: var(--surface-soft); color: var(--quasar-bright); }
@media (max-width: 600px) {
  .q-subnav { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; padding: 8px 0; gap: 20px; }
  .q-section, .q-availability { scroll-margin-top: 130px; }
  .q-table--compare tr > th:first-child { max-width: 160px; min-width: 160px; }
}

/* Parallel on-board roles must not imply serial device routing. */
.q-process.q-process--parallel li::after { content: none; }

/* Standard catalogue cards on the ONE landing retain the store type scale. */
.q-page .pcard h3 { font-family: var(--body); font-size: 14px; margin: 5px 0 0; }
.q-page .pcard .pcard-desc { line-height: 1.4; margin: 6px 0 0; }

/* Match the Safiery reading scale; keep touch targets comfortable. */
.q-page { font-size: 14px; }
.q-page .btn { font-size: 13px; padding: 10px 14px; min-height: 44px; }
.q-page .q-notes { font-size: 12px; line-height: 1.55; }
.q-page .q-section > p { max-width: 78ch; }
.q-range-menu { position: relative; min-width: 200px; }
.q-range-menu summary { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; font-weight: 600; color: var(--text); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); list-style: none; transition: background .14s, border-color .14s, color .14s; }
.q-range-menu summary::-webkit-details-marker { display: none; }
.q-range-menu summary::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s; }
.q-range-menu[open] summary { color: var(--brand-ink); border-color: var(--brand); background: var(--brand-tint); }
.q-range-menu[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.q-range-label { color: var(--text-dim); font-size: 11px; font-weight: 500; }
.q-range-links { position: absolute; left: 0; top: calc(100% + 8px); width: 260px; max-width: calc(100vw - 48px); max-height: min(65dvh, 380px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 16px 40px #0006; z-index: 30; }
.q-page .q-range-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; color: var(--text-dim); line-height: 1.4; white-space: normal; }
.q-page .q-range-links a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-tint); box-shadow: none; }
.q-range-links a + a { margin-top: 4px; }
.q-subnav { align-items: center; gap: 12px 20px; padding: 8px 0; overflow: visible; }
.q-subnav > a { display: flex; align-items: center; min-height: 44px; }
.q-range-menu summary:focus-visible, .q-page .q-range-links a:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
@media (hover: hover) {
  .q-range-menu summary:hover, .q-page .q-range-links a:hover { color: var(--brand-ink); background: var(--brand-tint); }
}
/* Centre the note on its complete figure, including the compact category film. */
.q-page .pdp-journey-note { width: 100%; max-width: none; margin-inline: auto; text-align: center; }
.q-overview-film { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--surface); }
.q-overview-film .q-category-film .pdp-journey-stage { width: min(100%, 330px); }
.q-overview-film .q-category-film h4 { font-size: 16px; }
.q-tier-card { display: flex; flex-direction: column; }
.q-tier-image { width: 100%; height: 132px; object-fit: contain; border-radius: 8px; margin-bottom: 18px; background: var(--bg-soft); }
.q-tier-card > a:last-child { margin-top: auto; padding-top: 12px; }
.q-tier-card:nth-child(2) { border-color: var(--quasar); background: linear-gradient(180deg, var(--quasar-tint), var(--surface)); }
.q-wide-visual img { max-height: 380px; object-fit: contain; background: var(--bg-soft); }
.q-table--compare { table-layout: fixed; min-width: 760px; }
.q-table--compare tr > :first-child { width: 44%; }
.q-table--compare thead th:not(:first-child) { text-align: center; border-top: 3px solid var(--quasar); }
.q-table--compare tr:not(.q-table-group) > :nth-child(2) { background-color: #578ddd0c; }
.q-table--compare tr:not(.q-table-group) > :nth-child(3) { background-color: #54b7d31b; }
.q-table--compare tr:not(.q-table-group) > :nth-child(4) { background-color: #8baad40e; }
.q-table--compare tr:not(.q-table-group) > :nth-child(5) { background-color: #c9d6e818; }
.q-table--compare thead th:not(:first-child) { background-color: var(--surface-soft); }
.q-table--compare .q-coverage-included { color: var(--quasar-bright); }
.q-table--compare .q-coverage-optional { color: var(--text); }
.q-table--compare .q-coverage-excluded { color: var(--text-muted); background-color: transparent !important; }
.q-table--compare tbody tr:not(.q-table-group):hover > * { box-shadow: inset 0 0 0 999px #67cdeb09; }
@media (max-width: 600px) {
  .q-subnav { gap: 8px; }
  .q-range-menu { flex: 1; min-width: 0; }
  .q-range-menu summary { font-size: 12px; gap: 8px; padding-inline: 10px; white-space: normal; line-height: 1.3; }
  .q-range-label { display: none; }
  .q-subnav > a { font-size: 11px; white-space: normal; text-align: center; max-width: 92px; }
  .q-overview-film { padding: 14px; }
  .q-overview-film .q-category-film .pdp-journey-stage { aspect-ratio: 1; }
  .q-card { padding: 18px; }
  .q-package-price { min-height: 0; padding: 10px 0; }
  .q-package-body > p { font-size: 13px; }
  .q-contact .q-actions { gap: 8px; }
  .q-table--compare { min-width: 680px; }
  .q-table--compare tr > :first-child { width: 190px; }
}

/* Local page links complement the single global Quasar destination menu. */
.q-subnav:has(.q-section-links) { flex-wrap: nowrap; gap: 12px; white-space: normal; }
.q-section-links { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.q-subnav .q-section-links a, .q-subnav .q-section-home, .q-subnav:has(.q-section-links) .q-nav-shop { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; line-height: 1.3; text-align: center; font-size: 13px; }
.q-subnav .q-section-home { color: var(--text-dim); flex-shrink: 0; padding-left: 0; }
.q-subnav .q-section-links a[aria-current="location"] { color: var(--brand-ink); background: var(--brand-tint); box-shadow: inset 0 -2px var(--brand); }
.q-subnav:has(.q-section-links) .q-nav-shop { margin-left: auto; max-width: 170px; flex-shrink: 0; border: 1px solid var(--line-2); }
.q-page [id] { scroll-margin-top: var(--q-anchor-offset, 150px); }
.q-section-intro { padding: 16px 18px; border-left: 2px solid var(--brand); background: var(--brand-tint); border-radius: 0 10px 10px 0; }
@media (hover: hover) { .q-subnav .q-section-links a:hover { color: var(--brand-ink); background: var(--brand-tint); } }
@media (max-width: 760px) {
  .q-subnav:has(.q-section-links) { position: static; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0 12px; }
  .q-subnav .q-section-home { font-size: 12px; max-width: none; }
  .q-subnav .q-section-links { order: 3; flex-basis: 100%; gap: 4px 8px; }
  .q-subnav .q-section-links a { flex: 1 1 auto; padding: 9px 10px; font-size: 12px; background: var(--surface); border: 1px solid var(--line); }
  .q-subnav:has(.q-section-links) .q-nav-shop { max-width: 160px; margin-left: auto; font-size: 12px; }
  .q-page [id] { scroll-margin-top: var(--q-anchor-offset, 90px); }
}

@media (max-width: 760px) {
  .q-subnav:has(.q-section-links):not(:has(.q-section-home)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
  .q-subnav:not(:has(.q-section-home)) .q-section-links { display: contents; }
  .q-subnav:has(.q-section-links):not(:has(.q-section-home)) .q-nav-shop { max-width: none; margin-left: 0; }
}

/* Present ONE's onboard unit and cloud twin together, with detail one tap away. */
.q-one-hero { align-items: start; row-gap: 0; }
.q-one-heading { grid-column: 1; grid-row: 1; }
.q-one-hero .q-hero-copy { grid-column: 1; grid-row: 2; }
.q-one-visuals { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.q-one-visual { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.q-one-visual > a { display: block; }
.q-one-visual img { display: block; width: 100%; height: 200px; object-fit: contain; background: var(--bg-soft); }
.q-one-visual--hardware img { padding: clamp(10px, 1.4vw, 18px); }
.q-one-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.q-one-stats .q-stat { min-width: 0; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.q-one-stats .q-stat strong { font-size: var(--type-subsection-title); font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.q-one-stats .q-stat span { font-size: 13px; margin-top: 6px; }
.q-page .q-one-visual figcaption { display: grid; padding: 14px; }
.q-one-visual figcaption > span { color: var(--text-dim); font-size: 12px; }
.q-one-visual figcaption > strong { color: var(--text); font-size: 17px; line-height: 1.4; }
.q-one-visual figcaption > a { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 13px; font-weight: 600; text-decoration: none; }
.q-one-visual a:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: -3px; border-radius: 4px; }
.q-page .q-one-visual-note { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 12px; }
@media (min-width: 761px) and (max-width: 960px) {
  .q-one-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .q-one-visual img { height: 160px; }
}
@media (max-width: 760px) {
  /* Match the compact landscape media height used on Safiery product pages. */
  .q-one-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-hero-media img { height: auto; max-height: clamp(200px, 62vw, 280px); object-fit: contain; background: var(--bg-soft); border-radius: 14px; }
  .q-wide-visual img { max-height: 280px; }
  .q-package-image img { aspect-ratio: 16 / 9; max-height: 230px; padding: 12px; }
  .q-one-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .q-one-visuals { align-self: stretch; gap: 10px; margin: 0 0 20px; }
  .q-one-visual img { height: clamp(110px, 34vw, 160px); }
  .q-page .q-one-visual figcaption { padding: 10px 12px 6px; }
  .q-one-visual figcaption > strong { font-size: 15px; }
  .q-one-visual figcaption > a { font-size: 12px; line-height: 1.4; }
  .q-one-hero .q-actions { margin-top: 0; }
}
