/* Weight Management keeps the approved R4 palette, typography and photography. */
.tm-weight-page { --wm-surface: #e6ebe1; }
.tm-weight-page [id] { scroll-margin-top: 118px; }
.tm-weight-page .tm-wm-hero { grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 78px); padding-top: 150px; }
.tm-weight-page .tm-wm-hero .tm-title { font-size: clamp(52px, 5.5vw, 82px); line-height: 1.04; }
.tm-weight-page .tm-wm-hero .tm-title em { display: inline-block; }
.tm-weight-page .tm-wm-hero-copy { min-width: 0; }
.tm-weight-page .tm-wm-hero .tm-hero-copy > p:not(.tm-kicker):not(.tm-note) { max-width: 490px; font-size: 16px; }
.tm-weight-page .tm-wm-hero .tm-hero-copy > p + p { margin-top: 13px; }
.tm-weight-page .tm-wm-hero .tm-actions { gap: 20px; }
.tm-wm-hero-art { position: relative; min-height: 560px; align-self: stretch; overflow: hidden; border-radius: 125px 3px 3px 3px; background: #dce5da; }
.tm-wm-hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% top; }
.tm-wm-image-caption { position: absolute; inset-inline: 24px; bottom: 24px; display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; padding: 22px 24px; background: #f3f2eced; backdrop-filter: blur(8px); }
.tm-wm-image-caption > span:first-child { font-size: 11px; color: var(--tm-muted); }
.tm-wm-image-caption > strong { grid-column: 1; font-size: 23px; line-height: 1.12; font-weight: 450; letter-spacing: -.03em; }
.tm-wm-image-caption > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 32px; color: #65806a; }
.tm-wm-value-strip { display: flex; justify-content: space-between; gap: 20px; margin: 0 var(--margin); padding: 23px 0; border-block: 1px solid var(--tm-line); font-size: 12px; color: var(--tm-muted); }
.tm-wm-value-strip > span { display: flex; align-items: center; gap: 10px; }
.tm-wm-value-strip > span::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #65856c; }
.tm-wm-roadmap { background: #e6ebe1; }
.tm-wm-roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tm-wm-roadmap-grid > article { padding: clamp(25px, 3vw, 40px); border: 1px solid #294c3026; background: #f3f2ec; min-width: 0; }
.tm-wm-roadmap-grid h3 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.15; font-weight: 450; letter-spacing: -.035em; margin: 22px 0 17px; }
.tm-wm-roadmap-grid p, .tm-wm-roadmap-grid li { font-size: 13px; line-height: 1.75; color: var(--tm-muted); }
.tm-wm-roadmap-grid ul { padding-inline-start: 19px; margin-top: 17px; }
.tm-wm-roadmap-grid li + li { margin-top: 8px; }
.tm-wm-roadmap-grid strong { display: block; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--tm-line); color: #244538; font-size: 13px; line-height: 1.5; font-weight: 500; }
.tm-wm-roadmap .tm-actions { margin-top: 28px; }
.tm-wm-priorities { list-style: none; padding: 0; margin: 20px 0 0; }
.tm-wm-priorities li { position: relative; padding-inline-start: 20px; font-size: 13px; line-height: 1.75; color: #294c3a; }
.tm-wm-priorities li + li { margin-top: 12px; }
.tm-wm-priorities li::before { content: ''; position: absolute; inset-inline-start: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #729069; }
.tm-wm-body { background: #193b33; color: #f3f2ec; }
.tm-wm-body .tm-section-title em { color: #bdd0b2; }
.tm-wm-body .tm-heading-row > p, .tm-wm-body .tm-kicker, .tm-wm-body .tm-wm-source-note { color: #d1decf; }
.tm-wm-body-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
.tm-wm-body-grid > article { padding: 25px 0 12px; border-top: 1px solid #d1decf45; min-width: 0; }
.tm-wm-body-grid h3 { font-size: clamp(25px, 2.3vw, 33px); line-height: 1.2; font-weight: 450; letter-spacing: -.025em; margin-bottom: 17px; }
.tm-wm-body-grid p { font-size: 13px; line-height: 1.8; color: #d1decf; }
.tm-wm-body-grid small { display: block; margin-top: 20px; font-size: 11px; line-height: 1.6; color: #bdd0b2; }
.tm-wm-dimension-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.tm-wm-dimension-grid > article { border-top: 1px solid var(--tm-line); padding-top: 19px; display: flex; flex-direction: column; }
.tm-wm-number { font-size: 12px; color: #657e69; margin-bottom: 30px; }
.tm-wm-dimension-grid h3 { font-size: clamp(23px, 2.25vw, 32px); line-height: 1.12; letter-spacing: -.04em; font-weight: 450; margin-bottom: 17px; }
.tm-wm-dimension-grid p { font-size: 13px; line-height: 1.75; color: var(--tm-muted); }
.tm-wm-scope { display: block; color: #52694f; font-size: 10px; line-height: 1.5; margin: -6px 0 14px; }
.tm-wm-dimension-grid .tm-wm-question { margin-top: auto; padding-top: 24px; color: #284c3c; font-family: Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.45; }
.tm-wm-source-note { color: var(--tm-muted); font-size: 11px; line-height: 1.75; max-width: 960px; margin-top: 27px; }
.tm-wm-personalization { background: var(--wm-surface); }
.tm-wm-demo { display: grid; grid-template-columns: .85fr 1.2fr; border: 1px solid var(--tm-line); background: #f3f2ec; }
.tm-wm-observation { padding: clamp(25px, 4vw, 52px); background: #193b33; color: #f3f2ec; }
.tm-wm-example-label { display: inline-block; border: 1px solid currentColor; padding: 6px 10px; font-size: 10px; line-height: 1.5; margin-bottom: 27px; }
.tm-wm-observation > .tm-kicker { color: #baccb2; margin-bottom: 20px; }
.tm-wm-observation h3 { font-size: clamp(31px, 3.4vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 23px; }
.tm-wm-observation h3 em { color: #bdd0b2; }
.tm-wm-observation > p:not(.tm-kicker):not(.tm-wm-example-label) { font-size: 13px; line-height: 1.8; color: #d1decf; }
.tm-wm-context-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.tm-wm-context-tags > span { border: 1px solid #d1decf45; border-radius: 24px; padding: 7px 11px; font-size: 10px; color: #e1e9dc; }
.tm-wm-observation > .tm-wm-demo-limit { padding-top: 19px; border-top: 1px solid #d1decf45; font-size: 11px !important; }
.tm-wm-scenarios { padding: clamp(24px, 3.2vw, 44px); min-width: 0; }
.tm-wm-scenarios > .tm-kicker { margin-bottom: 20px; color: var(--tm-muted); }
.tm-wm-scenarios details { border-top: 1px solid var(--tm-line); }
.tm-wm-scenarios details:last-child { border-bottom: 1px solid var(--tm-line); }
.tm-wm-scenarios summary, .tm-wm-future > summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: 21px; cursor: pointer; list-style: none; font-size: 17px; line-height: 1.45; }
.tm-wm-scenarios summary::-webkit-details-marker, .tm-wm-future > summary::-webkit-details-marker { display: none; }
.tm-wm-expand { flex: 0 0 26px; font-size: 23px; line-height: 1; text-align: center; transition: transform .18s ease; }
details[open] > summary > .tm-wm-expand { transform: rotate(45deg); }
.tm-weight-page summary:focus-visible, .tm-weight-page a:focus-visible { outline: 3px solid #648064; outline-offset: 5px; }
.tm-wm-scenario-body { padding-bottom: 27px; }
.tm-wm-scenario-body blockquote { margin: 0 0 21px; color: #6e7966; font-family: Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.4; }
.tm-wm-scenario-body h3 { font-size: 25px; line-height: 1.2; font-weight: 450; letter-spacing: -.035em; margin-bottom: 13px; }
.tm-wm-scenario-body p { font-size: 13px; line-height: 1.8; color: var(--tm-muted); }
.tm-wm-shared-context { margin-top: 22px; padding: 17px 19px; background: #e5ebe1; border-inline-start: 2px solid #799075; }
.tm-wm-shared-context strong { font-size: 11px; line-height: 1.5; font-weight: 600; display: block; margin-bottom: 5px; }
.tm-wm-shared-context p { font-size: 12px; }
.tm-wm-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.tm-wm-comparison > article { border-top: 1px solid var(--tm-line); padding: 27px 0 18px; }
.tm-wm-comparison > article + article { padding-inline-start: 30px; border-inline-start: 1px solid var(--tm-line); }
.tm-wm-comparison .tm-kicker { margin-bottom: 15px; color: #677a63; }
.tm-wm-comparison h3 { font-size: 32px; font-weight: 400; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 17px; }
.tm-wm-comparison p:not(.tm-kicker) { font-size: 14px; line-height: 1.75; color: var(--tm-muted); max-width: 490px; }
.tm-wm-comparison .text-link { font-size: 12px; margin-top: 22px; }
.tm-wm-advanced { margin-top: 30px; padding: clamp(24px, 3.5vw, 45px); background: var(--wm-surface); }
.tm-wm-advanced > .tm-wm-example-label { color: #52694f; margin-bottom: 22px; }
.tm-wm-advanced > h3 { font-size: clamp(29px, 3vw, 42px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 18px; }
.tm-wm-advanced > h3 em { color: #52694f; }
.tm-wm-advanced p { font-size: 13px; line-height: 1.75; color: var(--tm-muted); max-width: 860px; }
.tm-wm-future { border-block: 1px solid var(--tm-line); margin-top: 20px; }
.tm-wm-future > summary { font-size: 14px; }
.tm-wm-future > div { padding: 8px 0 27px; }
.tm-wm-future .tm-wm-example-label { color: var(--tm-muted); margin-bottom: 18px; }
.tm-wm-future h3 { font-size: 27px; font-weight: 450; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 13px; }
.tm-wm-future p:not(.tm-wm-example-label) { font-size: 13px; line-height: 1.75; max-width: 860px; color: var(--tm-muted); }
.tm-wm-candidates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 25px; }
.tm-wm-candidates article { padding-top: 17px; border-top: 1px solid var(--tm-line); }
.tm-wm-candidates h4 { font-size: 18px; line-height: 1.3; font-weight: 500; margin-bottom: 9px; }
.tm-wm-candidates p { font-size: 12px !important; }
.tm-wm-journey { display: grid; grid-template-columns: 1fr 1fr; background: #193b33; color: #f3f2ec; }
.tm-wm-journey-image { min-height: 650px; position: relative; overflow: hidden; }
.tm-wm-journey-image > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 50% center; }
.tm-wm-journey-image > span { position: absolute; bottom: 27px; inset-inline: 27px; padding: 16px 20px; background: #f3f2eced; color: #244538; font-size: 13px; }
.tm-wm-journey-copy { padding: 60px clamp(25px, 4.8vw, 70px); }
.tm-wm-journey-copy .tm-section-title { margin: 19px 0 27px; }
.tm-wm-journey-copy .tm-section-title em { color: #bdd0b2; }
.tm-wm-journey-copy .text-link { color: #f3f2ec; font-size: 12px; margin-top: 21px; }
.tm-wm-retest-note { font-size: 11px; line-height: 1.75; color: #c0d0c4; margin-top: 22px; }
.tm-wm-platform { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.tm-wm-platform-copy > .tm-section-title { margin: 20px 0 25px; }
.tm-wm-platform-copy > p:not(.tm-kicker):not(.tm-note) { max-width: 490px; font-size: 15px; line-height: 1.75; color: var(--tm-muted); }
.tm-wm-platform-copy blockquote { font-family: Georgia, serif; font-style: italic; font-size: 23px; line-height: 1.4; color: #657e62; margin: 27px 0; max-width: 465px; padding-inline-start: 20px; border-inline-start: 2px solid var(--tm-line); }
.tm-wm-platform-copy > .text-link { font-size: 12px; }
.tm-wm-platform-copy > .tm-note { margin-top: 24px; max-width: 460px; }
.tm-wm-platform-image { align-self: stretch; min-height: 490px; border-radius: 3px 90px 3px 3px; position: relative; overflow: hidden; background: #dce5da; }
.tm-wm-platform-image > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center; }
[dir="rtl"] .tm-wm-hero-art { border-radius: 3px 125px 3px 3px; }
[dir="rtl"] .tm-wm-platform-image { border-radius: 90px 3px 3px 3px; }
[dir="rtl"] .tm-weight-page .tm-title, [dir="rtl"] .tm-weight-page .tm-section-title, [dir="rtl"] .tm-wm-observation h3, [dir="rtl"] .tm-wm-dimension-grid h3 { letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .tm-wm-scenario-body blockquote, [dir="rtl"] .tm-wm-platform-copy blockquote, [dir="rtl"] .tm-wm-question { font-family: inherit; font-style: normal; }
[dir="rtl"] .tm-wm-advanced h3, [dir="rtl"] .tm-wm-candidates h4 { letter-spacing: 0; line-height: 1.5; }
[dir="rtl"] .tm-wm-roadmap-grid h3, [dir="rtl"] .tm-wm-body-grid h3 { letter-spacing: 0; line-height: 1.5; }
@media (min-width: 1600px) { .tm-wm-hero-art { min-height: 640px; } }
@media (max-width: 1050px) {
  .tm-weight-page .tm-wm-hero { gap: 30px; }
  .tm-weight-page .tm-wm-hero .tm-title { font-size: 58px; }
  .tm-wm-hero-art { min-height: 535px; }
  .tm-wm-dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .tm-wm-number { margin-bottom: 22px; }
  .tm-wm-candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-wm-body-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-wm-platform { gap: 35px; }
}
@media (max-width: 760px) {
  .tm-weight-page .tm-wm-hero { grid-template-columns: 1fr; padding-top: 128px; padding-bottom: 28px; }
  .tm-weight-page .tm-wm-hero .tm-title { font-size: clamp(47px, 10.3vw, 72px); }
  .tm-weight-page .tm-wm-hero .tm-hero-copy > p:not(.tm-kicker):not(.tm-note) { max-width: 580px; font-size: 15px; }
  .tm-wm-hero-art { min-height: 420px; border-start-start-radius: 85px; }
  .tm-wm-value-strip { flex-wrap: wrap; justify-content: flex-start; gap: 13px 23px; font-size: 11px; }
  .tm-wm-demo, .tm-wm-comparison, .tm-wm-journey, .tm-wm-platform { grid-template-columns: 1fr; }
  .tm-wm-roadmap-grid { grid-template-columns: 1fr; }
  .tm-wm-observation { padding: 30px; }
  .tm-wm-observation h3 { font-size: 40px; }
  .tm-wm-comparison > article + article { padding-inline-start: 0; border-inline-start: 0; }
  .tm-wm-comparison { gap: 15px; }
  .tm-wm-journey-image { min-height: 390px; }
  .tm-wm-journey-copy { padding: 42px var(--margin); }
  .tm-wm-platform { gap: 30px; }
  .tm-wm-platform-image { min-height: 420px; }
  .tm-wm-platform-copy > .tm-section-title br:nth-child(2) { display: none; }
}
@media (max-width: 420px) {
  .tm-weight-page .tm-wm-hero .tm-title { font-size: 44px; }
  .tm-weight-page .tm-wm-hero .button { width: 100%; justify-content: space-between; font-size: 11px; gap: 10px; }
  .tm-wm-hero-art { min-height: 345px; }
  .tm-wm-image-caption { inset-inline: 15px; bottom: 15px; padding: 19px; }
  .tm-wm-image-caption > strong { font-size: 21px; }
  .tm-wm-dimension-grid { gap: 27px 18px; }
  .tm-wm-dimension-grid h3 { font-size: 23px; }
  .tm-wm-dimension-grid p { font-size: 12px; }
  .tm-wm-dimension-grid .tm-wm-question { font-size: 16px; }
  .tm-wm-observation, .tm-wm-scenarios { padding: 25px 22px; }
  .tm-wm-observation h3 { font-size: 36px; }
  .tm-wm-scenarios summary { font-size: 16px; }
  .tm-wm-candidates { grid-template-columns: 1fr; gap: 18px; }
  .tm-wm-journey-image { min-height: 330px; }
  .tm-wm-platform-image { min-height: 360px; }
  .tm-weight-page .tm-closing .button { width: 100%; font-size: 11px; justify-content: space-between; gap: 10px; }
}
@media (max-width: 540px) {
  /* Keep the approved twin and the personal promise together on a phone. */
  .tm-weight-page .tm-wm-hero { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 14px; padding-top: 112px; }
  .tm-weight-page .tm-wm-hero .tm-hero-copy { display: contents; }
  .tm-weight-page .tm-wm-hero .tm-hero-copy > .tm-kicker { grid-column: 1 / -1; margin: 0 0 2px; }
  .tm-weight-page .tm-wm-hero .tm-title { grid-column: 1; grid-row: 2; align-self: center; margin: 0; font-size: clamp(30px, 8.5vw, 44px); line-height: 1.08; }
  .tm-weight-page .tm-wm-hero .tm-title em { display: block; }
  .tm-weight-page .tm-wm-hero .tm-hero-copy > p:not(.tm-kicker), .tm-weight-page .tm-wm-hero .tm-actions { grid-column: 1 / -1; }
  .tm-weight-page .tm-wm-hero .tm-hero-copy > p:not(.tm-kicker):not(.tm-note) { font-size: 14px; line-height: 1.6; margin: 0; }
  .tm-weight-page .tm-wm-hero .tm-hero-copy > .tm-note { margin: 0; font-size: 11px; line-height: 1.6; }
  .tm-weight-page .tm-wm-hero .tm-actions { display: grid; grid-template-columns: 1fr; gap: 5px; margin-top: 4px; }
  .tm-weight-page .tm-wm-hero .button { min-height: 48px; width: 100%; font-size: 12px; }
  .tm-weight-page .tm-wm-hero .text-link { min-height: 44px; justify-self: start; align-items: center; }
  .tm-weight-page .tm-wm-hero-art { grid-column: 2; grid-row: 2; min-height: clamp(190px, 53vw, 260px); border-radius: 45px 3px 3px 3px; }
  .tm-weight-page .tm-wm-hero-art > img { object-fit: contain; object-position: center; }
  .tm-weight-page .tm-wm-image-caption { display: none; }
  [dir="rtl"] .tm-weight-page .tm-wm-hero .tm-title { line-height: 1.4; }
  [dir="rtl"] .tm-weight-page .tm-wm-hero-art { border-radius: 3px 45px 3px 3px; }
  .tm-wm-dimension-grid, .tm-wm-body-grid { grid-template-columns: 1fr; }
  .tm-wm-dimension-grid > article { display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
  .tm-wm-dimension-grid .tm-wm-number { grid-row: 1 / 5; margin: 4px 0 0; }
  .tm-wm-dimension-grid h3, .tm-wm-dimension-grid p, .tm-wm-dimension-grid .tm-wm-scope { grid-column: 2; }
  .tm-wm-dimension-grid .tm-wm-question { padding-top: 15px; }
}
@media (prefers-reduced-motion: reduce) { .tm-wm-expand { transition: none; } }
