:root {
  --qm-ink: #183f46;
  --qm-body: #526a6f;
  --qm-brand: #27545b;
  --qm-teal: #4f7e78;
  --qm-gold: #b18a43;
  --qm-paper: #fffefa;
  --qm-mist: #edf3f1;
  --qm-sand: #f3efe6;
  --qm-line: rgba(39, 84, 91, .17);
  --qm-serif: var(--uro-serif, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif);
  --qm-ui: var(--uro-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif);
}

html { scroll-behavior: smooth; }
body { background: var(--qm-paper); }

/* Approved top-level navigation. */
.uro-global-header.qm-global-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--qm-line);
  background: rgba(255, 254, 250, .96);
  box-shadow: 0 8px 28px rgba(25, 63, 70, .045);
  backdrop-filter: blur(16px);
}
.qm-global-header .uro-global-primary { border: 0; background: transparent; }
.qm-global-header .uro-global-inner {
  width: min(1540px, calc(100% - 38px));
  min-height: 72px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.qm-global-header .uro-global-brand { flex: 0 0 auto; margin-right: 0; }
.qm-global-header .uro-global-brand-mark img { width: 100%; height: 100%; }
.qm-global-header .uro-global-brand strong {
  font-family: var(--uro-wordmark);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.qm-global-header .uro-global-brand small { font-size: 10px; letter-spacing: .15em; }
.qm-global-header .qm-desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(9px, .82vw, 15px);
  margin-left: auto;
}
.qm-global-header .qm-desktop-nav > a {
  position: relative;
  padding: 27px 0 25px;
  color: #314d52;
  font-family: var(--qm-ui);
  font-size: clamp(10px, .68vw, 12px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.qm-global-header .qm-desktop-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--qm-gold);
  content: "";
  transform: scaleX(0);
  transition: transform .25s ease;
}
.qm-global-header .qm-desktop-nav > a:hover::after,
.qm-global-header .qm-desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.qm-global-header .qm-account-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(11px, 1vw, 19px);
  padding-left: clamp(11px, 1vw, 19px);
  border-left: 1px solid var(--qm-line);
  font-family: var(--qm-ui);
}
.qm-global-header .qm-account-nav a { min-height: 42px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; }
.qm-global-header .qm-account-nav .uro-global-account-primary { padding: 0 16px; color: #fff; background: var(--qm-brand); }
.qm-global-header .uro-global-actions { display: none; }
.qm-global-header .uro-global-menu-panel { display: none; }

/* Home hero. Desktop overlays copy on media; mobile separates media and copy. */
.qm-home { color: var(--qm-ink); background: var(--qm-paper); }
.qm-home *, .qm-subhero * { box-sizing: border-box; }
.qm-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.qm-hero { position: relative; height: min(86svh, 820px); min-height: 680px; overflow: hidden; background: #e1eae7; }
.qm-hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s step-end; }
.qm-hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.qm-hero-media { position: absolute; inset: 0; overflow: hidden; background: #e8efed; }
.qm-hero-media img, .qm-hero-media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.qm-hero-slide[data-slide="daily"] .qm-hero-media img { object-position: 58% center; }
.qm-hero-slide[data-slide="summary"] .qm-hero-media img { object-position: 57% center; }
.qm-hero-slide[data-slide="program"] .qm-hero-media { top: 0; background: #e7efed; }
.qm-hero-slide[data-slide="program"] .qm-hero-media video { object-fit: contain; object-position: 76% center; }
.qm-hero-slide[data-slide="about"] .qm-hero-media img { object-position: 68% center; }
.qm-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,254,250,.98) 0%, rgba(255,254,250,.9) 33%, rgba(255,254,250,.18) 64%, transparent 82%); }
.qm-hero-slide[data-slide="summary"] .qm-hero-shade { background: linear-gradient(90deg, rgba(24,63,70,.94) 0%, rgba(24,63,70,.77) 38%, rgba(24,63,70,.1) 69%, transparent 86%); }
.qm-hero-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: max(6vw, calc((100vw - 1240px) / 2));
  width: min(580px, 46vw);
  transform: translateY(-46%);
}
.qm-hero-copy .qm-kicker { margin: 0 0 20px; color: var(--qm-brand); font: 750 12px/1 var(--qm-ui); letter-spacing: .17em; text-transform: uppercase; }
.qm-hero-copy h1 { margin: 0 0 23px; font-family: var(--qm-serif); font-size: clamp(39px, 3.3vw, 51px); font-weight: 500; line-height: 1.48; letter-spacing: .015em; }
.qm-hero-copy > p:not(.qm-kicker) { margin: 0 0 29px; color: #3f5a5f; font-size: 16px; line-height: 2; }
.qm-hero-slide[data-slide="summary"] .qm-hero-copy, .qm-hero-slide[data-slide="summary"] .qm-hero-copy .qm-kicker, .qm-hero-slide[data-slide="summary"] .qm-hero-copy > p { color: #fff; }
.qm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.qm-button, .qm-text-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1.4 var(--qm-ui); text-decoration: none; }
.qm-button { padding: 0 23px; color: #fff; border: 1px solid var(--qm-brand); background: var(--qm-brand); }
.qm-hero-slide[data-slide="summary"] .qm-button { color: var(--qm-brand); border-color: #fff; background: #fff; }
.qm-text-link { gap: 10px; color: inherit; border-bottom: 1px solid var(--qm-gold); }
.qm-hero-controls { position: absolute; z-index: 10; bottom: 30px; left: max(6vw, calc((100vw - 1240px) / 2)); display: flex; align-items: center; gap: 12px; }
.qm-hero-dots { display: flex; gap: 7px; }
.qm-hero-dots button { width: 46px; height: 28px; padding: 13px 0; border: 0; background: transparent; cursor: pointer; }
.qm-hero-dots button span { position: relative; height: 2px; display: block; overflow: hidden; background: rgba(39,84,91,.26); }
.qm-hero-dots button span::after { content: ""; position: absolute; inset: 0; background: var(--qm-brand); transform: scaleX(0); transform-origin: left center; }
.qm-hero-dots button.is-current span { background: rgba(39,84,91,.38); }
.qm-hero-dots button.is-current span::after { transform: scaleX(var(--qm-hero-progress, 0)); }
.qm-hero-countdown { min-width: 34px; color: var(--qm-brand); font: 750 11px/1 var(--qm-ui); font-variant-numeric: tabular-nums; text-align: right; }
.qm-hero-toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 0; color: var(--qm-brand); background: transparent; cursor: pointer; }
.qm-hero-toggle:disabled { opacity: .62; cursor: default; }
.qm-control-icon { position: relative; width: 14px; height: 14px; display: block; }
[data-control-state="pause"] .qm-control-icon::before,
[data-control-state="pause"] .qm-control-icon::after {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}
[data-control-state="pause"] .qm-control-icon::before { left: 2px; }
[data-control-state="pause"] .qm-control-icon::after { right: 2px; }
[data-control-state="play"] .qm-control-icon::before {
  position: absolute;
  top: 2px;
  left: 4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}
.qm-hero-slide[data-slide="summary"].is-active ~ .qm-hero-controls { color: #fff; }
.qm-hero-summary { position: absolute; z-index: 3; top: 7.5%; right: max(6vw, calc((100vw - 1240px) / 2)); width: clamp(410px, 35vw, 515px); }

.qm-summary-sheet { position: relative; aspect-ratio: 210 / 297; padding: 5.2% 5.6% 4.6%; overflow: hidden; color: #173e45; background: #fff; box-shadow: 0 24px 55px rgba(24,63,70,.21); font-family: var(--qm-ui); }
.qm-summary-sheet > header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2.2%; border-bottom: 2px solid var(--qm-brand); }
.qm-summary-sheet > header span { display: flex; align-items: center; gap: 6px; font-family: var(--qm-serif); font-size: clamp(8px, 1vw, 13px); font-weight: 700; }
.qm-summary-sheet > header img { width: 16px; }
.qm-summary-sheet > header small { color: #708487; font-size: clamp(5px, .52vw, 7px); letter-spacing: .1em; }
.qm-summary-title { display: flex; justify-content: space-between; gap: 12px; padding: 3.7% 0 2.4%; }
.qm-summary-title h3 { margin: 0; font: 600 clamp(13px, 1.55vw, 20px)/1.3 var(--qm-serif); }
.qm-summary-title p, .qm-summary-title span { margin: 2px 0 0; color: #708487; font-size: clamp(5px, .55vw, 7px); }
.qm-summary-title b { display: block; margin-top: 2px; font-size: clamp(6px, .62vw, 8px); }
.qm-summary-notice { margin: 0 0 2%; padding: 1.3% 1.7%; color: #526b6f; background: #edf3f1; font-size: clamp(5px, .56vw, 7px); font-weight: 700; }
.qm-summary-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #a9bbb7; border-left: 1px solid #a9bbb7; }
.qm-summary-grid section { min-height: 88px; padding: 2.3% 2.6%; border-right: 1px solid #a9bbb7; border-bottom: 1px solid #a9bbb7; }
.qm-summary-grid section.wide { grid-column: 1 / -1; min-height: 68px; }
.qm-summary-grid h4 { margin: 0 0 4px; color: #48666b; font-size: clamp(5px, .62vw, 8px); line-height: 1.4; }
.qm-summary-grid h4 b { margin-right: 4px; color: var(--qm-gold); }
.qm-summary-grid p { margin: 0; color: #223f45; font-size: clamp(5.5px, .68vw, 8.5px); line-height: 1.55; }
.qm-summary-grid dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0; }
.qm-summary-grid dl div { padding: 4px 2px; background: #f1f5f3; text-align: center; }
.qm-summary-grid dt { font-size: clamp(5px, .51vw, 6.5px); }
.qm-summary-grid dd { margin: 2px 0 0; font-size: clamp(5.5px, .64vw, 8px); font-weight: 800; }
.qm-summary-foot { position: absolute; right: 5.6%; bottom: 3.6%; left: 5.6%; margin: 0; color: #738588; font-size: clamp(4.5px, .48vw, 6.2px); line-height: 1.45; }

/* Home content. */
.qm-news { border-bottom: 1px solid var(--qm-line); background: var(--qm-paper); }
.qm-news .qm-shell { min-height: 72px; display: grid; grid-template-columns: 90px 100px 1fr auto; align-items: center; gap: 22px; font: 600 12px/1.6 var(--qm-ui); }
.qm-news strong { color: var(--qm-teal); }
.qm-news time { color: #748689; }
.qm-section { padding: 100px 0; }
.qm-section-kicker { margin: 0 0 13px; color: var(--qm-gold); font: 800 11px/1 var(--qm-ui); letter-spacing: .17em; text-transform: uppercase; }
.qm-section h2 { margin: 0; font-family: var(--qm-serif); font-size: clamp(31px, 3.2vw, 43px); font-weight: 500; line-height: 1.55; }
.qm-pickup { background: var(--qm-sand); }
.qm-pickup-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.qm-card-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 28px; }
.qm-article-card { color: var(--qm-ink); text-decoration: none; }
.qm-article-card figure { aspect-ratio: 1.55 / 1; margin: 0; overflow: hidden; background: #dfe9e6; }
.qm-article-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s ease; }
.qm-article-card:hover img { transform: scale(1.035); }
.qm-article-card small { display: block; margin-top: 16px; color: var(--qm-teal); font: 750 11px/1.5 var(--qm-ui); }
.qm-article-card h3 { margin: 8px 0 10px; font: 500 18px/1.75 var(--qm-serif); }
.qm-article-card span { font: 700 12px/1.5 var(--qm-ui); }
.qm-summary-feature { background: #edf3f1; }
.qm-summary-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.qm-summary-copy > p:not(.qm-section-kicker) { margin: 22px 0 25px; color: var(--qm-body); font-size: 15px; line-height: 2; }
.qm-summary-stage { position: relative; min-height: 690px; overflow: hidden; background: #dce7e4; box-shadow: 0 24px 65px rgba(39,84,91,.12); }
.qm-summary-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qm-summary-stage .qm-summary-sheet { position: absolute; top: 28px; right: 5%; width: min(69%, 490px); }
.qm-record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 45px; }
.qm-record-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 46px; overflow: hidden; color: #fff; text-decoration: none; background: var(--qm-brand); }
.qm-record-card:last-child { color: var(--qm-ink); background: #e6eeeb; }
.qm-record-card small { font: 800 11px/1 var(--qm-ui); letter-spacing: .14em; }
.qm-record-card h3 { margin: 18px 0 0; font: 500 clamp(24px, 2.4vw, 31px)/1.65 var(--qm-serif); }
.qm-record-card span { font: 700 13px/1.5 var(--qm-ui); }
.qm-record-graphic { height: 145px; display: flex; align-items: end; gap: 8%; border-bottom: 1px solid currentColor; opacity: .72; }
.qm-record-graphic i { width: 8%; border-radius: 20px 20px 0 0; background: currentColor; }
.qm-record-graphic i:nth-child(1) { height: 36%; } .qm-record-graphic i:nth-child(2) { height: 68%; } .qm-record-graphic i:nth-child(3) { height: 48%; } .qm-record-graphic i:nth-child(4) { height: 84%; } .qm-record-graphic i:nth-child(5) { height: 60%; } .qm-record-graphic i:nth-child(6) { height: 73%; }
.qm-program-feature { display: grid; grid-template-columns: 53% 47%; background: #e6eeeb; }
.qm-program-media { position: relative; min-height: 700px; display: grid; place-items: center; overflow: hidden; background: #dfe8e5; }
.qm-program-media video { width: 100%; height: 100%; display: block; object-fit: contain; }
.qm-media-toggle { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(16,49,56,.76); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.qm-media-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.qm-program-copy { display: flex; align-items: center; padding: 75px max(5vw, 58px); }
.qm-program-copy > div { width: min(100%, 500px); }
.qm-program-copy > div > p:not(.qm-section-kicker) { margin: 22px 0; color: var(--qm-body); font-size: 15px; line-height: 2; }
.qm-program-copy ul { margin: 28px 0; padding: 0; border-top: 1px solid #aabbb7; list-style: none; }
.qm-program-copy li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #c4d0cd; }
.qm-program-copy li span { font: 500 16px/1.5 var(--qm-serif); }
.qm-program-copy li small { color: #657b7f; font: 600 12px/1.5 var(--qm-ui); }
.qm-about-home { background: var(--qm-paper); }
.qm-about-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 95px; align-items: center; }
.qm-about-word { margin: 0; color: #dfe9e6; font: 500 clamp(82px, 11vw, 150px)/.8 var(--qm-serif); letter-spacing: -.06em; }
.qm-about-layout > div > p:not(.qm-section-kicker) { max-width: 660px; margin: 22px 0; color: var(--qm-body); font-size: 15px; line-height: 2; }
.qm-signup { padding: 72px 0; border-top: 1px solid var(--qm-line); background: #f7f8f5; }
.qm-signup .qm-shell { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.qm-signup h2 { font-size: clamp(27px, 2.5vw, 36px); }
.qm-home > :is(.continuum-hero, .home-core, .home-no-registration, .home-membership-clean, .home-knowledge-clean) { display: none !important; }

/* Shared subpage hero layered over the existing functional pages. */
.qm-subhero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  margin-top: 0;
  overflow: hidden;
  background: #e9f0ee;
}
.qm-subhero-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 80px max(42px, 6vw); background: var(--qm-paper); }
.qm-subhero-copy .qm-section-kicker { margin-bottom: 22px; }
.qm-subhero-copy h1 { margin: 0 0 25px; font: 500 clamp(34px, 3.2vw, 47px)/1.55 var(--qm-serif); }
.qm-subhero-copy > p:not(.qm-section-kicker) { max-width: 560px; margin: 0 0 29px; color: var(--qm-body); font-size: 15px; line-height: 2; }
.qm-subhero-visual { position: relative; min-width: 0; min-height: 650px; overflow: hidden; }
.qm-subhero-visual > img, .qm-subhero-visual > video { width: 100%; height: 100%; display: block; object-fit: cover; }
.qm-subhero-visual > video { background: #e4ece9; object-fit: contain; }
.qm-subhero--deep .qm-subhero-copy { color: #fff; background: var(--qm-brand); }
.qm-subhero--deep .qm-subhero-copy > p, .qm-subhero--deep .qm-section-kicker { color: #e4efec; }
.qm-subhero-ui { height: 100%; display: grid; place-items: center; padding: 7%; background: #e6eeeb; }
.qm-ui-card { width: min(100%, 700px); overflow: hidden; border: 1px solid #cddbd7; border-radius: 22px; background: #fff; box-shadow: 0 26px 70px rgba(31,73,76,.13); font-family: var(--qm-ui); }
.qm-ui-card > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 25px; color: #fff; background: var(--qm-brand); }
.qm-ui-card > header strong { font-family: var(--qm-serif); font-size: 25px; }
.qm-ui-card > header span, .qm-ui-card > header button { font-size: 12px; }
.qm-ui-card > header button { min-height: 40px; padding: 0 14px; border: 0; color: var(--qm-brand); background: #fff; }
.qm-ui-body { padding: 25px; }
.qm-ui-body > small { color: var(--qm-gold); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.qm-ui-body > h3 { margin: 8px 0 18px; font-family: var(--qm-serif); font-size: 25px; font-weight: 500; }
.qm-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qm-stat-grid article { min-height: 112px; padding: 18px; background: #f1f5f3; }
.qm-stat-grid small { color: #687c80; font-size: 13px; }
.qm-stat-grid strong { display: block; margin-top: 10px; font: 600 22px/1.4 var(--qm-serif); }
.qm-ui-note { margin-top: 14px; padding: 17px; color: #415a5f; background: #f8f6ef; font-size: 13px; line-height: 1.8; }
.qm-check-card .qm-ui-body { display: grid; gap: 10px; }
.qm-check-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 17px; border: 1px solid #d5dfdc; }
.qm-check-row span { font-size: 14px; }
.qm-check-row b { color: var(--qm-brand); font-size: 12px; }
.qm-rhythm-card .qm-timeline { display: grid; gap: 8px; }
.qm-rhythm-card .qm-timeline p { display: grid; grid-template-columns: 70px 80px 1fr; gap: 12px; margin: 0; padding: 13px 0; border-bottom: 1px solid #e0e8e5; font-size: 13px; }
.qm-rhythm-card .qm-timeline b { color: var(--qm-teal); }
.qm-summary-hero-stage { height: 100%; display: grid; place-items: center; padding: 5%; background: #dce7e4; }
.qm-summary-hero-stage .qm-summary-sheet { width: min(79%, 500px); }
.qm-visit-stage { height: 100%; display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: center; padding: 6%; background: #efede6; }
.qm-visit-stage .qm-summary-sheet { width: 100%; }
.qm-phone-card { min-height: 330px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 28px 18px; border: 8px solid #173f46; border-radius: 34px; background: #fff; box-shadow: 0 18px 45px rgba(24,63,70,.16); font-family: var(--qm-ui); text-align: center; }
.qm-phone-card small { color: var(--qm-gold); font-size: 13px; }
.qm-phone-card strong { margin: 15px 0 22px; font: 500 20px/1.6 var(--qm-serif); }
.qm-phone-card span { min-height: 43px; display: grid; place-items: center; padding: 0 16px; color: #fff; background: var(--qm-brand); font-size: 12px; }
.qm-program-demo { width: min(100%, 800px); display: grid; grid-template-columns: 165px 1fr; overflow: hidden; background: #fff; box-shadow: 0 26px 70px rgba(31,73,76,.13); font-family: var(--qm-ui); }
.qm-program-demo aside { display: flex; flex-direction: column; padding: 25px 20px; color: #fff; background: #173f46; }
.qm-program-demo aside strong { margin-bottom: 35px; font-family: var(--qm-serif); font-size: 17px; }
.qm-program-demo aside span { padding: 10px; color: #a9c2bd; font-size: 13px; }
.qm-program-demo aside span:first-of-type { color: #fff; background: rgba(255,255,255,.12); }
.qm-program-demo > div { padding: 32px; }
.qm-program-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 0 22px; }
.qm-program-selector--mobile { display: none; width: 100%; }
.qm-program-selector button { min-height: 42px; padding: 8px 10px; border: 1px solid #c2d1cd; color: var(--qm-brand); background: transparent; font: 700 12px/1.25 var(--qm-ui); cursor: pointer; }
.qm-program-selector button.is-current, .qm-program-selector button[aria-pressed="true"] { color: #fff; border-color: var(--qm-brand); background: var(--qm-brand); }
.qm-program-demo > div > header { display: flex; justify-content: space-between; gap: 20px; }
.qm-program-demo header small { color: var(--qm-teal); font-size: 13px; }
.qm-program-demo header strong { display: block; margin-top: 7px; font: 500 29px/1.3 var(--qm-serif); }
.qm-program-demo header em { color: var(--qm-teal); font: 500 24px/1 var(--qm-serif); }
.qm-program-focus { margin-top: 24px; padding: 30px; border-top: 5px solid var(--qm-teal); background: #f5f8f7; }
.qm-program-focus small { color: var(--qm-teal); font-size: 13px; }
.qm-program-focus h3 { margin: 8px 0; font: 500 24px/1.5 var(--qm-serif); }
.qm-program-focus p { margin: 0; color: var(--qm-body); font-size: 13px; line-height: 1.8; }
.qm-program-focus button { min-height: 42px; margin-top: 18px; padding: 0 16px; border: 0; color: #fff; background: var(--qm-teal); font-size: 12px; }
.qm-program-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.qm-program-metrics span { padding: 15px; color: var(--qm-body); background: #f1f5f3; font-size: 13px; }
.qm-program-metrics small { display: block; color: var(--qm-body); font-size: 13px; }
.qm-program-metrics b { display: block; margin-top: 5px; color: var(--qm-ink); font: 500 18px/1.4 var(--qm-serif); }
.qm-program-boundary { margin: 12px 2px 0; color: var(--qm-body); font-size: 12px; line-height: 1.7; }

/* Existing content is retained, but its template-heavy intro and NEXT blocks are not shown. */
.continuum-page-main > .continuum-page-shell:first-child { display: none; }
.continuum-page-main > .continuum-page-reasons { display: none; }
.continuum-page-next { display: none !important; }
.continuum-page-main > .qm-subhero + .continuum-page-reasons { display: none; }
.continuum-page-main .feature-showcase,
.continuum-page-main .continuum-page-actions,
.program-sales-page .program-package,
.program-sales-page .program-trial,
.program-sales-page .program-jewels,
.program-sales-page .program-current-preview,
.program-sales-page .program-connections,
.program-sales-page .program-offer-close { font-size: 16px; }
.feature-showcase p, .continuum-page-actions p, .program-sales-page p { font-size: max(13px, 1em); }

/* About keeps its full long-form story. */
.about-main .about-breadcrumb { display: none; }
.about-main .about-hero { padding: 0; background: var(--qm-paper); }
.about-main .about-hero-grid { width: 100%; min-height: 680px; display: grid; grid-template-columns: 44% 56%; gap: 0; }
.about-main .about-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px max(42px, 6vw); }
.about-main .about-hero-copy h1 { font-size: clamp(35px, 3.2vw, 48px); }
.about-main .about-hero-copy > p { font-size: 15px; line-height: 2; }
.about-main .about-hero-visual { min-height: 680px; margin: 0; overflow: hidden; }
.about-main .about-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.45); transform-origin: right center; }
.about-main .about-hero-visual figcaption { position: absolute; right: 18px; bottom: 14px; padding: 8px 12px; background: rgba(255,255,255,.88); font-size: 12px; }
.about-main .about-origin, .about-main .about-diary, .about-main .about-tools, .about-main .about-pdf, .about-main .about-benefits, .about-main .about-closing { font-size: 16px; }

/* Pelvic floor: Nao is the hero, existing anatomy and safety content remain below. */
.pf-hero-grid { grid-template-columns: minmax(0, 42%) minmax(0, 58%); }
.qm-pf-hero-media { min-height: 650px; margin: 0; overflow: hidden; background: #e6eeeb; }
.qm-pf-hero-media img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; }
.pf-anatomy { grid-column: 1 / -1; margin-top: 70px; }

@media (max-width: 1240px) {
  .qm-global-header .qm-desktop-nav, .qm-global-header .qm-account-nav { display: none; }
  .qm-global-header .uro-global-actions { display: flex; margin-left: auto; }
  .qm-global-header .uro-global-menu-button { display: block; }
  .qm-global-header .uro-global-menu-panel {
    position: fixed;
    inset: 72px 0 auto;
    max-height: calc(100svh - 72px);
    display: block;
    overflow: auto;
    padding: 22px;
    border-top: 1px solid var(--qm-line);
    background: rgba(255,254,250,.99);
  }
  .qm-global-header .uro-global-menu-panel[hidden] { display: none; }
  .qm-global-header .qm-mobile-links { width: min(100%, 760px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 auto; }
  .qm-global-header .qm-mobile-links a { min-height: 51px; display: flex; align-items: center; padding: 12px 9px; border-bottom: 1px solid var(--qm-line); font-family: var(--qm-ui); font-size: 13px; font-weight: 700; }
  .qm-global-header .qm-mobile-account { width: min(100%, 760px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px auto 0; }
  .qm-global-header .qm-mobile-account a { min-height: 49px; display: grid; place-items: center; border: 1px solid var(--qm-brand); font: 700 13px/1 var(--qm-ui); }
  .qm-global-header .qm-mobile-account a:last-child { color: #fff; background: var(--qm-brand); }
}

@media (max-width: 820px) {
  .qm-shell { width: min(100% - 34px, 660px); }
  .qm-global-header .uro-global-inner { width: calc(100% - 28px); min-height: 66px; }
  .qm-global-header .uro-global-menu-panel { inset-block-start: 66px; max-height: calc(100svh - 66px); }
  .qm-home { overflow-x: clip; }
  .qm-hero { height: auto; min-height: 0; overflow: visible; background: var(--qm-paper); }
  .qm-hero-slide { position: relative; inset: auto; display: none; grid-template-rows: auto auto; opacity: 1; visibility: visible; transition: none; }
  .qm-hero-slide.is-active { display: grid; }
  .qm-hero-media { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; grid-row: 1; }
  .qm-hero-media img, .qm-hero-media video { object-fit: contain; object-position: center; background: #e5edea; }
  .qm-hero-slide[data-slide="summary"] .qm-hero-media img { object-fit: contain; object-position: center; }
  .qm-hero-slide[data-slide="daily"] .qm-hero-media img,
  .qm-hero-slide[data-slide="about"] .qm-hero-media img { object-fit: cover; object-position: right center; }
  .qm-hero-slide[data-slide="program"] .qm-hero-media { top: auto; }
  .qm-hero-slide[data-slide="program"] .qm-hero-media video { object-fit: contain; object-position: center; }
  .qm-hero-shade { display: none; }
  .qm-hero-copy { position: relative; inset: auto; width: 100%; min-height: 410px; display: flex; flex-direction: column; justify-content: center; grid-row: 2; padding: 57px 24px 82px; color: var(--qm-ink) !important; background: var(--qm-paper); transform: none; }
  .qm-hero-copy .qm-kicker { margin-bottom: 17px; color: var(--qm-brand) !important; font-size: 13px; }
  .qm-hero-copy h1 { margin-bottom: 19px; font-size: clamp(31px, 8.8vw, 39px); line-height: 1.5; }
  .qm-hero-copy > p:not(.qm-kicker) { margin-bottom: 24px; color: var(--qm-body) !important; font-size: 15px; line-height: 1.9; }
  .qm-hero-actions { gap: 14px; }
  .qm-hero-slide[data-slide="summary"] .qm-button { color: #fff; border-color: var(--qm-brand); background: var(--qm-brand); }
  .qm-hero-summary { position: absolute; z-index: 2; top: 4%; right: 50%; width: min(53vw, 220px); transform: translateX(50%); }
  .qm-hero-controls { right: 24px; bottom: 28px; left: 24px; justify-content: space-between; }
  .qm-hero-dots { flex: 1; }
  .qm-hero-dots button { flex: 1; width: auto; }
  .qm-hero-countdown { min-width: 31px; }
  .qm-news .qm-shell { min-height: 90px; grid-template-columns: auto 1fr auto; gap: 10px 16px; padding: 15px 0; }
  .qm-news time { grid-column: 1; }
  .qm-news a { grid-column: 2 / -1; }
  .qm-section { padding: 78px 0; }
  .qm-card-grid, .qm-summary-layout, .qm-record-grid, .qm-about-layout { grid-template-columns: 1fr; }
  .qm-card-grid { gap: 34px; }
  .qm-summary-layout { gap: 42px; }
  .qm-summary-stage { min-height: 610px; }
  .qm-summary-stage .qm-summary-sheet { top: 25px; right: 50%; width: min(78%, 420px); transform: translateX(50%); }
  .qm-record-card { min-height: 390px; padding: 34px; }
  .qm-program-feature { grid-template-columns: 1fr; }
  .qm-program-media { min-height: 0; aspect-ratio: 16 / 10; }
  .qm-program-media video { object-fit: contain; object-position: center; }
  .qm-program-copy { padding: 60px 25px 72px; }
  .qm-about-layout { gap: 45px; }
  .qm-about-word { font-size: 90px; }
  .qm-signup .qm-shell { align-items: flex-start; flex-direction: column; }

  .qm-subhero { min-height: 0; display: flex; flex-direction: column; }
  .qm-subhero-copy { min-height: 440px; order: 2; padding: 63px 24px 68px; }
  .qm-subhero-copy h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .qm-subhero-copy > p:not(.qm-section-kicker) { font-size: 15px; line-height: 1.9; }
  .qm-subhero-visual { min-height: 520px; order: 1; aspect-ratio: auto; }
  .qm-subhero-visual > img, .qm-subhero-visual > video { object-fit: contain; object-position: center; background: #e5edea; }
  .qm-subhero-ui { min-height: 100%; padding: 18px; }
  .qm-stat-grid { grid-template-columns: 1fr; }
  .qm-stat-grid article { min-height: 80px; }
  .qm-subhero--summary .qm-subhero-visual { min-height: 590px; }
  .qm-summary-hero-stage { padding: 22px 18px; }
  .qm-summary-hero-stage .qm-summary-sheet { width: min(100%, 365px); }
  .qm-subhero--visit .qm-subhero-visual { min-height: 620px; }
  .qm-visit-stage { grid-template-columns: 1fr 150px; gap: 14px; padding: 18px; }
  .qm-phone-card { min-height: 260px; padding-inline: 10px; border-width: 6px; border-radius: 25px; }
  .qm-subhero--program .qm-subhero-visual { min-height: 0; overflow: visible; }
  .qm-subhero--program .qm-subhero-ui { height: auto; padding: 24px 18px; }
  .qm-program-selector--mobile { display: grid; }
  .qm-subhero--program .qm-subhero-copy .qm-program-selector { display: none; }
  .qm-program-demo { width: 100%; grid-template-columns: 1fr; transform: none; }
  .qm-program-demo aside { display: none; }
  .qm-program-demo > div { padding: 23px; }
  .qm-program-focus { padding: 22px; }

  .about-main .about-hero-grid { min-height: 0; display: flex; flex-direction: column; }
  .about-main .about-hero-copy { min-height: 460px; order: 2; padding: 62px 24px 68px; }
  .about-main .about-hero-copy > p { font-size: 15px; }
  .about-main .about-hero-visual { position: relative; min-height: 0; order: 1; aspect-ratio: 4 / 3; }
  .about-main .about-hero-visual img { object-fit: cover; object-position: right center; background: #e5edea; transform: scale(1.22); transform-origin: right center; }
  .about-main .about-origin, .about-main .about-diary, .about-main .about-tools, .about-main .about-pdf, .about-main .about-benefits, .about-main .about-closing { font-size: 17px; }

  .pf-hero-grid { grid-template-columns: 1fr; }
  .qm-pf-hero-media { min-height: 0; aspect-ratio: 4 / 5; }
  .qm-pf-hero-media img { object-fit: contain; }
  .pf-anatomy { margin-top: 45px; }
}

@media (max-width: 480px) {
  .qm-global-header .qm-mobile-links { grid-template-columns: 1fr; }
  .qm-global-header .qm-mobile-links a { min-height: 46px; }
  .qm-global-header .qm-mobile-account { grid-template-columns: 1fr; }
  .qm-hero-media { aspect-ratio: 4 / 3; }
  .qm-hero-copy { min-height: 430px; padding-top: 52px; }
  .qm-hero-copy h1 { font-size: 30px; }
  .qm-hero-actions { align-items: stretch; flex-direction: column; }
  .qm-button, .qm-text-link { width: 100%; }
  .qm-summary-stage { min-height: 520px; }
  .qm-summary-grid section { min-height: 57px; }
  .qm-summary-grid section.wide { min-height: 48px; }
  .qm-summary-grid p { line-height: 1.38; }
  .qm-record-card { min-height: 360px; padding: 29px; }
  .qm-subhero-copy { min-height: 430px; }
  .qm-subhero-visual { min-height: 500px; aspect-ratio: auto; }
  .qm-check-row { align-items: flex-start; flex-direction: column; }
  .qm-visit-stage { grid-template-columns: 1fr; }
  .qm-visit-stage .qm-summary-sheet { width: min(100%, 280px); margin: auto; }
  .qm-phone-card { width: min(72%, 190px); min-height: 220px; margin: auto; }
  .qm-subhero--summary .qm-subhero-visual { min-height: 560px; }
  .qm-subhero--visit .qm-subhero-visual { min-height: 690px; }
  .qm-program-demo { width: 100%; transform: none; }
  .qm-program-demo header strong { font-size: 24px; }
  .qm-program-focus h3 { font-size: 21px; }
  .qm-program-metrics { grid-template-columns: 1fr; }
  .program-demo-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .qm-hero-slide, .qm-article-card img, .qm-global-header a::after { transition: none !important; animation: none !important; }
  .qm-hero-dots button.is-current span::after { transform: scaleX(1) !important; }
}

/* UC-DESIGN-003: the approved compact shared header. */
.uro-global-header.qm-global-header .uro-global-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 68px;
}
.uro-global-header.qm-global-header .qm-desktop-nav,
.uro-global-header.qm-global-header .qm-account-nav { display: none !important; }
.uro-global-header.qm-global-header .uro-global-actions {
  display: flex !important;
  align-items: center;
  margin-left: auto;
}
.uro-global-header.qm-global-header .uro-global-menu-button { display: block; }
.uro-global-header.qm-global-header .uro-global-menu-panel {
  position: fixed;
  inset: 68px 0 auto;
  max-height: calc(100svh - 68px);
  display: block;
  overflow: auto;
  padding: 20px 20px 24px;
  border-top: 1px solid var(--qm-line);
  border-bottom: 1px solid var(--qm-line);
  background: rgba(255,254,250,.995);
  box-shadow: 0 25px 55px rgba(24,63,70,.12);
}
.uro-global-header.qm-global-header.is-menu-open { z-index: 1500 !important; }
.uro-member-dock[hidden] { display: none !important; }
.uro-global-header.qm-global-header .uro-global-menu-panel[hidden] { display: none !important; }
.uro-global-header.qm-global-header .qm-mobile-links {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 auto;
  border-top: 1px solid var(--qm-line);
}
.uro-global-header.qm-global-header .qm-mobile-links a {
  min-height: 57px;
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--qm-line);
  color: var(--qm-ink);
  font-family: var(--qm-ui);
  font-size: 13px;
  font-weight: 700;
}
.uro-global-header.qm-global-header .qm-mobile-links a:hover,
.uro-global-header.qm-global-header .qm-mobile-links a[aria-current="page"] {
  color: var(--qm-brand);
  background: #f1f6f4;
}
.uro-global-header.qm-global-header .qm-mobile-account {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px auto 0;
}
.uro-global-header.qm-global-header .qm-mobile-account a {
  min-height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid var(--qm-brand);
  color: var(--qm-brand);
  font: 700 13px/1 var(--qm-ui);
}
.uro-global-header.qm-global-header .qm-mobile-account a:last-child {
  color: #fff;
  background: var(--qm-brand);
}

@media (max-width: 820px) {
  .uro-global-header.qm-global-header .uro-global-inner {
    width: calc(100% - 24px);
    min-height: 68px;
    display: flex;
  }
  .uro-global-header.qm-global-header .uro-global-menu-panel {
    inset-block-start: 68px;
    max-height: calc(100svh - 68px);
    padding: 14px 14px 20px;
  }
  .uro-global-header.qm-global-header .qm-mobile-links a { min-height: 51px; }
}

/* UC-DESIGN-004: signed-out Vertical Glass Menu; UC-DESIGN-018: two-line trigger. */
.uro-global-header.qm-global-header .uro-global-menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--qm-ink);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: color .2s ease,background .2s ease;
}
.uro-global-header.qm-global-header .uro-global-menu-button:hover,
.uro-global-header.qm-global-header .uro-global-menu-button[aria-expanded="true"] {
  color: var(--qm-brand);
  background: rgba(234,243,240,.9);
}
.uro-global-header.qm-global-header .uro-global-menu-button>svg { display: block; overflow: visible; }
.uro-global-header.qm-global-header .uro-global-menu-button>svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.uro-global-header.qm-global-header .uro-global-menu-panel {
  position: absolute;
  z-index: 1299;
  inset: 100% 0 auto;
  height: calc(100svh - 68px);
  display: block;
  max-height: none;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.uro-global-header.qm-global-header .uro-global-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(18,39,44,.2);
  backdrop-filter: blur(5px);
  cursor: pointer;
}
.uro-global-header.qm-global-header .uro-global-menu-surface {
  position: absolute;
  top: 0;
  right: max(20px,calc((100vw - 1240px)/2));
  width: min(356px,calc(100vw - 40px));
  max-height: calc(100svh - 84px);
  overflow: auto;
  box-sizing: border-box;
  padding: 26px 22px 20px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 0 0 var(--uro-radius-card,18px) var(--uro-radius-card,18px);
  background: rgba(252,253,251,.95);
  box-shadow: 0 28px 70px rgba(18,45,51,.24);
  backdrop-filter: blur(24px) saturate(135%);
}
.uro-global-header.qm-global-header .uro-global-menu-heading { padding: 0 5px 18px; border-bottom: 1px solid rgba(42,83,88,.15); }
.uro-global-header.qm-global-header .uro-global-menu-heading span { display: block; color: #9a7532; font: 800 10px/1 var(--qm-ui); letter-spacing: .18em; }
.uro-global-header.qm-global-header .uro-global-menu-heading strong { display: block; margin-top: 9px; color: #294d53; font: 500 15px/1.7 var(--uro-serif); }
.uro-global-header.qm-global-header .qm-mobile-links { width: 100%; margin: 0; border-top: 0; }
.uro-global-header.qm-global-header .qm-mobile-links a {
  min-height: 59px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) 18px;
  gap: 11px;
  align-items: center;
  padding: 8px 5px;
  border-bottom: 1px solid rgba(42,83,88,.13);
}
.uro-global-header.qm-global-header .qm-mobile-links a:hover,
.uro-global-header.qm-global-header .qm-mobile-links a[aria-current="page"] { background: rgba(226,239,235,.72); }
.uro-global-header.qm-global-header .qm-mobile-links a>strong { color: #987a39; font: 400 15px/1 Georgia,"Times New Roman",serif; text-align: center; }
.uro-global-header.qm-global-header .qm-mobile-links a>span { min-width: 0; display: grid; gap: 3px; }
.uro-global-header.qm-global-header .qm-mobile-links a small { color: #71868a; font: 800 10px/1 var(--qm-ui); letter-spacing: .12em; }
.uro-global-header.qm-global-header .qm-mobile-links a b { color: inherit; font: 700 13px/1.25 var(--qm-ui); }
.uro-global-header.qm-global-header .qm-mobile-links a>i { color: #8b6d31; font: 400 12px/1 Georgia,serif; }
.uro-global-header.qm-global-header .qm-mobile-account { width: 100%; gap: 8px; margin: 18px 0 0; }
.uro-global-header.qm-global-header .qm-mobile-account a { min-height: 42px; border-radius:var(--uro-radius-control,10px); font-size: 12px; }

@media (max-width:820px) {
  .uro-global-header.qm-global-header .uro-global-menu-button { width: 44px; height: 44px; padding: 0; }
  .uro-global-header.qm-global-header .uro-global-menu-panel { inset: 100% 0 auto; height: calc(100svh - 68px); max-height: none; padding: 0; }
  .uro-global-header.qm-global-header .uro-global-menu-surface { right: 12px; width: calc(100vw - 24px); max-height: calc(100svh - 80px); padding: 22px 18px 18px; border-radius: 0 0 var(--uro-radius-card,18px) var(--uro-radius-card,18px); }
  .uro-global-header.qm-global-header .qm-mobile-links a { min-height: 56px; }
}

/* UC-DESIGN-006: one visible corner language for ordinary public cards/panels. */
main :is(article,details,[class*="-card"],[class*="-panel"]) {
  border-radius: var(--uro-radius-card,18px);
}
