/* Approved hosting composition; styles stay scoped to this component. */
.hp-proposal {
  container: hp-hosting / inline-size;
  width: 100%;
  max-width: 720px;
  margin: 0;
  color: #173245;
  font-family: "Segoe UI", Arial, sans-serif;
}
.hp-heading { margin-bottom: 22px; }
.hp-kicker {
  display: block;
  margin-bottom: 10px;
  color: #075aa6;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .13em;
}
.hp-title {
  max-width: 540px;
  margin: 0;
  color: #173245;
  font-size: clamp(25px, 4.7cqi, 32px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hp-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 28px 30px;
  border: 1px solid #1e4c69;
  border-radius: 18px;
  background: radial-gradient(ellipse at 8% 0%, #236687 0%, transparent 57%), radial-gradient(ellipse at 100% 100%, #195e8c 0%, transparent 62%), #112e42;
}
.hp-stage::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -155px;
  width: 370px;
  height: 370px;
  border: 1px solid #b5d8ed24;
  border-radius: 50%;
  box-shadow: 0 0 0 56px #a7d5ef08, 0 0 0 112px #a7d5ef05;
  content: "";
}
.hp-browser {
  position: relative;
  z-index: 1;
  width: 91%;
  overflow: hidden;
  border: 1px solid #ffffff82;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px #071a2a45;
}
.hp-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 35px;
  padding: 8px 13px;
  border-bottom: 1px solid #e0e7ed;
  background: #f6f8fa;
}
.hp-window-dots { display: flex; flex: none; align-items: center; gap: 4px; }
.hp-window-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #b5c7d4; }
.hp-browser-label { color: #536674; font-size: 10px; line-height: 1.4; font-weight: 500; }
.hp-web-capture { display: block; width: 100%; height: auto; }
.hp-mail {
  position: relative;
  z-index: 2;
  width: 84%;
  margin-top: clamp(-170px, -24cqi, -100px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid #bcd2e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px #06182950, 0 2px 8px #0a254329;
}
.hp-mail-header { padding: 13px 16px 14px; border-bottom: 1px solid #dce7ef; background: #f5f9fc; }
.hp-mail-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #536674; font-size: 10px; line-height: 1.5; font-weight: 600; }
.hp-demo-label { padding: 2px 7px; border: 1px solid #b6d4e7; border-radius: 20px; color: #075aa6; background: #e6f2fb; font-size: 10px; font-weight: 700; }
.hp-mail-account { display: flex; align-items: center; gap: 9px; margin-top: 9px; color: #173245; font-size: 14px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.hp-mail-symbol { display: block; flex: none; width: 22px; height: 22px; fill: none; stroke: #075aa6; stroke-width: 1.7; }
.hp-mail-layout { display: grid; grid-template-columns: 70px minmax(0, 1fr); }
.hp-mail-sidebar { display: flex; flex-direction: column; gap: 7px; padding: 14px 7px; border-right: 1px solid #e3ebf1; background: #f7fafc; }
.hp-mail-sidebar span { padding: 5px 6px; color: #607485; font-size: 10px; line-height: 1.4; }
.hp-mail-sidebar .hp-folder-current { border-radius: 4px; color: #075aa6; background: #e0eef8; font-weight: 650; }
.hp-mail-content { min-width: 0; }
.hp-mail-heading { margin: 0; padding: 13px 14px 10px; border-bottom: 1px solid #e3ebf1; color: #173245; font-size: 13px; line-height: 1.4; font-weight: 700; }
.hp-message { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #e7edf2; }
.hp-message-dot { flex: none; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: #2582bd; }
.hp-message-copy { min-width: 0; }
.hp-message-sender { margin: 0 0 3px; color: #536674; font-size: 11px; line-height: 1.4; }
.hp-message-subject { margin: 0 0 3px; color: #173245; font-size: 13px; line-height: 1.4; font-weight: 650; }
.hp-message-preview { margin: 0; color: #607485; font-size: 11px; line-height: 1.45; }
.hp-mail-footnote { margin: 0; padding: 9px 14px; color: #607485; font-size: 10px; line-height: 1.4; }
.hp-proposal > figcaption { margin-top: 16px; color: #536674; font-size: 12px; line-height: 1.65; }

/* Figure width, rather than viewport width, governs comparison-column layout. */
@container hp-hosting (max-width: 449px) {
  .hp-heading { margin-bottom: 18px; }
  .hp-stage { padding: 18px 16px; border-radius: 14px; }
  .hp-browser { width: 100%; }
  .hp-browser-bar { gap: 8px; padding-inline: 10px; }
  .hp-mail { width: 100%; margin-top: 18px; }
  .hp-mail-layout { grid-template-columns: minmax(0, 1fr); }
  .hp-mail-sidebar { display: none; }
  .hp-mail-account { font-size: 13px; }
  .hp-mail-heading { font-size: 14px; }
  .hp-message-sender, .hp-message-preview { font-size: 11px; }
  .hp-message-subject { font-size: 13px; }
  .hp-mail-footnote { font-size: 10px; }
}
@media print {
  .hp-stage { background: #eaf2f8; border-color: #bed0df; }
  .hp-browser, .hp-mail { box-shadow: none; }
  .hp-proposal { break-inside: avoid; }
}

/* Cards keep the two recognizable screens without shrinking the full figure. */
.hp-thumbnail {
  display: block;
  position: relative;
  container: hp-card / inline-size;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #173245;
  background: radial-gradient(ellipse at 8% 0%, #236687 0%, transparent 57%), radial-gradient(ellipse at 100% 100%, #195e8c 0%, transparent 62%), #112e42;
}
.hp-thumb-web { position: absolute; top: 8%; left: 5%; width: 73%; overflow: hidden; border: 1px solid #ffffff82; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px #071a2a45; }
.hp-thumb-bar { display: flex; align-items: center; gap: 7px; padding: 6px 8px; color: #536674; background: #f6f8fa; font-size: clamp(8px, 1.9cqi, 10px); line-height: 1.3; }
.hp-thumb-web > img { display: block; width: 100%; height: auto; }
.hp-thumb-mail { position: absolute; bottom: 8%; right: 5%; width: 70%; overflow: hidden; border: 1px solid #bcd2e2; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px #06182950; }
.hp-thumb-topline { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 7px 10px 0; color: #536674; background: #f5f9fc; font-size: clamp(9px, 2cqi, 11px); line-height: 1.4; }
.hp-thumb-demo { padding: 1px 5px; color: #075aa6; background: #e6f2fb; border-radius: 12px; font-size: 9px; font-weight: 700; }
.hp-thumb-account { display: flex; align-items: center; gap: 6px; padding: 6px 10px 9px; color: #173245; background: #f5f9fc; font-size: clamp(10px, 2.5cqi, 14px); line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.hp-thumb-account .hp-mail-symbol { width: 17px; height: 17px; }
.hp-thumb-message { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-top: 1px solid #dce7ef; line-height: 1.4; }
.hp-thumb-message > :first-child { font-size: clamp(11px, 2.5cqi, 14px); font-weight: 650; }
.hp-thumb-message > :last-child { color: #607485; font-size: clamp(9px, 2cqi, 11px); }
.service-hero-grid > .hp-proposal { justify-self: center; }
