/* ==========================================================================
   HostRyze — HR-12 /managed-rental-distribution (24/7 Management + OTA Expansion)
   Page-only rules, loaded after css/styles.css → css/pages.css → css/solutions.css.
   Only what no other offer page needs: the hero scope stack, the richer two-layer
   diagram (tiles with status tags, connector labels, inventory strip), the two-phase
   "how it works", the three-column scope grid, the systems notes, the report on the
   green surface and a few spacing nudges. Two colours only; every rule draws
   var(--fg) on var(--bg) or rgba(var(--fgc), α).
   ========================================================================== */

/* ---------- Hero: the two scopes as a small stacked strip under the ticks ----------
   <ol class="hero-stack"><li class="hero-stack__ops"><b>…</b><span>…</span></li> ×3</ol>            */
.phero--mrd .ticks li { max-width: 100%; }
.hero-stack { display: grid; gap: 6px; margin-top: clamp(22px, 3.6vh, 32px); max-width: 34em; }
.hero-stack li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 10px 14px; border: 1.5px solid rgba(var(--fgc), 0.45); border-radius: var(--r); font-size: 0.9rem; }
.hero-stack b { font-weight: 800; letter-spacing: -0.015em; }
.hero-stack span { color: rgba(var(--fgc), 0.72); font-weight: 600; }
.hero-stack__ops { background: rgba(var(--fgc), 0.1); border-color: var(--fg); }
.hero-stack__dist { border-style: dashed; margin-inline: 14px; }
.hero-stack__base { background: var(--fg); color: var(--bg); border-color: var(--fg); margin-top: 4px; }
.hero-stack__base span { color: inherit; opacity: 0.8; }

/* ---------- Problem (section 2) ---------- */
.problem__close { margin-top: clamp(20px, 3.4vh, 30px); font-size: 1rem; line-height: 1.5; color: rgba(var(--fgc), 0.78); max-width: 44ch; }

/* ---------- Outcome (section 3): check list beside the versus block ---------- */
.outcome__list { margin-top: clamp(20px, 3vh, 28px); max-width: 40em; border-bottom: 1px solid rgba(var(--fgc), 0.2); }
.outcome__list li { display: flex; align-items: baseline; gap: 12px; font-weight: 600; }
.outcome__list li::before { content: ""; flex: none; width: 7px; height: 13px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); margin-right: 3px; }
/* full sentences in the versus block: one size down from the home page */
.versus--sent p { font-size: clamp(1.7rem, 3.2vw, 3rem); }

/* ---------- The offer (section 4): two layers over one inventory ----------
   <figure class="layers-wrap">
     <span class="illus illus--float">Illustrative example</span>
     <div class="layers" role="img" aria-label="…">
       <div class="layer green layer--ops"><div class="layer__head"><p class="layer__k">…</p><span class="tag …">…</span></div>
         <ul class="layer__tiles"><li><b>Guests</b><small>…</small><span class="tag …">Covered</span></li> ×6</ul>
         <p class="layer__foot">…</p></div>
       <div class="layer layer--alt layer--dist">… ×4 tiles …</div>
       <div class="layers__links"><span class="layers__link"><i></i>… <b>operates</b> …</span> ×2</div>
       <div class="layers__base layers__inv green"><b>Same property inventory</b><ul><li>…</li> ×3</ul></div>
     </div>
     <figcaption class="layers__cap">…</figcaption>
   </figure>                                                                                  */
.layers-wrap { position: relative; padding-top: 34px; }
.layers-wrap > .illus--float { top: 0; right: 0; background: transparent; }
/* the ops band is a real .green surface, so tags and text inside use swapped tokens */
.layer--ops { border-color: var(--bg); }
.layer__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.layer__head .layer__k { margin-bottom: 0; color: rgba(var(--fgc), 0.75); }
.layer__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.layer--dist .layer__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layer__tiles li { display: grid; align-content: start; gap: 8px; padding: 14px; border: 1.5px solid rgba(var(--fgc), 0.3); border-radius: var(--r); background: rgba(var(--fgc), 0.06); }
.layer__tiles b { font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.layer__tiles small { font-size: 0.82rem; line-height: 1.4; color: rgba(var(--fgc), 0.75); }
.layer__tiles .tag { justify-self: start; margin-top: auto; }
.layer__foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(var(--fgc), 0.25); font-size: 0.92rem; font-weight: 600; line-height: 1.45; color: rgba(var(--fgc), 0.82); }
/* connector labels between the bands and the inventory strip */
.layers__links { display: flex; justify-content: space-between; gap: 12px 24px; padding: 4px clamp(18px, 2.2vw, 28px) 0; }
.layers__link { display: flex; flex-direction: column; align-items: flex-start; font-size: 0.8rem; font-weight: 600; line-height: 1.3; color: rgba(var(--fgc), 0.7); }
.layers__link--r { align-items: flex-end; text-align: right; }
.layers__link i { display: block; width: 1.5px; height: 22px; margin: 0 8px 6px; background: rgba(var(--fgc), 0.45); }
.layers__link b { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg); }
/* the inventory strip is a .green surface too: override the base fill so the swapped tokens draw it */
.layers__inv { background: var(--bg); color: var(--fg); margin-top: 0; padding: 16px clamp(18px, 2.2vw, 28px) 18px; align-items: flex-start; }
.layers__inv::before { display: none; }
.layers__inv > b { flex: 0 0 100%; }
.layers__inv ul { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.layers__inv li { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid rgba(var(--fgc), 0.4); border-radius: var(--r); font-size: 0.9rem; opacity: 1; }
.layers__prop { font-weight: 800; letter-spacing: -0.01em; }
.layers__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.layers__cap { margin-top: 12px; font-size: 0.88rem; line-height: 1.45; color: rgba(var(--fgc), 0.66); text-align: center; }

/* ---------- Scope statement under the diagram: three ruled columns, the third dimmed with × marks ---------- */
.deliv--scope { margin-top: var(--stack); }
.deliv--scope .list li b { color: var(--fg); }
.deliv--scope .is-out h3, .deliv--scope .is-out .label { color: rgba(var(--fgc), 0.72); }
.deliv--scope .is-out .list li { color: rgba(var(--fgc), 0.75); }
.deliv--scope .is-out .list li::before { content: "×"; display: inline-block; width: 1.1em; font-weight: 800; }
/* give-first asset line + button */
.offer__give { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px clamp(24px, 4vw, 56px); align-items: center; margin-top: var(--stack); padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid rgba(var(--fgc), 0.2); border-bottom: 1px solid rgba(var(--fgc), 0.2); }
.offer__give p { font-size: 0.98rem; line-height: 1.5; color: rgba(var(--fgc), 0.78); max-width: 72ch; }
.offer__give b { color: var(--fg); }
.offer__give .btn { white-space: nowrap; }
.offer__give + .pricing-note { margin-top: var(--stack); }

/* ---------- How it works (section 5): two phases, a rail label beside each steps grid ---------- */
.phases { display: grid; gap: clamp(32px, 5vh, 48px); }
.phase { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); padding-top: 22px; border-top: 1.5px solid var(--fg); }
.phase__k h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 10px; }
.phase__k p { color: rgba(var(--fgc), 0.78); max-width: 26ch; line-height: 1.5; }
.phase .step { border-top-color: rgba(var(--fgc), 0.35); }
.phase .step__n { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-bottom: clamp(14px, 2.4vh, 22px); }
.phase .step p { max-width: 30ch; }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--2 .step p { max-width: 42ch; }
.phases + .closing { max-width: 46em; }

/* ---------- Deliverables (section 6): client responsibilities as chips under the cards ---------- */
.keep { margin-top: var(--stack); padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid rgba(var(--fgc), 0.2); }
.keep__k { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.keep .metrics li { font-size: 0.92rem; padding: 8px 14px; }

/* ---------- Transformation (section 7): wide photo above the before / after grid ---------- */
.compare__shot { margin-bottom: var(--stack); }
.compare__shot img { aspect-ratio: 21 / 9; object-position: center; }

/* ---------- Systems (section 8): three ruled notes, then the logo wall ---------- */
.sysnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sysnotes article { padding-top: 16px; border-top: 1.5px solid var(--fg); }
.sysnotes .label { margin-bottom: 10px; }
.sysnotes p:not(.label) { font-size: 0.98rem; line-height: 1.5; color: rgba(var(--fgc), 0.82); }
.pms--mrd { margin-top: var(--stack); }
.pms-fine { margin-top: 14px; font-size: 0.88rem; line-height: 1.45; color: rgba(var(--fgc), 0.68); }

/* ---------- Reporting (section 9): .report on the green surface with the illus marker in its head ---------- */
.report__head { flex-wrap: wrap; align-items: center; }
.report__t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.report__head .illus { font-size: 0.7rem; opacity: 0.9; }
.replist { margin-top: clamp(20px, 3vh, 28px); }
.replist li b { color: var(--fg); }
.reportsec .closing { margin-top: clamp(20px, 3vh, 28px); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }

/* ---------- Proof (section 10): three editable slots ---------- */
.proofs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Conversion (section 12): gap-map offer and contact row under the headline ---------- */
.cta__more { margin-top: clamp(22px, 3.6vh, 32px); padding-top: clamp(16px, 2.6vh, 22px); border-top: 1px solid rgba(var(--fgc), 0.2); }
.cta__more p { font-size: 0.98rem; line-height: 1.5; color: rgba(var(--fgc), 0.78); max-width: 60ch; margin-bottom: 14px; }
.cta__links { margin-top: clamp(22px, 3.6vh, 32px); padding-top: clamp(16px, 2.6vh, 22px); border-top: 1px solid rgba(var(--fgc), 0.2); }
.cta__links p { font-weight: 600; margin-bottom: 10px; }
.checks--one .checks__grid { grid-template-columns: 1fr; }

/* ---------- Sticky CTA: the long label may wrap on narrow phones ---------- */
.sticky-cta .btn { white-space: normal; line-height: 1.15; text-align: center; padding-block: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .layer__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layer--dist .layer__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .phase .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 900px) {
  .phase { grid-template-columns: 1fr; }
  .phase__k p { max-width: 60ch; }
  .sysnotes { grid-template-columns: 1fr; gap: 24px; }
  .proofs--3 { grid-template-columns: 1fr; }
  .offer__give { grid-template-columns: 1fr; }
  .offer__give .btn { justify-self: start; white-space: normal; }
  .layers__inv ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-stack { max-width: none; }
  .hero-stack__dist { margin-inline: 8px; }
  .versus--sent p { font-size: 1.5rem; }
  .layers-wrap { padding-top: 30px; }
  .layer__tiles, .layer--dist .layer__tiles { grid-template-columns: 1fr; gap: 6px; }
  .layer__tiles li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name tag" "desc tag"; align-items: center; gap: 4px 12px; padding: 10px 12px; }
  .layer__tiles b { grid-area: name; font-size: 0.94rem; }
  .layer__tiles small { grid-area: desc; font-size: 0.78rem; }
  .layer__tiles .tag { grid-area: tag; margin-top: 0; }
  .layers__links { padding-inline: 12px; }
  .layers__link { font-size: 0.72rem; }
  .layers__inv { padding: 14px 14px 16px; }
  .layers__inv li { padding: 10px 12px; }
  .layers__cap { text-align: left; }
  .phase .steps, .steps--2 { grid-template-columns: 1fr; }
  .offer__give .btn { width: 100%; }
  .keep .metrics li { font-size: 0.86rem; padding: 7px 12px; }
  .compare__shot img { aspect-ratio: 16 / 9; }
}
